Home
last modified time | relevance | path

Searched refs:PF_INET6 (Results 1 – 25 of 69) sorted by relevance

123

/external/libevent/
Dipv6-internal.h75 #ifndef PF_INET6
76 #define PF_INET6 AF_INET6 macro
Devutil.c973 hints->ai_family != PF_INET6) in evutil_getaddrinfo_common_()
1010 if (hints->ai_family != PF_INET6) { /* INET or UNSPEC */ in evutil_getaddrinfo_common_()
1036 if (hints->ai_family == PF_INET6 || hints->ai_family == PF_UNSPEC) { in evutil_getaddrinfo_common_()
1161 } else if (ent->h_addrtype == PF_INET6) { in addrinfo_from_hostent()
1213 hints->ai_family = PF_INET6; in evutil_adjust_hints_for_addrconfig_()
1530 if (ent->h_addrtype != PF_INET && ent->h_addrtype != PF_INET6) in evutil_getaddrinfo()
/external/curl/tests/server/
Dresolve.c113 curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0); in main()
128 hints.ai_family = use_ipv6 ? PF_INET6 : PF_INET; in main()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg02.c69 sdr = SAFE_SOCKET(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_IP); in verify_recvmsg()
73 sdw = SAFE_SOCKET(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP); in verify_recvmsg()
/external/curl/lib/
Dhostip6.c106 curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0); in Curl_ipv6works()
186 pf = PF_INET6; in Curl_getaddrinfo()
Dasyn-ares.c535 family = PF_INET6; in Curl_resolver_getaddrinfo()
568 PF_INET6, query_completed_cb, conn); in Curl_resolver_getaddrinfo()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc1174 _remoteRTPAddr.sin_family = PF_INET6; in BuildRemoteRTPAddr()
1176 _remoteRTPAddr._sockaddr_storage.sin_family = PF_INET6; in BuildRemoteRTPAddr()
1203 _remoteRTCPAddr.sin_family = PF_INET6; in BuildRemoteRTCPAddr()
1205 _remoteRTCPAddr._sockaddr_storage.sin_family = PF_INET6; in BuildRemoteRTCPAddr()
1241 _localRTPAddr.sin_family = PF_INET6; in BindRTPSendSocket()
1243 _localRTPAddr._sockaddr_storage.sin_family = PF_INET6; in BindRTPSendSocket()
1293 _localRTCPAddr.sin_family = PF_INET6; in BindRTCPSendSocket()
1295 _localRTCPAddr._sockaddr_storage.sin_family = PF_INET6; in BindRTCPSendSocket()
1365 stLclName.sin_family = PF_INET6; in BindLocalRTPSocket()
1367 stLclName._sockaddr_storage.sin_family = PF_INET6; in BindLocalRTPSocket()
[all …]
/external/ipsec-tools/src/libipsec/
Dtest-policy.c138 || test1sub2(buf, PF_INET6) != 0) {
165 case PF_INET6:
/external/ltp/testcases/network/stress/ns-tools/
Dns-udpserver.c216 family = PF_INET6; /* IPv6 */ in main()
302 if (res->ai_family == PF_INET6) { in main()
Dns-mcast_receiver.c179 family = PF_INET6; /* IPv6 */ in parse_options()
312 case PF_INET6: in create_mcast_socket()
Dns-udpsender.c177 udp_p->family = PF_INET6; /* IPv6 */ in parse_options()
343 case PF_INET6: /* IPv6 */ in create_udp_datagram()
Dns-mcast_join.c184 family = PF_INET6; /* IPv6 */ in parse_options()
356 case PF_INET6: in join_group()
Dns-tcpserver.c236 if (res->ai_family == PF_INET6) { in create_listen_socket()
553 server.family = PF_INET6; /* IPv6 */ in main()
Dns-tcpclient.c174 family = PF_INET6; /* IPv6 */ in main()
/external/ltp/testcases/network/lib6/
Dasapi_02.c191 sall = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, IPPROTO_ICMPV6); in icmp6_ft()
200 sf = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, IPPROTO_ICMPV6); in icmp6_ft()
Dasapi_03.c255 sr = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, NH_TEST); in so_test()
288 st = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, NH_TEST); in so_test()
Dasapi_01.c243 sd = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, NH_TEST); in client()
385 sd = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, NH_TEST); in csum_test()
/external/ltp/testcases/network/tcp_cmds/include/
Dnetdefs.h41 #define PFI PF_INET6
/external/python/cpython2/Lib/plat-atheos/
DIN.py395 PF_INET6 = 10 variable
422 AF_INET6 = PF_INET6
711 PF_INET6 = 10 variable
738 AF_INET6 = PF_INET6
/external/libevent/test/
Dregress_dns.c1455 a = ai_find_by_family(local_outcome.ai, PF_INET6); in test_getaddrinfo_async()
1476 a = ai_find_by_family(local_outcome.ai, PF_INET6); in test_getaddrinfo_async()
1497 a = ai_find_by_family(local_outcome.ai, PF_INET6); in test_getaddrinfo_async()
1506 hints.ai_family = PF_INET6; in test_getaddrinfo_async()
1558 hints.ai_family = PF_INET6; in test_getaddrinfo_async()
1636 a = ai_find_by_family(a_out[0].ai, PF_INET6); in test_getaddrinfo_async()
1693 tt_assert(ai_find_by_family(a_out[9].ai, PF_INET6)); in test_getaddrinfo_async()
1694 a = ai_find_by_family(a_out[9].ai, PF_INET6); in test_getaddrinfo_async()
Dregress_util.c976 hints.ai_family = PF_INET6; in test_evutil_getaddrinfo()
986 hints.ai_family = PF_INET6; in test_evutil_getaddrinfo()
1000 a = ai_find_by_family(ai, PF_INET6); in test_evutil_getaddrinfo()
1098 hints.ai_family = PF_INET6; in test_evutil_getaddrinfo_live()
1104 tt_int_op(ai->ai_family, ==, PF_INET6); in test_evutil_getaddrinfo_live()
/external/python/cpython2/Lib/plat-linux2/
DIN.py371 PF_INET6 = 10 variable
401 AF_INET6 = PF_INET6
/external/libpcap/
Dsockutils.c305 if (addrinfo->ai_family == PF_INET6) in sock_open()
512 ((*addrinfo)->ai_family != PF_INET6)) in sock_initaddress()
/external/python/cpython2/Modules/
Dgetnameinfo.c62 {PF_INET6, sizeof(struct in6_addr), sizeof(struct sockaddr_in6),
/external/python/cpython3/Modules/
Dgetnameinfo.c62 {PF_INET6, sizeof(struct in6_addr), sizeof(struct sockaddr_in6),

123