Searched refs:h_addr_list (Results 1 - 3 of 3) sorted by relevance
/bionic/libc/dns/net/ |
H A D | sethostent.c | 197 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, 217 HENT_ARRAY(hp->h_addr_list, num, ptr, len); 220 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, 222 hp->h_addr_list[num] = NULL; 263 if (!memcmp(hp->h_addr_list[0], addr, (size_t)hp->h_length))
|
H A D | gethnamaddr.c | 272 hent->h_addr_list = hap = addr_ptrs; 495 qlen = (n + 1) * sizeof(*hent->h_addr_list); 498 hent->h_addr_list = (void *)bp; 683 int addrs_len = ((int)(addr_p - addr_ptrs) + 1) * sizeof(*hp->h_addr_list); 687 hp->h_addr_list = (void*)ptr; 793 HENT_ARRAY(hp->h_addr_list, 1, buf, buflen); 804 hp->h_addr_list[0] = buf; 805 hp->h_addr_list[1] = NULL; 1049 HENT_ARRAY(hent->h_addr_list, 1, buf, buflen); 1052 HENT_COPY(hent->h_addr_list[ [all...] |
/bionic/libc/include/ |
H A D | netdb.h | 86 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 87 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
Completed in 7 milliseconds