Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c148 if (net_data->ho_stayopen && net_data->ho_last && in gethostbyname2_p()
149 net_data->ho_last->h_addrtype == af) { in gethostbyname2_p()
150 if (ns_samename(name, net_data->ho_last->h_name) == 1) in gethostbyname2_p()
151 return (net_data->ho_last); in gethostbyname2_p()
152 for (hap = net_data->ho_last->h_aliases; hap && *hap; hap++) in gethostbyname2_p()
154 return (net_data->ho_last); in gethostbyname2_p()
164 net_data->ho_last = (*ho->byname2)(ho, name, af); in gethostbyname2_p()
170 return (net_data->ho_last); in gethostbyname2_p()
180 if (net_data->ho_stayopen && net_data->ho_last && in gethostbyaddr_p()
181 net_data->ho_last->h_length == len) in gethostbyaddr_p()
[all …]
H A Dgetaddrinfo.c633 if (net_data->ho_stayopen && net_data->ho_last &&
634 net_data->ho_last->h_addrtype == af) {
635 if (ns_samename(name, net_data->ho_last->h_name) == 1)
636 return (net_data->ho_last);
637 for (hap = net_data->ho_last->h_aliases; hap && *hap; hap++)
639 return (net_data->ho_last);
H A Dirs_data.h43 struct hostent * ho_last; member