Home
last modified time | relevance | path

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

/bionic/libc/include/netinet/
Dicmp6.h499 #define ICMP6_FILTER_SETPASSALL(filterp) \ argument
500 (void)memset(filterp, 0x00, sizeof(struct icmp6_filter))
501 #define ICMP6_FILTER_SETBLOCKALL(filterp) \ argument
502 (void)memset(filterp, 0xff, sizeof(struct icmp6_filter))
503 #define ICMP6_FILTER_SETPASS(type, filterp) \ argument
504 (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31)))
505 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ argument
506 (((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31)))
507 #define ICMP6_FILTER_WILLPASS(type, filterp) \ argument
508 ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)
[all …]