/external/curl/lib/ |
D | curl_addrinfo.c | 288 if(he->h_addrtype == AF_INET6) in Curl_he2ai() 318 ai->ai_family = he->h_addrtype; in Curl_he2ai() 333 addr->sin_family = (unsigned short)(he->h_addrtype); in Curl_he2ai() 342 addr6->sin6_family = (unsigned short)(he->h_addrtype); in Curl_he2ai() 433 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 | 713 (host->h_addrtype == AF_INET || host->h_addrtype == AF_INET6)) in httpAddrGetList() 715 host->h_addrtype == AF_INET) in httpAddrGetList() 732 if (host->h_addrtype == AF_INET6) in httpAddrGetList()
|
D | http-addr.c | 714 cg->hostent.h_addrtype = AF_LOCAL; in httpGetHostByName() 751 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/c-ares/ |
D | ares_parse_ns_reply.c | 167 hostent->h_addrtype = AF_INET; in ares_parse_ns_reply()
|
D | ahost.c | 182 ares_inet_ntop(host->h_addrtype, *p, addr_buf, sizeof(addr_buf)); in callback()
|
D | ares__get_hostent.c | 222 hostent->h_addrtype = addr.family; in ares__get_hostent()
|
D | ares_parse_ptr_reply.c | 192 hostent->h_addrtype = family; in ares_parse_ptr_reply()
|
D | ares_parse_aaaa_reply.c | 237 hostent->h_addrtype = AF_INET6; in ares_parse_aaaa_reply()
|
D | ares_parse_a_reply.c | 239 hostent->h_addrtype = AF_INET; in ares_parse_a_reply()
|
D | ares_gethostbyaddr.c | 245 if (addr->family != (*host)->h_addrtype) in file_lookup()
|
D | ares_gethostbyname.c | 303 hostent.h_addrtype = family; in fake_hostent()
|
/external/xmlrpcpp/src/ |
D | XmlRpcSocket.cpp | 157 saddr.sin_family = hp->h_addrtype; in connect()
|
/external/libevent/ |
D | evutil.c | 997 if (ent->h_addrtype == PF_INET) { in addrinfo_from_hostent() 1008 } else if (ent->h_addrtype == PF_INET6) { in addrinfo_from_hostent() 1351 if (ent->h_addrtype != hints.ai_family && in evutil_getaddrinfo() 1365 if (ent->h_addrtype != PF_INET && ent->h_addrtype != PF_INET6) in evutil_getaddrinfo()
|
/external/libxml2/ |
D | nanohttp.c | 1170 if (h->h_addrtype == AF_INET) { in xmlNanoHTTPConnectHost() 1177 sockin.sin_family = h->h_addrtype; in xmlNanoHTTPConnectHost() 1182 } else if (have_ipv6 () && (h->h_addrtype == AF_INET6)) { in xmlNanoHTTPConnectHost() 1189 sockin6.sin6_family = h->h_addrtype; in xmlNanoHTTPConnectHost()
|
/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/ltp/tools/netpipe-2.4/ |
D | TCP.c | 88 lsin1->sin_family = addr->h_addrtype; in Setup()
|
/external/netperf/src/ |
D | nettest_xti.c | 582 server.sin_family = hp->h_addrtype; in send_xti_tcp_stream() 1793 server.sin_family = hp->h_addrtype; in send_xti_tcp_rr() 2516 server.sin_family = hp->h_addrtype; in send_xti_udp_stream() 3512 server.sin_family = hp->h_addrtype; in send_xti_udp_rr() 5074 server.sin_family = hp->h_addrtype; in send_xti_tcp_conn_rr()
|
/external/iputils/ |
D | clockdiff.c | 617 server.sin_family = hp->h_addrtype; in main()
|