Lines Matching refs:host
23 * Purpose: return an IP address in host long notation from a host
29 UINT4 rc_get_ipaddr (char *host)
33 if (rc_good_ipaddr (host) == 0)
35 return ntohl(inet_addr (host));
37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL)
39 error("rc_get_ipaddr: couldn't resolve hostname: %s", host);
98 * Purpose: Return a printable host name (or IP address in dot notation)
110 error("rc_ip_hostname: couldn't look up host by addr: %08lX", h_ipaddr);
119 * Purpose: get the IP address of this host in host order