Searched refs:sockopt_val (Results 1 – 1 of 1) sorted by relevance
396 int sockopt_val = 0; in dgram_ctrl() local458 sockopt_val = IP_PMTUDISC_DO; in dgram_ctrl()460 &sockopt_val, sizeof(sockopt_val))) < 0) in dgram_ctrl()465 sockopt_val = IPV6_PMTUDISC_DO; in dgram_ctrl()467 &sockopt_val, sizeof(sockopt_val))) < 0) in dgram_ctrl()487 sockopt_len = sizeof(sockopt_val); in dgram_ctrl()491 getsockopt(b->num, IPPROTO_IP, IP_MTU, (void *)&sockopt_val, in dgram_ctrl()492 &sockopt_len)) < 0 || sockopt_val < 0) { in dgram_ctrl()499 data->mtu = sockopt_val - 8 - 20; in dgram_ctrl()507 (void *)&sockopt_val, &sockopt_len)) < 0 in dgram_ctrl()[all …]