summaryrefslogtreecommitdiffstats
path: root/sys/netinet/icmp6.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-09-25 13:40:06 +0000
committerume <ume@FreeBSD.org>2003-09-25 13:40:06 +0000
commit99f18c28fc44a76bd422f2499e16f75cf58f887f (patch)
treec2bab98921c4413df1ac1f9b14ab70b82483865f /sys/netinet/icmp6.h
parent888cc825c41917fc17ebf317df947b27c071b1c6 (diff)
downloadFreeBSD-src-99f18c28fc44a76bd422f2499e16f75cf58f887f.zip
FreeBSD-src-99f18c28fc44a76bd422f2499e16f75cf58f887f.tar.gz
add /*CONSTCOND*/ to reduce diffs against latest KAME.
Obtained from: KAME
Diffstat (limited to 'sys/netinet/icmp6.h')
-rw-r--r--sys/netinet/icmp6.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h
index 374c67e..3154c09 100644
--- a/sys/netinet/icmp6.h
+++ b/sys/netinet/icmp6.h
@@ -515,7 +515,7 @@ do { \
p = (u_char *)filterp; \
for (i = 0; i < sizeof(struct icmp6_filter); i++) \
p[i] = 0xff; \
-} while (0)
+} while (/*CONSTCOND*/ 0)
#define ICMP6_FILTER_SETBLOCKALL(filterp) \
bzero(filterp, sizeof(struct icmp6_filter))
#else /* _KERNEL */
@@ -678,7 +678,7 @@ do { \
&& icmp6_ifstat && icmp6_ifstat[(ifp)->if_index]) { \
icmp6_ifstat[(ifp)->if_index]->tag++; \
} \
-} while (0)
+} while (/*CONSTCOND*/ 0)
#define icmp6_ifoutstat_inc(ifp, type, code) \
do { \
@@ -731,7 +731,7 @@ do { \
icmp6_ifstat_inc(ifp, ifs6_out_redirect); \
break; \
} \
-} while (0)
+} while (/*CONSTCOND*/ 0)
extern int icmp6_rediraccept; /* accept/process redirects */
extern int icmp6_redirtimeout; /* cache time for redirect routes */
OpenPOWER on IntegriCloud