Lines Matching refs:host
229 char *host; local
231 if ((host = split_at(tok + 1, '@')) == 0) { /* plain daemon */
235 && host_match(host, request->server));
245 char *host; local
247 if ((host = split_at(tok + 1, '@')) == 0) { /* plain host */
250 return (host_match(host, request->client)
257 static int host_match(tok, host) in host_match() argument
259 struct host_info *host;
277 return (innetgr(tok + 1, eval_hostname(host), (char *) 0, mydomain));
283 char *name = eval_hostname(host);
284 return (STR_NE(eval_hostaddr(host), unknown) && HOSTNAME_KNOWN(name));
286 char *name = eval_hostname(host);
300 if (host->sin == NULL) {
301 if (inet_pton(AF_INET6, host->addr, &hostin6) != 1) {
306 if (SGFAM(host->sin) != AF_INET6)
308 hip = &host->sin->sg_sin6.sin6_addr;
326 if (host->sin != NULL) {
327 hostin6 = host->sin->sg_sin6.sin6_addr;
350 return (masked_match(tok, mask, eval_hostaddr(host)));
352 return (string_match(tok, eval_hostaddr(host))
353 || (NOT_INADDR(tok) && string_match(tok, eval_hostname(host))));