Home
last modified time | relevance | path

Searched refs:h_length (Results 1 – 22 of 22) sorted by relevance

/external/libpcap/Win32/Src/
Dgetaddrinfo.c612 apbuf = (char *)malloc(hp->h_length * naddrs);
623 memcpy(&apbuf[i * hp->h_length], hp->h_addr_list[i],
624 hp->h_length);
625 aplist[i] = &apbuf[i * hp->h_length];
938 if ((ap = (char *)malloc(hp->h_length)) == NULL) {
942 memcpy(ap, hp->h_addr_list[0], hp->h_length);
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c867 result->hostent->h_length = 4; in mdns_lookup_name()
873 result->hostent->h_length = 16; in mdns_lookup_name()
951 result->hostent->h_length = addr_len; in mdns_lookup_addr()
1274 if (len != result->hostent->h_length) in add_address_to_buffer()
1278 result->hostent->h_length, in add_address_to_buffer()
1315 if (len != result->hostent->h_length) in contains_address()
1319 result->hostent->h_length, in contains_address()
/external/mesa3d/src/gallium/auxiliary/util/
Du_network.c122 memcpy((char *)&sa.sin_addr,host->h_addr_list[0],host->h_length); in u_socket_connect()
/external/c-ares/
Dares_parse_ns_reply.c168 hostent->h_length = sizeof( struct in_addr ); in ares_parse_ns_reply()
Dares_gethostbyname.c284 hostent.h_length = (int)sizeof(struct in_addr); in fake_hostent()
289 hostent.h_length = (int)sizeof(struct ares_in6_addr); in fake_hostent()
Dares__get_hostent.c223 hostent->h_length = (int)addrlen; in ares__get_hostent()
Dares_parse_ptr_reply.c193 hostent->h_length = addrlen; in ares_parse_ptr_reply()
Dares_parse_a_reply.c240 hostent->h_length = sizeof(struct in_addr); in ares_parse_a_reply()
Dares_parse_aaaa_reply.c238 hostent->h_length = sizeof(struct ares_in6_addr); in ares_parse_aaaa_reply()
/external/xmlrpcpp/src/
DXmlRpcSocket.cpp158 memcpy(&saddr.sin_addr, hp->h_addr, hp->h_length); in connect()
/external/libxml2/
Dnanohttp.c1172 if ((unsigned int) h->h_length > sizeof(ia)) { in xmlNanoHTTPConnectHost()
1176 memcpy (&ia, h->h_addr_list[i], h->h_length); in xmlNanoHTTPConnectHost()
1184 if ((unsigned int) h->h_length > sizeof(ia6)) { in xmlNanoHTTPConnectHost()
1188 memcpy (&ia6, h->h_addr_list[i], h->h_length); in xmlNanoHTTPConnectHost()
Dnanoftp.c940 if ((unsigned int) hp->h_length > in xmlNanoFTPConnect()
951 hp->h_addr_list[0], hp->h_length); in xmlNanoFTPConnect()
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c400 os_memcpy(&ctrl->dest.sin6_addr, h->h_addr, h->h_length); in wpa_ctrl_open()
403 os_memcpy(&ctrl->dest.sin_addr.s_addr, h->h_addr, h->h_length); in wpa_ctrl_open()
/external/libevent/
Devutil.c1004 if (ent->h_length != sizeof(sin.sin_addr)) { in addrinfo_from_hostent()
1015 if (ent->h_length != sizeof(sin6.sin6_addr)) { in addrinfo_from_hostent()
1023 memcpy(addrp, ent->h_addr_list[i], ent->h_length); in addrinfo_from_hostent()
1360 if (ent->h_length == 0) in evutil_getaddrinfo()
/external/skia/experimental/Networking/
DSkSockets.cpp320 server->h_length); in SkTCPClient()
/external/curl/lib/
Dcurl_addrinfo.c435 h->h_length = (short)addrsize; in Curl_ip2addr()
/external/netperf/src/
Dnettest_xti.c581 hp->h_length); in send_xti_tcp_stream()
1792 hp->h_length); in send_xti_tcp_rr()
2515 hp->h_length); in send_xti_udp_stream()
3511 hp->h_length); in send_xti_udp_rr()
5073 hp->h_length); in send_xti_tcp_conn_rr()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h649 int h_length; member
Dsanitizer_platform_limits_posix.cc1002 CHECK_SIZE_AND_OFFSET(hostent, h_length);
Dsanitizer_common_interceptors.inc2032 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *p, h->h_length);
/external/iptables/libxtables/
Dxtables.c1339 host->h_length != sizeof(struct in_addr)) in host_to_ipaddr()
/external/iputils/
DRELNOTES565 - do not trust h_length returned by system resolver.