Lines Matching refs:ipaddr
56 const char *ipaddr, const char *client_user, in check_rhosts_file() argument
152 !innetgr(host + 1, ipaddr, NULL, NULL)) in check_rhosts_file()
155 strcmp(host, ipaddr) != 0) in check_rhosts_file()
192 const char *hostname, *ipaddr; in auth_rhosts() local
195 ipaddr = get_remote_ipaddr(); in auth_rhosts()
196 return auth_rhosts2(pw, client_user, hostname, ipaddr); in auth_rhosts()
201 const char *ipaddr) in auth_rhosts2_raw() argument
209 client_user, hostname, ipaddr); in auth_rhosts2_raw()
248 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw()
251 "/etc/hosts.equiv.", hostname, ipaddr); in auth_rhosts2_raw()
254 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw()
257 "%.100s.", hostname, ipaddr, _PATH_SSH_HOSTS_EQUIV); in auth_rhosts2_raw()
318 if (check_rhosts_file(buf, hostname, ipaddr, in auth_rhosts2_raw()
325 "%s server_user %s", hostname, ipaddr, in auth_rhosts2_raw()
338 const char *ipaddr) in auth_rhosts2() argument
340 return auth_rhosts2_raw(pw, client_user, hostname, ipaddr); in auth_rhosts2()