Lines Matching defs:filterp
442 #define ICMP6_FILTER_SETPASSALL(filterp) \
443 memset(filterp, 0xff, sizeof(struct icmp6_filter))
444 #define ICMP6_FILTER_SETBLOCKALL(filterp) \
445 memset(filterp, 0x00, sizeof(struct icmp6_filter))
446 #define ICMP6_FILTER_SETPASS(type, filterp) \
447 (((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31)))
448 #define ICMP6_FILTER_SETBLOCK(type, filterp) \
449 (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31)))
450 #define ICMP6_FILTER_WILLPASS(type, filterp) \
451 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0)
452 #define ICMP6_FILTER_WILLBLOCK(type, filterp) \
453 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)