Lines Matching refs:host
174 * Tries to match the host name (which must be in all lowercase) against the
180 match_hostname(const char *host, const char *pattern)
182 char *hostcopy = xstrdup(host);
197 match_host_and_ip(const char *host, const char *ipaddr,
204 else if (host == NULL || ipaddr == NULL || mip == -1)
208 if ((mhost = match_hostname(host, patterns)) == -1)
218 * If user, host and ipaddr are all NULL then validate pattern/
222 match_user(const char *user, const char *host, const char *ipaddr,
229 if (user == NULL && host == NULL && ipaddr == NULL) {
244 ret = match_host_and_ip(host, ipaddr, p);