Lines Matching refs:hostent
343 struct hostent *hostent; local
414 hostent = gethostbyaddr((char *)&addr_buf,
416 if (hostent != NULL)
417 canonname = hostent->h_name;
427 hostent = gethostbyname(nodename);
428 if (hostent == NULL) {
442 addr_list = (struct in_addr **)hostent->h_addr_list;
445 canonname = hostent->h_name;
527 struct hostent *hostent; local
572 hostent = NULL;
574 hostent = gethostbyaddr((char *)&sa_in->sin_addr,
577 if (hostent != NULL) {
578 if (nodelen <= strlen(hostent->h_name)) {
582 strcpy(node, hostent->h_name);