Searched refs:filterp (Results 1 – 2 of 2) sorted by relevance
/external/iputils/ |
D | ping6.c | 116 #define ICMP6_FILTER_WILLPASS(type, filterp) \ argument 117 (BIT_TEST((type), filterp) == 0) 119 #define ICMP6_FILTER_WILLBLOCK(type, filterp) \ argument 120 BIT_TEST((type), filterp) 122 #define ICMP6_FILTER_SETPASS(type, filterp) \ argument 123 BIT_CLEAR((type), filterp) 125 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ argument 126 BIT_SET((type), filterp) 128 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument 129 memset(filterp, 0, sizeof(struct icmp6_filter)); [all …]
|
/external/dhcpcd-6.8.2/ |
D | ipv6nd.c | 135 #define ICMP6_FILTER_WILLPASS(type, filterp) \ argument 136 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0) 137 #define ICMP6_FILTER_WILLBLOCK(type, filterp) \ argument 138 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0) 139 #define ICMP6_FILTER_SETPASS(type, filterp) \ argument 140 ((((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31)))) 141 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ argument 142 ((((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31)))) 143 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument 144 memset(filterp, 0, sizeof(struct icmp6_filter)); [all …]
|