Lines Matching refs:hostent
105 static struct hostent *__mapv4tov6(struct hostent *, struct hostent *,
107 struct hostent *__mappedtov4(struct hostent *, int *);
108 static struct hostent *__filter_addresses(int, struct hostent *);
109 static int __find_mapped(struct hostent *, int);
116 struct hostent *
117 _uncached_getipnodebyname(const char *nam, struct hostent *result, in _uncached_getipnodebyname()
124 struct hostent *
126 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _uncached_getipnodebyaddr()
245 struct hostent *
248 struct hostent *hp = NULL; in getipnodebyname()
457 struct hostent *
465 struct hostent *hp = 0; in getipnodebyaddr()
675 freehostent(struct hostent *hent) in freehostent()
829 static struct hostent *
830 __mapv4tov6(struct hostent *he4, struct hostent *he6, nss_XbyY_buf_t *res, in __mapv4tov6()
837 struct hostent *host; in __mapv4tov6()
845 host = (struct hostent *)res->result; in __mapv4tov6()
1063 struct hostent *
1064 __mappedtov4(struct hostent *he, int *extract_error) in __mappedtov4()
1071 struct hostent *host; in __mappedtov4()
1088 host = (struct hostent *)res->result; in __mappedtov4()
1178 static struct hostent *
1179 __filter_addresses(int af, struct hostent *he) in __filter_addresses()
1223 __find_mapped(struct hostent *he, int find_both) in __find_mapped()
1272 if ((bufp->result = malloc(ALIGN(sizeof (struct hostent)) + bufsz)) == in __IPv6_alloc()
1277 bufp->buffer = (char *)(bufp->result) + sizeof (struct hostent); in __IPv6_alloc()