Searched defs:phe (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c202 struct hostent *phe; local
209 if ((phe = getipnodebyaddr(addr, len, family, &error_num)) != NULL) {
210 (void) printf("%s", phe->h_name);
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c322 struct hostent *phe; local
325 phe = gethostbyaddr((const char *)&addr, 4, AF_INET);
326 if (phe == (struct hostent *)0) {
332 (void) snprintf(buf, buflen, "%s", phe->h_name);
338 struct hostent *phe; local
341 phe = getipnodebyaddr((const void *)addr, 16, AF_INET6, &err);
343 if (phe == (struct hostent *)0) {
346 (void) snprintf(buf, buflen, "%s", phe->h_name);
348 if (phe)
349 freehostent(phe);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c744 struct hostent *phe; local
747 phe = gethostbyaddr((char *)&addr.s_addr, 4, AF_INET);
748 if (phe == NULL)
750 (void) sprintf(buf, "%s (%s)", phe->h_name, inet_ntoa(addr));
/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c2340 struct hostent *phe; local
2384 phe = getipnodebyname((const void *)host_str,
2386 if (phe == 0) {
2387 phe = getipnodebyname((const void *)host_str,
2391 if (phe != NULL) {
2392 if (phe->h_addrtype == AF_INET6) {
2395 phe->h_addr_list[0], 16);
2400 phe->h_addr_list[0], 4);
2403 freehostent(phe);
2830 struct hostent *phe; local
[all...]

Completed in 124 milliseconds