Lines Matching refs:getsockopt
122 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0) in test_ip_options()
152 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0) in test_ip_options()
192 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0) in test_ip_options()
227 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) == 0) in test_ip_hdrincl()
257 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) == 0) in test_ip_hdrincl()
301 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl()
327 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl()
355 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl()
402 if (getsockopt(sock, IPPROTO_IP, option, val, &len) < 0) in test_ip_uchar()
434 if (getsockopt(sock, IPPROTO_IP, option, val, &len) < 0) in test_ip_uchar()
495 if (getsockopt(sock, IPPROTO_IP, option, val, &len) < 0) in test_ip_uchar()
548 if (getsockopt(sock, IPPROTO_IP, option, val, &len) < 0) in test_ip_boolean()
579 if (getsockopt(sock, IPPROTO_IP, option, val, &len) < 0) in test_ip_boolean()
616 if (getsockopt(sock, IPPROTO_IP, option, val, &len) < 0) in test_ip_boolean()
649 if (getsockopt(sock, SOL_SOCKET, SO_TYPE, &sotype, &sotypelen) < 0) in test_ip_multicast_membership()