/glibc-2.36/nss/ |
D | tst-reload1.c | 148 TEST_VERIFY (h->h_addr_list[0] != NULL); in must_be_tests() 149 if (h->h_addr_list[0]) in must_be_tests() 150 TEST_VERIFY (strcmp (h->h_addr_list[0], ht[i].h_addr_list[0]) == 0); in must_be_tests() 166 TEST_VERIFY (r.h_addr_list[0] != NULL); in must_be_tests() 167 if (r.h_addr_list[0]) in must_be_tests() 168 TEST_VERIFY (strcmp (r.h_addr_list[0], ht[i].h_addr_list[0]) == 0); in must_be_tests() 179 TEST_VERIFY (h->h_addr_list[0] != NULL); in must_be_tests() 180 if (h->h_addr_list[0]) in must_be_tests() 181 TEST_VERIFY (strcmp (h->h_addr_list[0], ht[i].h_addr_list[0]) == 0); in must_be_tests() 211 TEST_VERIFY (memcmp (up, ht[i].h_addr_list[j], 4) == 0); in must_be_tests() [all …]
|
D | nss_test1.c | 451 if (local->h_addr_list) in copy_host() 454 while (local->h_addr_list[i]) in copy_host() 461 memlist[j] = alloc_buffer_maybe_copy_string (&buf, local->h_addr_list[j]); in copy_host() 465 result->h_addr_list = memlist; in copy_host() 469 result->h_addr_list = NULL; in copy_host()
|
D | digits_dots.c | 182 resbuf->h_addr_list = *h_addr_ptrs; in __nss_hostname_digits_dots_context() 274 resbuf->h_addr_list = *h_addr_ptrs; in __nss_hostname_digits_dots_context()
|
D | nss_test.h | 52 #define HOST_LAST() { .h_name = NULL, .h_aliases = NULL, .h_length = 0, .h_addr_list = NULL } 89 .h_addr_list = (char **) hostaddr_##u }
|
D | test-netdb.c | 130 for (pptr = hptr->h_addr_list; *pptr != NULL; pptr++) in output_hostent()
|
D | getent.c | 275 for (cnt = 0; host->h_addr_list[cnt] != NULL; ++cnt) in print_hosts() 278 const char *ip = inet_ntop (host->h_addrtype, host->h_addr_list[cnt], in print_hosts()
|
/glibc-2.36/nss/nss_files/ |
D | files-hosts.c | 92 result->h_addr_list = entdata->h_addr_ptrs; 107 && ! memcmp (addr, result->h_addr_list[0], len)) 136 for (size_t i = 0; result->h_addr_list[i] != NULL; ++i) in gethostbyname3_multi() 137 array_add (&addresses, result->h_addr_list[i]); in gethostbyname3_multi() 192 for (size_t i = 0; tmp_result_buf.h_addr_list[i] != NULL; ++i) in gethostbyname3_multi() 218 memcpy (target, tmp_result_buf.h_addr_list[i], in gethostbyname3_multi() 311 result->h_addr_list = out_addresses; in gethostbyname3_multi() 436 assert (result.h_addr_list[1] == NULL); in libc_hidden_def() 462 memcpy ((*pat)->addr, result.h_addr_list[0], result.h_length); in libc_hidden_def()
|
/glibc-2.36/resolv/ |
D | res_hconf.c | 505 for (i = 0; hp->h_addr_list[i]; ++i) in _res_hconf_reorder_addrs() 507 struct in_addr *haddr = (struct in_addr *) hp->h_addr_list[i]; in _res_hconf_reorder_addrs() 518 tmp = hp->h_addr_list[i]; in _res_hconf_reorder_addrs() 519 hp->h_addr_list[i] = hp->h_addr_list[0]; in _res_hconf_reorder_addrs() 520 hp->h_addr_list[0] = tmp; in _res_hconf_reorder_addrs()
|
D | tst-resolv-threads.c | 128 TEST_VERIFY_EXIT (e->h_addr_list[0] != NULL); in check_hostent() 129 TEST_VERIFY (e->h_addr_list[1] == NULL); in check_hostent() 136 TEST_VERIFY (memcmp (e->h_addr_list[0], addr, sizeof (addr)) == 0); in check_hostent() 145 TEST_VERIFY (memcmp (e->h_addr_list[0], addr, sizeof (addr)) == 0); in check_hostent()
|
D | compat-gethnamaddr.c | 209 host.h_addr_list = h_addr_ptrs; in getanswer() 509 host.h_addr_list = h_addr_ptrs; in res_gethostbyname2_context() 542 host.h_addr_list = h_addr_ptrs; in res_gethostbyname2_context() 755 host.h_addr_list = h_addr_ptrs; in _gethtent() 860 for (ap = hp->h_addr_list; *ap; ap++) { in map_v4v6_hostent()
|
D | tst-resolv-edns.c | 231 TEST_VERIFY_EXIT (e->h_addr_list[0] != NULL); in decode_hostent() 232 TEST_VERIFY (e->h_addr_list[1] == NULL); in decode_hostent() 233 return decode_address (e->h_addr_list[0], e->h_length); in decode_hostent()
|
D | mapv4v6hostent.h | 69 for (ap = hp->h_addr_list; *ap; ap++) in map_v4v6_hostent()
|
D | netdb.h | 104 char **h_addr_list; /* List of addresses from name server. */ member 106 # define h_addr h_addr_list[0] /* Address, for backward compatibility.*/
|
/glibc-2.36/nscd/ |
D | nscd_gethst_r.c | 272 resultbuf->h_addr_list = (char **) cp; in nscd_gethst_r() 290 resultbuf->h_addr_list[cnt] = cp; in nscd_gethst_r() 293 resultbuf->h_addr_list[cnt] = NULL; in nscd_gethst_r() 317 vec[n].iov_base = resultbuf->h_addr_list[0]; in nscd_gethst_r() 337 vec[n].iov_base = resultbuf->h_addr_list[0]; in nscd_gethst_r() 351 memcpy (resultbuf->h_addr_list[0], addr_list, addr_list_len); in nscd_gethst_r()
|
D | aicache.c | 252 for (int i = 0; th[j].h_addr_list[i] != NULL; ++i) in addhstaiX() 287 addr = th[1].h_addr_list[0]; in addhstaiX() 293 addr = th[0].h_addr_list[0]; in addhstaiX() 352 for (int i = 0; th[j].h_addr_list[i] != NULL; ++i) in addhstaiX() 354 addrs = mempcpy (addrs, th[j].h_addr_list[i], in addhstaiX()
|
D | hstcache.c | 214 while (hst->h_addr_list[h_addr_list_cnt] != NULL) in cache_addhst() 278 cp = mempcpy (cp, hst->h_addr_list[cnt], hst->h_length); in cache_addhst() 382 assert (hst->h_addr_list[1] == NULL); in cache_addhst()
|
/glibc-2.36/support/ |
D | support_format_hostent.c | 63 for (unsigned i = 0; h->h_addr_list[i] != NULL; ++i) in support_format_hostent() 66 if (inet_ntop (h->h_addrtype, h->h_addr_list[i], in support_format_hostent()
|
/glibc-2.36/conform/data/ |
D | netdb.h-data | 11 element {struct hostent} {char**} h_addr_list
|
/glibc-2.36/sysdeps/posix/ |
D | getaddrinfo.c | 215 for (char **p = h->h_addr_list; *p != NULL; ++p) in convert_hostent_to_gaih_addrtuple() 255 memcpy(array[i].addr + 3, h->h_addr_list[i], sizeof (uint32_t)); in convert_hostent_to_gaih_addrtuple() 261 memcpy (array[i].addr, h->h_addr_list[i], h->h_length); in convert_hostent_to_gaih_addrtuple()
|
/glibc-2.36/resolv/nss_dns/ |
D | dns-host.c | 768 result->h_addr_list = host_data->h_addr_ptrs; in getanswer_r()
|
/glibc-2.36/manual/ |
D | socket.texi | 1262 @item char **h_addr_list 1268 This is a synonym for @code{h_addr_list[0]}; in other words, it is the
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.10 | 10586 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
|
D | ChangeLog.23 | 4429 (h_addr_list): Remove.
|