/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 326 pai->ai_family = PF_UNSPEC; 343 switch (hints->ai_family) { 361 if (pai->ai_family != ex->e_af) 380 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1) 382 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1) 387 if (pai->ai_family == PF_UNSPEC) { 389 pai->ai_family = PF_INET6; 391 pai->ai_family = PF_INET; 407 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex))) 414 if (pai->ai_family == PF_UNSPEC) [all …]
|
/external/android-clat/ |
D | dns64.c | 40 .ai_family = AF_INET6, in plat_prefix() 60 if (result->ai_family != AF_INET6) { in plat_prefix() 61 logmsg(ANDROID_LOG_WARN, "plat_prefix/unexpected address family: %d", result->ai_family); in plat_prefix()
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | basic_resolver_query.hpp | 67 hints_.ai_family = PF_UNSPEC; in basic_resolver_query() 104 hints_.ai_family = protocol.family(); in basic_resolver_query() 152 hints_.ai_family = ASIO_OS_DEF(AF_UNSPEC); in basic_resolver_query() 203 hints_.ai_family = protocol.family(); in basic_resolver_query()
|
D | basic_resolver_iterator.hpp | 86 if (address_info->ai_family == ASIO_OS_DEF(AF_INET) in create() 87 || address_info->ai_family == ASIO_OS_DEF(AF_INET6)) in create()
|
/external/curl/lib/ |
D | curl_addrinfo.c | 133 if(ai->ai_family == AF_INET) in Curl_getaddrinfo_ex() 136 else if(ai->ai_family == AF_INET6) in Curl_getaddrinfo_ex() 159 ca->ai_family = ai->ai_family; in Curl_getaddrinfo_ex() 319 ai->ai_family = he->h_addrtype; in Curl_he2ai() 329 switch (ai->ai_family) { in Curl_he2ai() 501 ai->ai_family = AF_UNIX; in Curl_unix2addr()
|
D | hostip6.c | 140 ai->ai_family, ai->ai_canonname ? ai->ai_canonname : "<none>"); in dump_addrinfo() 196 hints.ai_family = pf; in Curl_getaddrinfo()
|
D | curl_addrinfo.h | 53 int ai_family; member
|
/external/boringssl/src/tool/ |
D | transport_common.cc | 86 hint.ai_family = AF_UNSPEC; in Connect() 99 socket(result->ai_family, result->ai_socktype, result->ai_protocol); in Connect() 105 switch (result->ai_family) { in Connect() 110 inet_ntop(result->ai_family, &sin->sin_addr, buf, sizeof(buf)), in Connect() 118 inet_ntop(result->ai_family, &sin6->sin6_addr, buf, sizeof(buf)), in Connect()
|
/external/libevent/ |
D | evutil.c | 681 res->ai_family = sa->sa_family; /* Same or not? XXX */ in evutil_new_addrinfo() 819 if (hints->ai_family != PF_UNSPEC && hints->ai_family != PF_INET && in evutil_getaddrinfo_common() 820 hints->ai_family != PF_INET6) in evutil_getaddrinfo_common() 840 if (hints->ai_family != PF_INET) { /* INET6 or UNSPEC. */ in evutil_getaddrinfo_common() 857 if (hints->ai_family != PF_INET6) { /* INET or UNSPEC */ in evutil_getaddrinfo_common() 883 if (hints->ai_family == PF_INET6 || hints->ai_family == PF_UNSPEC) { in evutil_getaddrinfo_common() 899 if (hints->ai_family == PF_INET || hints->ai_family == PF_UNSPEC) { in evutil_getaddrinfo_common() 1053 if (hints->ai_family != PF_UNSPEC) in evutil_adjust_hints_for_addrconfig() 1058 hints->ai_family = PF_INET; in evutil_adjust_hints_for_addrconfig() 1060 hints->ai_family = PF_INET6; in evutil_adjust_hints_for_addrconfig() [all …]
|
/external/iputils/ |
D | tracepath6.c | 437 hints.ai_family = family; in main() 452 if (family && ai->ai_family != family) in main() 454 if (ai->ai_family != AF_INET6 && in main() 455 ai->ai_family != AF_INET) in main() 457 family = ai->ai_family; in main() 458 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in main()
|
/external/netcat/ |
D | netcat.c | 332 hints.ai_family = family; in main() 361 proxyhints.ai_family = family; in main() 600 if ((s = socket(res0->ai_family, res0->ai_socktype, in remote_connect() 621 ahints.ai_family = res0->ai_family; in remote_connect() 707 if (host == NULL && hints.ai_family == AF_UNSPEC) in local_listen() 708 hints.ai_family = AF_INET; in local_listen() 715 if ((s = socket(res0->ai_family, res0->ai_socktype, in local_listen()
|
/external/boringssl/src/crypto/bio/ |
D | socket_helper.c | 49 hint.ai_family = AF_UNSPEC; in bio_ip_and_port_to_socket_and_addr() 69 *out_sock = socket(cur->ai_family, cur->ai_socktype, cur->ai_protocol); in bio_ip_and_port_to_socket_and_addr()
|
/external/toybox/lib/ |
D | net.c | 23 info.ai_family = family; in xconnect() 35 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnect()
|
/external/ipsec-tools/src/racoon/ |
D | kmpstat.c | 216 hint.ai_family = PF_UNSPEC; 217 hint.ai_family = family;
|
/external/webrtc/webrtc/base/ |
D | nethelpers.cc | 39 hints.ai_family = AF_INET; in ResolveHostname() 47 if (family == AF_UNSPEC || cursor->ai_family == family) { in ResolveHostname()
|
/external/toybox/toys/pending/ |
D | host.c | 85 if (ai->ai_family == AF_INET) { in host_main() 89 } else if (ai->ai_family == AF_INET6) { in host_main() 124 int s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in host_main()
|
D | tcpsvd.c | 237 hints.ai_family = AF_UNSPEC; in create_bind_sock() 243 if ( (rp->ai_family == AF_INET) || (rp->ai_family == AF_INET6)) break; in create_bind_sock() 247 sockfd = xsocket(rp->ai_family, TT.udp ?SOCK_DGRAM :SOCK_STREAM, 0); in create_bind_sock()
|
D | tftp.c | 438 rp.ai_family = AF_UNSPEC; in tftp_main() 443 if ( (res->ai_family == AF_INET) || (res->ai_family == AF_INET6)) break; in tftp_main() 447 TT.af = info->ai_family; in tftp_main()
|
/external/iptables/libxtables/ |
D | xtoptions.c | 516 struct addrinfo hints = {.ai_family = afinfo->family}; in xtopt_parse_host() 533 xtables_sa_host(p->ai_addr, p->ai_family), in xtopt_parse_host() 534 xtables_sa_hostlen(p->ai_family)); in xtopt_parse_host() 539 xtables_sa_host(p->ai_addr, p->ai_family), in xtopt_parse_host() 540 xtables_sa_hostlen(p->ai_family)) != 0) in xtopt_parse_host() 569 if (p->ai_family == AF_INET6) { in xtables_getportbyname() 572 } else if (p->ai_family == AF_INET) { in xtables_getportbyname() 672 struct addrinfo hints = {.ai_family = afinfo->family, in xtopt_parse_mask() 681 memcpy(&cb->val.hmask, xtables_sa_host(res->ai_addr, res->ai_family), in xtopt_parse_mask() 682 xtables_sa_hostlen(res->ai_family)); in xtopt_parse_mask()
|
/external/libvncserver/libvncclient/ |
D | sockets.c | 373 hints.ai_family = AF_UNSPEC; in ConnectClientToTcpAddr6() 385 sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in ConnectClientToTcpAddr6() 549 hints.ai_family = AF_UNSPEC; in ListenAtTcpPortAndAddress() 563 if ((sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) < 0) { in ListenAtTcpPortAndAddress() 569 …if (p->ai_family == AF_INET6 && setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof(o… in ListenAtTcpPortAndAddress()
|
/external/opencv/otherlibs/highgui/ |
D | cvcap_socket.cpp | 126 hints.ai_family = AF_UNSPEC; // use IPv4 or IPv6, whichever in open() 218 int sockd = socket(pAddrInfo->ai_family, pAddrInfo->ai_socktype, pAddrInfo->ai_protocol); in grabFrame()
|
/external/netperf/src/missing/ |
D | getaddrinfo.c | 361 if (hints->ai_family != PF_INET && hints->ai_family != PF_UNSPEC) { 466 new_res->ai_family = PF_INET;
|
/external/c-ares/ |
D | ares_ipv6.h | 39 int ai_family; member
|
/external/iproute2/tipc/ |
D | bearer.c | 141 .ai_family = AF_UNSPEC, in enable_udp_bearer() 181 if (generate_multicast(loc->ai_family, buf, sizeof(buf))) { in enable_udp_bearer() 195 if (rem->ai_family != loc->ai_family) { in enable_udp_bearer()
|
/external/tcpdump/missing/ |
D | addrinfo.h | 71 int ai_family; /* PF_xxx */ member
|