struct hostent * _nss_dns_gethostbyname2(int *h_errnop, const char *name) { struct hostent *hp; hp = gethostbyname2(name, AF_INET6); *h_errnop = *get_h_errno(); return (hp); }
struct hostent * _gethostbyname(int *h_errnop, const char *name) { struct hostent *hp; hp = gethostbyname(name); *h_errnop = *get_h_errno(); return (hp); }
/* * Internet Name Domain Server (DNS) only implementation. */ static struct hostent * _gethostbyaddr(int *h_errnop, const char *addr, int len, int type) { struct hostent *hp; hp = gethostbyaddr(addr, len, type); *h_errnop = *get_h_errno(); return (hp); }
vm::ptr<s32> _sys_net_h_errno_loc() { libnet.warning("_sys_net_h_errno_loc()"); return get_h_errno().ptr(); }