Lines Matching refs:ipaddr
40 const char *ipaddr, const char *client_user, in check_rhosts_file() argument
119 !innetgr(host + 1, ipaddr, NULL, NULL)) in check_rhosts_file()
121 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0) in check_rhosts_file()
158 const char *hostname, *ipaddr; in auth_rhosts() local
161 ipaddr = get_remote_ipaddr(); in auth_rhosts()
162 return auth_rhosts2(pw, client_user, hostname, ipaddr); in auth_rhosts()
167 const char *ipaddr) in auth_rhosts2_raw() argument
175 client_user, hostname, ipaddr); in auth_rhosts2_raw()
207 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw()
210 hostname, ipaddr); in auth_rhosts2_raw()
213 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw()
216 hostname, ipaddr, _PATH_SSH_HOSTS_EQUIV); in auth_rhosts2_raw()
273 if (check_rhosts_file(buf, hostname, ipaddr, client_user, pw->pw_name)) { in auth_rhosts2_raw()
279 hostname, ipaddr, client_user, pw->pw_name); in auth_rhosts2_raw()
291 const char *ipaddr) in auth_rhosts2() argument
296 ret = auth_rhosts2_raw(pw, client_user, hostname, ipaddr); in auth_rhosts2()