Searched refs:h_hostname (Results 1 – 2 of 2) sorted by relevance
56 char *h_hostname; member201 n->h_hostname = strdup(name);202 if (n->h_hostname == NULL)215 n->h_hostname = strdup(name);216 if (n->h_hostname == NULL)261 return ((hostp != NULL) ? hostp->h_hostname : NULL); in addrtoname()
56 char *h_hostname; member226 n->h_hostname = strdup(name); in addhost()227 if (n->h_hostname == NULL) in addhost()241 n->h_hostname = strdup(name); in addhost()242 if (n->h_hostname == NULL) in addhost()303 h.h_hostname = aname; in addhost()312 return (iplookup(*(const struct in_addr *)ipaddr)->h_hostname); in addrtoname()314 return (ip6lookup((const struct in6_addr *)ipaddr)->h_hostname); in addrtoname()