Searched refs:addhost (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_ipaddr.c | 77 static struct hostdata *addhost(int, void *, char *); 110 return (addhost(AF_INET, ipaddr, "BROADCAST")); 112 return (addhost(AF_INET, ipaddr, "OLD-BROADCAST")); 127 return (addhost(AF_INET, ipaddr, np->n_name)); 134 return (addhost(AF_INET, ipaddr, hp ? hp->h_name : inet_ntoa(*ipaddr))); 156 return (addhost(AF_INET6, ip6addr, "UNSPECIFIED")); 180 retval = addhost(AF_INET6, ip6addr, addname); 186 addhost(family, ipaddr, name) in addhost() function
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 77 static struct hostdata *addhost(int, const void *, const char *, char **); 123 return (addhost(AF_INET, &ipaddr, "BROADCAST", NULL)); in iplookup() 125 return (addhost(AF_INET, &ipaddr, "OLD-BROADCAST", NULL)); in iplookup() 140 return (addhost(AF_INET, &ipaddr, in iplookup() 149 retval = addhost(AF_INET, &ipaddr, in iplookup() 175 return (addhost(AF_INET6, ip6addr, "UNSPECIFIED", NULL)); in ip6lookup() 202 retval = addhost(AF_INET6, ip6addr, addname, hp ? hp->h_aliases : NULL); in ip6lookup() 209 addhost(int family, const void *ipaddr, const char *name, char **aliases) in addhost() function 356 (void) addhost(family, naddr, alias, NULL); in load_names() 358 (void) addhost(family, naddr, name, NULL); in load_names()
|