Lines Matching refs:setsockopt
138 if (setsockopt(sock, IPPROTO_IP, IP_OPTIONS, &new_options, in test_ip_options()
182 if (setsockopt(sock, IPPROTO_IP, IP_OPTIONS, NULL, 0) < 0) in test_ip_options()
236 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl()
266 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl()
317 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl()
345 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl()
424 if (setsockopt(sock, IPPROTO_IP, option, val, sizeof(val[0])) < 0) in test_ip_uchar()
455 if (setsockopt(sock, IPPROTO_IP, option, val, sizeof(val[0])) < 0) in test_ip_uchar()
481 if (setsockopt(sock, IPPROTO_IP, option, val, sizeof(val[0])) < 0) { in test_ip_uchar()
567 if (setsockopt(sock, IPPROTO_IP, option, &newvalue, sizeof(newvalue)) in test_ip_boolean()
605 if (setsockopt(sock, IPPROTO_IP, option, &newvalue, sizeof(newvalue)) in test_ip_boolean()
686 if (setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in test_ip_multicast_membership()
699 if (setsockopt(sock, IPPROTO_IP, IP_DROP_MEMBERSHIP, &mreq, in test_ip_multicast_membership()