filterp 484 netinet/icmp6.h #define ICMP6_FILTER_SETPASSALL(filterp) \ filterp 487 netinet/icmp6.h p = (u_char *)filterp; \ filterp 491 netinet/icmp6.h #define ICMP6_FILTER_SETBLOCKALL(filterp) \ filterp 492 netinet/icmp6.h bzero(filterp, sizeof(struct icmp6_filter)) filterp 494 netinet/icmp6.h #define ICMP6_FILTER_SETPASSALL(filterp) \ filterp 495 netinet/icmp6.h memset(filterp, 0xff, sizeof(struct icmp6_filter)) filterp 496 netinet/icmp6.h #define ICMP6_FILTER_SETBLOCKALL(filterp) \ filterp 497 netinet/icmp6.h memset(filterp, 0x00, sizeof(struct icmp6_filter)) filterp 500 netinet/icmp6.h #define ICMP6_FILTER_SETPASS(type, filterp) \ filterp 501 netinet/icmp6.h (((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31))) filterp 502 netinet/icmp6.h #define ICMP6_FILTER_SETBLOCK(type, filterp) \ filterp 503 netinet/icmp6.h (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31))) filterp 504 netinet/icmp6.h #define ICMP6_FILTER_WILLPASS(type, filterp) \ filterp 505 netinet/icmp6.h ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0) filterp 506 netinet/icmp6.h #define ICMP6_FILTER_WILLBLOCK(type, filterp) \ filterp 507 netinet/icmp6.h ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)