-/* $OpenBSD: icmp6.h,v 1.4 2000/02/28 14:05:59 itojun Exp $ */
+/* $OpenBSD: icmp6.h,v 1.5 2000/03/09 21:21:12 itojun Exp $ */
/* $KAME: icmp6.h,v 1.8 2000/02/28 10:59:30 itojun Exp $ */
/*
*/
struct icmp6_filter {
- u_int32_t icmp6_filter[8];
+ u_int32_t icmp6_filt[8];
};
#ifdef _KERNEL
#endif /* _KERNEL */
#define ICMP6_FILTER_SETPASS(type, filterp) \
- (((filterp)->icmp6_filter[(type) >> 5]) |= (1 << ((type) & 31)))
+ (((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31)))
#define ICMP6_FILTER_SETBLOCK(type, filterp) \
- (((filterp)->icmp6_filter[(type) >> 5]) &= ~(1 << ((type) & 31)))
+ (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31)))
#define ICMP6_FILTER_WILLPASS(type, filterp) \
- ((((filterp)->icmp6_filter[(type) >> 5]) & (1 << ((type) & 31))) != 0)
+ ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0)
#define ICMP6_FILTER_WILLBLOCK(type, filterp) \
- ((((filterp)->icmp6_filter[(type) >> 5]) & (1 << ((type) & 31))) == 0)
+ ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)
/*
* Variables related to this implementation