Home
last modified time | relevance | path

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

/external/curl/lib/
Dcurl_addrinfo.c296 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/
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.c731 (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()
Dhttp-addr.c718 cg->hostent.h_addrtype = AF_LOCAL; in httpGetHostByName()
755 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/xmlrpcpp/src/
DXmlRpcSocket.cpp157 saddr.sin_family = hp->h_addrtype; in connect()
/external/libxml2/
Dnanohttp.c1178 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/
Devutil.c1150 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/
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/iputils/
Dclockdiff.c617 server.sin_family = hp->h_addrtype; in main()
Drarpd.c314 if (hp->h_addrtype != AF_INET) { in rarp_lookup()
/external/syslinux/core/lwip/src/netif/ppp/
Dauth.c1158 if (hp != NULL && hp->h_addrtype == AF_INET) {
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h672 int h_addrtype; member
Dsanitizer_platform_limits_posix.cc1006 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype);
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc2625 if(localHost->h_addrtype != AF_INET) in LocalHostAddress()
2653 if(localHost->h_addrtype != AF_INET) in LocalHostAddress()
/external/mdnsresponder/mDNSWindows/mdnsNSP/
DmdnsNSP.c1562 he->h_addrtype = AF_INET; in QueryCopyQuerySetTo()
2189 (*hInfo)->m_host.h_addrtype = family; in HostsFileNext()
/external/iproute2/misc/
Dss.c1425 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/
Dauth.c1918 if (hp != NULL && hp->h_addrtype == AF_INET) {
/external/python/cpython2/Modules/
Dsocketmodule.c3342 if (h->h_addrtype != af) {
/external/python/cpython3/Modules/
Dsocketmodule.c4995 if (h->h_addrtype != af) {