From 402493dee5de1a975f70de655913c882f0465d0c Mon Sep 17 00:00:00 2001 From: itojun Date: Thu, 9 Mar 2000 21:26:16 +0000 Subject: [PATCH] change member name for icmp6_filter, to be conformant to RFC2292. From: Francis Dupont --- sys/netinet/icmp6.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h index f51e4f296e3b..9b4f9e2722c3 100644 --- a/sys/netinet/icmp6.h +++ b/sys/netinet/icmp6.h @@ -1,4 +1,4 @@ -/* $NetBSD: icmp6.h,v 1.7 2000/02/28 13:48:50 itojun Exp $ */ +/* $NetBSD: icmp6.h,v 1.8 2000/03/09 21:26:16 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