Searched refs:sockopt_val (Results 1 – 1 of 1) sorted by relevance
404 int sockopt_val = 0; in dgram_ctrl() local466 sockopt_val = IP_PMTUDISC_DO; in dgram_ctrl()468 &sockopt_val, sizeof(sockopt_val))) < 0) in dgram_ctrl()473 sockopt_val = IPV6_PMTUDISC_DO; in dgram_ctrl()475 &sockopt_val, sizeof(sockopt_val))) < 0) in dgram_ctrl()495 sockopt_len = sizeof(sockopt_val); in dgram_ctrl()499 getsockopt(b->num, IPPROTO_IP, IP_MTU, (void *)&sockopt_val, in dgram_ctrl()500 &sockopt_len)) < 0 || sockopt_val < 0) { in dgram_ctrl()507 data->mtu = sockopt_val - 8 - 20; in dgram_ctrl()515 (void *)&sockopt_val, &sockopt_len)) < 0 in dgram_ctrl()[all …]