Home
last modified time | relevance | path

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

/bionic/libc/include/netinet/
Dicmp6.h484 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument
485 (void)memset(filterp, 0x00, sizeof(struct icmp6_filter))
486 #define ICMP6_FILTER_SETBLOCKALL(filterp) \ argument
487 (void)memset(filterp, 0xff, sizeof(struct icmp6_filter))
488 #define ICMP6_FILTER_SETPASS(type, filterp) \ argument
489 (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31)))
490 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ argument
491 (((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31)))
492 #define ICMP6_FILTER_WILLPASS(type, filterp) \ argument
493 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)
[all …]