Searched refs:phe (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 2340 struct hostent *phe; in str2tid() local 2384 phe = getipnodebyname((const void *)host_str, in str2tid() 2386 if (phe == 0) { in str2tid() 2387 phe = getipnodebyname((const void *)host_str, in str2tid() 2391 if (phe != NULL) { in str2tid() 2392 if (phe->h_addrtype == AF_INET6) { in str2tid() 2395 phe->h_addr_list[0], 16); in str2tid() 2400 phe->h_addr_list[0], 4); in str2tid() 2403 freehostent(phe); in str2tid() 2830 struct hostent *phe; in print_tid_ex() local [all …]
|
/titanic_50/usr/src/lib/libexacct/demo/ |
H A D | exdump.c | 202 struct hostent *phe; in disp_host() local 209 if ((phe = getipnodebyaddr(addr, len, family, &error_num)) != NULL) { in disp_host() 210 (void) printf("%s", phe->h_name); in disp_host()
|
/titanic_50/usr/src/cmd/praudit/ |
H A D | format.c | 322 struct hostent *phe; in get_Hname() local 325 phe = gethostbyaddr((const char *)&addr, 4, AF_INET); in get_Hname() 326 if (phe == (struct hostent *)0) { in get_Hname() 332 (void) snprintf(buf, buflen, "%s", phe->h_name); in get_Hname() 338 struct hostent *phe; in get_Hname_ex() local 341 phe = getipnodebyaddr((const void *)addr, 16, AF_INET6, &err); in get_Hname_ex() 343 if (phe == (struct hostent *)0) { in get_Hname_ex() 346 (void) snprintf(buf, buflen, "%s", phe->h_name); in get_Hname_ex() 348 if (phe) in get_Hname_ex() 349 freehostent(phe); in get_Hname_ex()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 744 struct hostent *phe; in pr_name() local 747 phe = gethostbyaddr((char *)&addr.s_addr, 4, AF_INET); in pr_name() 748 if (phe == NULL) in pr_name() 750 (void) sprintf(buf, "%s (%s)", phe->h_name, inet_ntoa(addr)); in pr_name()
|