Lines Matching refs:host
88 char *host, *user, *cp; in check_rhosts_file() local
127 host = hostbuf; in check_rhosts_file()
132 if (host[0] == '-') { in check_rhosts_file()
134 host++; in check_rhosts_file()
135 } else if (host[0] == '+') in check_rhosts_file()
136 host++; in check_rhosts_file()
145 if (!host[0] || !user[0]) { in check_rhosts_file()
152 if (host[0] == '@') { in check_rhosts_file()
153 if (!innetgr(host + 1, hostname, NULL, NULL) && in check_rhosts_file()
154 !innetgr(host + 1, ipaddr, NULL, NULL)) in check_rhosts_file()
156 } else if (strcasecmp(host, hostname) && in check_rhosts_file()
157 strcmp(host, ipaddr) != 0) in check_rhosts_file()