Home
last modified time | relevance | path

Searched refs:phe (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c2344 struct hostent *phe; in str2tid() local
2390 if (phe == 0) { in str2tid()
2395 if (phe != NULL) { in str2tid()
2404 phe->h_addr_list[0], 4); in str2tid()
2407 freehostent(phe); in str2tid()
2835 struct hostent *phe; in print_tid_ex() local
2848 hostname = phe->h_name; in print_tid_ex()
2866 if (phe == NULL) { in print_tid_ex()
2869 bufp = phe->h_name; in print_tid_ex()
2876 if (phe) { in print_tid_ex()
[all …]
/illumos-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c200 struct hostent *phe; in disp_host() local
207 if ((phe = getipnodebyaddr(addr, len, family, &error_num)) != NULL) { in disp_host()
208 (void) printf("%s", phe->h_name); in disp_host()
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c473 struct hostent *phe; in get_Hname() local
476 phe = gethostbyaddr((const char *)&addr, 4, AF_INET); in get_Hname()
477 if (phe == (struct hostent *)0) { in get_Hname()
483 (void) snprintf(buf, buflen, "%s", phe->h_name); in get_Hname()
489 struct hostent *phe; in get_Hname_ex() local
492 phe = getipnodebyaddr((const void *)addr, 16, AF_INET6, &err); in get_Hname_ex()
494 if (phe == (struct hostent *)0) { in get_Hname_ex()
497 (void) snprintf(buf, buflen, "%s", phe->h_name); in get_Hname_ex()
499 if (phe) in get_Hname_ex()
500 freehostent(phe); in get_Hname_ex()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c742 struct hostent *phe; in pr_name() local
745 phe = gethostbyaddr((char *)&addr.s_addr, 4, AF_INET); in pr_name()
746 if (phe == NULL) in pr_name()
748 (void) sprintf(buf, "%s (%s)", phe->h_name, inet_ntoa(addr)); in pr_name()