/external/curl/lib/ |
D | curl_addrinfo.c | 296 if(he->h_addrtype == AF_INET6) in Curl_he2ai() 329 ai->ai_family = he->h_addrtype; in Curl_he2ai() 344 addr->sin_family = (unsigned short)(he->h_addrtype); in Curl_he2ai() 353 addr6->sin6_family = (unsigned short)(he->h_addrtype); in Curl_he2ai() 444 h->h_addrtype = (short)af; in Curl_ip2addr()
|
/external/chromium-libpac/src/ |
D | proxy_resolver_js_bindings.cc | 68 if (he == NULL || he->h_addr == NULL || he->h_addrtype != AF_INET) { in DnsResolveImpl() 73 if (inet_ntop(he->h_addrtype, he->h_addr, tmp, sizeof(tmp)) == NULL) { in DnsResolveImpl()
|
/external/ltp/testcases/network/sockets/ |
D | ltpClient.c | 128 udpRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main() 135 tcpRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main() 142 mcastRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main() 320 rawTraceAddr.sin_family = hostEntry->h_addrtype; in ltp_run_traceroute_tests() 347 rawAddr.sin_family = hostEntry->h_addrtype; in ltp_run_ping_tests()
|
/external/syslinux/core/lwip/src/api/ |
D | netdb.c | 110 s_hostent.h_addrtype = AF_INET; in lwip_gethostbyname() 125 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addrtype == %d\n", s_hostent.h_addrtype)); in lwip_gethostbyname() 216 ret->h_addrtype = AF_INET; in lwip_gethostbyname_r()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_network.c | 123 sa.sin_family= host->h_addrtype; in u_socket_connect() 126 s = socket(host->h_addrtype, SOCK_STREAM, IPPROTO_TCP); in u_socket_connect()
|
/external/libcups/cups/ |
D | http-addrlist.c | 731 (host->h_addrtype == AF_INET || host->h_addrtype == AF_INET6)) in httpAddrGetList() 733 host->h_addrtype == AF_INET) in httpAddrGetList() 750 if (host->h_addrtype == AF_INET6) in httpAddrGetList()
|
D | http-addr.c | 718 cg->hostent.h_addrtype = AF_LOCAL; in httpGetHostByName() 755 cg->hostent.h_addrtype = AF_INET; in httpGetHostByName()
|
/external/syslinux/core/lwip/src/include/lwip/ |
D | netdb.h | 76 int h_addrtype; /* Address type. */ member
|
/external/syslinux/utils/ |
D | gethostip.c | 97 if (host->h_addrtype != AF_INET || host->h_length != 4) { in main()
|
/external/ltp/testcases/network/multicast/mc_gethost/ |
D | mc_gethost.c | 101 printf(" %s", inet_ntop(host->h_addrtype,
|
/external/xmlrpcpp/src/ |
D | XmlRpcSocket.cpp | 157 saddr.sin_family = hp->h_addrtype; in connect()
|
/external/libxml2/ |
D | nanohttp.c | 1178 if (h->h_addrtype == AF_INET) { in xmlNanoHTTPConnectHost() 1185 sockin.sin_family = h->h_addrtype; in xmlNanoHTTPConnectHost() 1190 } else if (have_ipv6 () && (h->h_addrtype == AF_INET6)) { in xmlNanoHTTPConnectHost() 1197 sockin6.sin6_family = h->h_addrtype; in xmlNanoHTTPConnectHost()
|
/external/libevent/ |
D | evutil.c | 1150 if (ent->h_addrtype == PF_INET) { in addrinfo_from_hostent() 1161 } else if (ent->h_addrtype == PF_INET6) { in addrinfo_from_hostent() 1516 if (ent->h_addrtype != hints.ai_family && in evutil_getaddrinfo() 1530 if (ent->h_addrtype != PF_INET && ent->h_addrtype != PF_INET6) in evutil_getaddrinfo()
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 884 result->hostent->h_addrtype = af; in mdns_lookup_name() 950 result->hostent->h_addrtype = af; in mdns_lookup_addr() 1089 af_to_rr (result->hostent->h_addrtype); in mdns_lookup_callback()
|
/external/iputils/ |
D | clockdiff.c | 617 server.sin_family = hp->h_addrtype; in main()
|
D | rarpd.c | 314 if (hp->h_addrtype != AF_INET) { in rarp_lookup()
|
/external/syslinux/core/lwip/src/netif/ppp/ |
D | auth.c | 1158 if (hp != NULL && hp->h_addrtype == AF_INET) {
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 672 int h_addrtype; member
|
D | sanitizer_platform_limits_posix.cc | 1006 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype);
|
/external/webrtc/webrtc/test/channel_transport/ |
D | udp_transport_impl.cc | 2625 if(localHost->h_addrtype != AF_INET) in LocalHostAddress() 2653 if(localHost->h_addrtype != AF_INET) in LocalHostAddress()
|
/external/mdnsresponder/mDNSWindows/mdnsNSP/ |
D | mdnsNSP.c | 1562 he->h_addrtype = AF_INET; in QueryCopyQuerySetTo() 2189 (*hInfo)->m_host.h_addrtype = family; in HostsFileNext()
|
/external/iproute2/misc/ |
D | ss.c | 1425 if (he->h_addrtype == AF_INET) in remember_he() 1427 else if (he->h_addrtype == AF_INET6) in remember_he() 1444 b->addr.family = he->h_addrtype; in remember_he()
|
/external/ppp/pppd/ |
D | auth.c | 1918 if (hp != NULL && hp->h_addrtype == AF_INET) {
|
/external/python/cpython2/Modules/ |
D | socketmodule.c | 3342 if (h->h_addrtype != af) {
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 4995 if (h->h_addrtype != af) {
|