summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_var.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-01 18:23:27 +0000
committerume <ume@FreeBSD.org>2003-10-01 18:23:27 +0000
commitf0203cacdc680fe2483bf0372c13927040629be5 (patch)
treecddeab315c7045327b8e10e18daca6b8c0841c79 /sys/netinet6/ip6_var.h
parenta7837fa77902f2d4849e254badcf68345e396b62 (diff)
downloadFreeBSD-src-f0203cacdc680fe2483bf0372c13927040629be5.zip
FreeBSD-src-f0203cacdc680fe2483bf0372c13927040629be5.tar.gz
we don't need ip6_id when RANDOM_IP_ID is defined.
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r--sys/netinet6/ip6_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h
index f598363..fa32712 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -251,7 +251,9 @@ struct ip6aux {
#define IPV6_MINMTU 0x04 /* use minimum MTU (IPV6_USE_MIN_MTU) */
extern struct ip6stat ip6stat; /* statistics */
+#ifndef RANDOM_IP_ID
extern u_int32_t ip6_id; /* fragment identifier */
+#endif
extern int ip6_defhlim; /* default hop limit */
extern int ip6_defmcasthlim; /* default multicast hop limit */
extern int ip6_forwarding; /* act as router? */
OpenPOWER on IntegriCloud