Lines Matching refs:filterp
601 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument
604 ptr = (u_char *)filterp; \
608 #define ICMP6_FILTER_SETBLOCKALL(filterp) \ argument
609 bzero(filterp, sizeof(struct icmp6_filter))
611 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument
612 memset(filterp, 0xff, sizeof(struct icmp6_filter))
613 #define ICMP6_FILTER_SETBLOCKALL(filterp) \ argument
614 memset(filterp, 0x00, sizeof(struct icmp6_filter))
617 #define ICMP6_FILTER_SETPASS(type, filterp) \ argument
618 (((filterp)->icmp6_filt[(type) >> 5]) |= (1u << ((type) & 31)))
619 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ argument
620 (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1u << ((type) & 31)))
621 #define ICMP6_FILTER_WILLPASS(type, filterp) \ argument
622 ((((filterp)->icmp6_filt[(type) >> 5]) & (1u << ((type) & 31))) != 0)
623 #define ICMP6_FILTER_WILLBLOCK(type, filterp) \ argument
624 ((((filterp)->icmp6_filt[(type) >> 5]) & (1u << ((type) & 31))) == 0)