Searched refs:h_length (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 156 hent.h_length = 0; /* XXX: gcc */ in _hf_gethtbyname2() 160 info->hp->h_length = 0; in _hf_gethtbyname2() 181 hent.h_length = hp->h_length; in _hf_gethtbyname2() 197 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, in _hf_gethtbyname2() 214 hp->h_length = hent.h_length; in _hf_gethtbyname2() 220 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, in _hf_gethtbyname2() 252 info->hp->h_length = va_arg(ap, int); in _hf_gethtbyaddr() 263 if (!memcmp(hp->h_addr_list[0], addr, (size_t)hp->h_length)) in _hf_gethtbyaddr()
|
D | gethnamaddr.c | 407 if (n != hent->h_length) { in getanswer() 657 hp->h_length = ntohl(size); in android_read_hostent() 730 hp->h_length = (int)size; in gethostbyname_internal_real() 1027 if (hent->h_length != 0 && hent->h_length != len) in netbsd_gethostent_r() 1046 hent->h_length = len; in netbsd_gethostent_r() 1051 HENT_COPY(hent->h_addr_list[0], &host_addr, hent->h_length, buf, in netbsd_gethostent_r() 1102 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent() 1105 hp->h_length = NS_IN6ADDRSZ; in map_v4v6_hostent() 1184 info->hp->h_length = NS_INADDRSZ; in _dns_gethtbyname() 1188 info->hp->h_length = NS_IN6ADDRSZ; in _dns_gethtbyname() [all …]
|
/bionic/libc/include/ |
D | netdb.h | 85 int h_length; /* length of address */ member
|