Home
last modified time | relevance | path

Searched refs:h_addr_list (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/net/
Dsethostent.c197 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, in _hf_gethtbyname2()
217 HENT_ARRAY(hp->h_addr_list, num, ptr, len); in _hf_gethtbyname2()
220 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, in _hf_gethtbyname2()
222 hp->h_addr_list[num] = NULL; in _hf_gethtbyname2()
263 if (!memcmp(hp->h_addr_list[0], addr, (size_t)hp->h_length)) in _hf_gethtbyaddr()
Dgethnamaddr.c271 hent->h_addr_list = hap = addr_ptrs; in getanswer()
494 qlen = (n + 1) * sizeof(*hent->h_addr_list); in getanswer()
497 hent->h_addr_list = (void *)bp; in getanswer()
682 int addrs_len = ((int)(addr_p - addr_ptrs) + 1) * sizeof(*hp->h_addr_list); in android_read_hostent()
686 hp->h_addr_list = (void*)ptr; in android_read_hostent()
792 HENT_ARRAY(hp->h_addr_list, 1, buf, buflen); in gethostbyname_internal_real()
803 hp->h_addr_list[0] = buf; in gethostbyname_internal_real()
804 hp->h_addr_list[1] = NULL; in gethostbyname_internal_real()
1048 HENT_ARRAY(hent->h_addr_list, 1, buf, buflen); in netbsd_gethostent_r()
1051 HENT_COPY(hent->h_addr_list[0], &host_addr, hent->h_length, buf, in netbsd_gethostent_r()
[all …]
/bionic/libc/include/
Dnetdb.h86 char **h_addr_list; /* list of addresses from name server */ member
87 #define h_addr h_addr_list[0] /* address, for backward compatibility */