Searched refs:filterp (Results 1 – 2 of 2) sorted by relevance
/development/ndk/platforms/android-3/include/netinet/ |
D | icmp6.h | 524 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument 525 (void)memset(filterp, 0xff, sizeof(struct icmp6_filter)) 526 #define ICMP6_FILTER_SETBLOCKALL(filterp) \ argument 527 (void)memset(filterp, 0x00, sizeof(struct icmp6_filter)) 528 #define ICMP6_FILTER_SETPASS(type, filterp) \ argument 529 (((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31))) 530 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ argument 531 (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31))) 532 #define ICMP6_FILTER_WILLPASS(type, filterp) \ argument 533 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0) [all …]
|
/development/ndk/platforms/android-L/include/netinet/ |
D | icmp6.h | 549 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument 550 (void)memset(filterp, 0x00, sizeof(struct icmp6_filter)) 551 #define ICMP6_FILTER_SETBLOCKALL(filterp) \ argument 552 (void)memset(filterp, 0xff, sizeof(struct icmp6_filter)) 553 #define ICMP6_FILTER_SETPASS(type, filterp) \ argument 554 (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31))) 555 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ argument 556 (((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31))) 557 #define ICMP6_FILTER_WILLPASS(type, filterp) \ argument 558 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0) [all …]
|