Home
last modified time | relevance | path

Searched refs:saddrsize (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libcasper/services/cap_net/
H A Dcap_net.c639 size_t saddrsize) in net_allowed_bsaddr_impl() argument
649 if (limitsize != saddrsize) { in net_allowed_bsaddr_impl()
662 (saddrsize != sizeof(struct sockaddr_in) && in net_allowed_bsaddr_impl()
663 saddrsize != sizeof(struct sockaddr_in6))) { in net_allowed_bsaddr_impl()
666 if (saddrsize == sizeof(struct sockaddr_in)) { in net_allowed_bsaddr_impl()
674 if (memcmp(&sockaddr, saddr, saddrsize) == 0) { in net_allowed_bsaddr_impl()
677 } else if (saddrsize == sizeof(struct sockaddr_in6)) { in net_allowed_bsaddr_impl()
685 if (memcmp(&sockaddr, saddr, saddrsize) == 0) { in net_allowed_bsaddr_impl()
695 net_allowed_bsaddr(const nvlist_t *limits, const void *saddr, size_t saddrsize) in net_allowed_bsaddr() argument
705 saddr, saddrsize)); in net_allowed_bsaddr()