Lines Matching refs:hostent
103 static struct hostent *__mapv4tov6(struct hostent *, struct hostent *,
105 struct hostent *__mappedtov4(struct hostent *, int *);
106 static struct hostent *__filter_addresses(int, struct hostent *);
107 static int __find_mapped(struct hostent *, int);
114 struct hostent *
115 _uncached_getipnodebyname(const char *nam, struct hostent *result, in _uncached_getipnodebyname()
122 struct hostent *
124 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _uncached_getipnodebyaddr()
223 struct hostent *
226 struct hostent *hp = NULL; in getipnodebyname()
435 struct hostent *
443 struct hostent *hp = 0; in getipnodebyaddr()
653 freehostent(struct hostent *hent) in freehostent()
799 static struct hostent *
800 __mapv4tov6(struct hostent *he4, struct hostent *he6, nss_XbyY_buf_t *res, in __mapv4tov6()
807 struct hostent *host; in __mapv4tov6()
815 host = (struct hostent *)res->result; in __mapv4tov6()
1033 struct hostent *
1034 __mappedtov4(struct hostent *he, int *extract_error) in __mappedtov4()
1041 struct hostent *host; in __mappedtov4()
1058 host = (struct hostent *)res->result; in __mappedtov4()
1148 static struct hostent *
1149 __filter_addresses(int af, struct hostent *he) in __filter_addresses()
1193 __find_mapped(struct hostent *he, int find_both) in __find_mapped()
1242 if ((bufp->result = malloc(ALIGN(sizeof (struct hostent)) + bufsz)) == in __IPv6_alloc()
1247 bufp->buffer = (char *)(bufp->result) + sizeof (struct hostent); in __IPv6_alloc()