Lines Matching refs:remoteaddr
91 extern char remotehost[], remoteaddr[], *remoteident, *aclbuf;
237 int hostmatch(char *addr, char *remoteaddr, char *remotehost) in hostmatch() argument
290 if (sscanf(remoteaddr, "%d.%d.%d.%d", r, r + 1, r + 2, r + 3) != 4) in hostmatch()
299 if (sscanf(remoteaddr, "%d.%d.%d.%d", r, r + 1, r + 2, r + 3) != 4) in hostmatch()
313 if (sscanf(remoteaddr, "%d.%d.%d.%d", r, r + 1, r + 2, r + 3) != 4) in hostmatch()
326 if (inet_pton6(remoteaddr, &rem_in6) != 1) in hostmatch()
363 if (ptr && hostmatch(ptr, remoteaddr, remotehost)) in hostmatch()
366 if (ptr && hostmatch(ptr, remoteaddr, remotehost)) in hostmatch()
375 (!wu_fnmatch(addr, remoteaddr, 0)); in hostmatch()
645 hostmatch(ARG[which], remoteaddr, remotehost)) in acl_getclass()
648 if (guest && strcasestr(ARG1, "guest") && hostmatch(ARG[which], remoteaddr, remotehost)) in acl_getclass()
652 hostmatch(ARG[which], remoteaddr, remotehost)) in acl_getclass()
1079 else if (hostmatch(ARG0, remoteaddr, remotehost)) { in acl_deny()