Searched refs:local_hostent (Results 1 - 1 of 1) sorted by relevance

/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc.c520 struct hostent *local_hostent = NULL; local
525 if ((local_hostent = gethostbyname("localhost")) == NULL) {
531 LogDebugFn("h_name: %s", local_hostent->h_name);
532 for (i = 0; local_hostent->h_aliases[i]; i++) {
533 LogDebugFn("h_aliases[%d]: %s", i, local_hostent->h_aliases[i]);
536 (local_hostent->h_addrtype == AF_INET6 ? "AF_INET6" : "AF_INET"));
538 localhostname_len = strlen(local_hostent->h_name);
539 if ((localhostname = strdup(local_hostent->h_name)) == NULL) {

Completed in 49 milliseconds