diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-03-09 21:21:13 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-03-09 21:21:13 +0000 |
commit | eb2bd9a2265e0845183adda7aaf7d594b1647502 (patch) | |
tree | 4e4e6a4c210155a61f1a6a40c8650be03c0aee17 /sys/netinet | |
parent | d2130bf05cf30fdef7a0f5289ab80153fa2f83fb (diff) |
change struct icmp6_filter member name: s/icmp6_filter/icmp6_filt/,
to be compliant with RFC2292.
From: Francis Dupont
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/icmp6.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h index 45fd6848d81..545a62f4a0a 100644 --- a/sys/netinet/icmp6.h +++ b/sys/netinet/icmp6.h @@ -1,4 +1,4 @@ -/* $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 $ */ /* @@ -489,7 +489,7 @@ struct rr_result { /* router renumbering result message */ */ struct icmp6_filter { - u_int32_t icmp6_filter[8]; + u_int32_t icmp6_filt[8]; }; #ifdef _KERNEL @@ -510,13 +510,13 @@ do { \ #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 |