Home
last modified time | relevance | path

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

/external/iproute2/include/netinet/
Dicmp6.h88 #define ICMP6_FILTER_WILLPASS(type, filterp) \ argument
89 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)
91 #define ICMP6_FILTER_WILLBLOCK(type, filterp) \ argument
92 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0)
94 #define ICMP6_FILTER_SETPASS(type, filterp) \ argument
95 ((((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31))))
97 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ argument
98 ((((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31))))
100 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument
101 memset (filterp, 0, sizeof (struct icmp6_filter));
[all …]