Home
last modified time | relevance | path

Searched refs:h_addrtype (Results 1 – 25 of 35) sorted by relevance

12

/external/curl/lib/
Dcurl_addrinfo.c288 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/
Dproxy_resolver_js_bindings.cc68 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/
DltpClient.c128 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/
Dnetdb.c110 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/
Du_network.c123 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/
Dhttp-addrlist.c713 (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()
Dhttp-addr.c714 cg->hostent.h_addrtype = AF_LOCAL; in httpGetHostByName()
751 cg->hostent.h_addrtype = AF_INET; in httpGetHostByName()
/external/syslinux/core/lwip/src/include/lwip/
Dnetdb.h76 int h_addrtype; /* Address type. */ member
/external/syslinux/utils/
Dgethostip.c97 if (host->h_addrtype != AF_INET || host->h_length != 4) { in main()
/external/ltp/testcases/network/multicast/mc_gethost/
Dmc_gethost.c101 printf(" %s", inet_ntop(host->h_addrtype,
/external/c-ares/
Dares_parse_ns_reply.c167 hostent->h_addrtype = AF_INET; in ares_parse_ns_reply()
Dahost.c182 ares_inet_ntop(host->h_addrtype, *p, addr_buf, sizeof(addr_buf)); in callback()
Dares__get_hostent.c222 hostent->h_addrtype = addr.family; in ares__get_hostent()
Dares_parse_ptr_reply.c192 hostent->h_addrtype = family; in ares_parse_ptr_reply()
Dares_parse_aaaa_reply.c237 hostent->h_addrtype = AF_INET6; in ares_parse_aaaa_reply()
Dares_parse_a_reply.c239 hostent->h_addrtype = AF_INET; in ares_parse_a_reply()
Dares_gethostbyaddr.c245 if (addr->family != (*host)->h_addrtype) in file_lookup()
Dares_gethostbyname.c303 hostent.h_addrtype = family; in fake_hostent()
/external/xmlrpcpp/src/
DXmlRpcSocket.cpp157 saddr.sin_family = hp->h_addrtype; in connect()
/external/libevent/
Devutil.c997 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/
Dnanohttp.c1170 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/
Dnss_mdns.c884 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/
DTCP.c88 lsin1->sin_family = addr->h_addrtype; in Setup()
/external/netperf/src/
Dnettest_xti.c582 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/
Dclockdiff.c617 server.sin_family = hp->h_addrtype; in main()

12