Lines Matching refs:xaddr
36 struct xaddr {
78 * Convert struct sockaddr to struct xaddr
82 addr_sa_to_xaddr(struct sockaddr *sa, socklen_t slen, struct xaddr *xa)
118 addr_netmask(int af, u_int l, struct xaddr *n)
151 addr_and(struct xaddr *dst, const struct xaddr *a, const struct xaddr *b)
178 addr_cmp(const struct xaddr *a, const struct xaddr *b)
207 addr_pton(const char *p, struct xaddr *n)
235 addr_invert(struct xaddr *n)
261 addr_hostmask(int af, u_int l, struct xaddr *n)
273 addr_is_all0s(const struct xaddr *a)
297 addr_host_is_all0s(const struct xaddr *a, u_int masklen)
299 struct xaddr tmp_addr, tmp_mask, tmp_result;
314 addr_pton_cidr(const char *p, struct xaddr *n, u_int *l)
316 struct xaddr tmp;
351 addr_netmatch(const struct xaddr *host, const struct xaddr *net, u_int masklen)
353 struct xaddr tmp_mask, tmp_result;
381 struct xaddr try_addr, match_addr;
441 struct xaddr try_addr, match_addr;