Lines Matching defs:host
53 int opieaccessfile FUNCTION((host), char *host)
56 /* Turn host into an IP address and then look it up in the authorization
65 syslog(LOG_DEBUG, "accessfile: host=%s", host);
67 if (!host[0])
70 if (isaddr(host)) {
71 n = inet_addr(host);
74 hp = gethostbyname(host);
76 printf("Unknown host %s\n", host);
88 int rdnets FUNCTION((host), long host)
120 syslog(LOG_DEBUG, "accessfile: %08x & %08x == %08x (%s)", host, mask, pattern, ((host & mask) == pattern) ? "true" : "false");
122 if ((host & mask) == pattern) {
148 return !host[0];