Searched refs:h_addr_list (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 207 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, in _hf_gethtbyname2() 227 HENT_ARRAY(hp->h_addr_list, num, ptr, len); in _hf_gethtbyname2() 230 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, in _hf_gethtbyname2() 232 hp->h_addr_list[num] = NULL; in _hf_gethtbyname2() 272 if (!memcmp(hp->h_addr_list[0], addr, (size_t)hp->h_length)) in _hf_gethtbyaddr()
|
D | gethnamaddr.c | 287 hent->h_addr_list = hap = addr_ptrs; in getanswer() 510 qlen = (n + 1) * sizeof(*hent->h_addr_list); in getanswer() 513 hent->h_addr_list = (void *)bp; in getanswer() 658 int addrs_len = ((int)(addr_p - addr_ptrs) + 1) * sizeof(*hp->h_addr_list); in android_read_hostent() 662 hp->h_addr_list = (void*)ptr; in android_read_hostent() 768 HENT_ARRAY(hp->h_addr_list, 1, buf, buflen); in gethostbyname_internal_real() 779 hp->h_addr_list[0] = buf; in gethostbyname_internal_real() 780 hp->h_addr_list[1] = NULL; in gethostbyname_internal_real() 1017 HENT_ARRAY(hent->h_addr_list, 1, buf, buflen); in netbsd_gethostent_r() 1020 HENT_COPY(hent->h_addr_list[0], &host_addr, hent->h_length, buf, in netbsd_gethostent_r() [all …]
|
/bionic/libc/include/ |
D | netdb.h | 86 char **h_addr_list; /* list of addresses from name server */ member 87 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 39 STRUCT_MEMBER(struct hostent, char**, h_addr_list); in netdb_h()
|