summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6_proto.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-08-13 19:55:06 +0000
committerume <ume@FreeBSD.org>2005-08-13 19:55:06 +0000
commit08a5c349d1e009be6a5f88841a4614ededa28683 (patch)
tree8ea1ca2a7aaf2437bf4a4cf601629fcdade3c414 /sys/netinet6/in6_proto.c
parent4f61404d8e41eb956b27cfbb4cc0dde976bc5b35 (diff)
downloadFreeBSD-src-08a5c349d1e009be6a5f88841a4614ededa28683.zip
FreeBSD-src-08a5c349d1e009be6a5f88841a4614ededa28683.tar.gz
added a knob to enable path MTU discovery for multicast packets.
(by default, it is disabled) Submitted by: suz Obtained from: KAME
Diffstat (limited to 'sys/netinet6/in6_proto.c')
-rw-r--r--sys/netinet6/in6_proto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index ce95796..a791360 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -307,6 +307,7 @@ int ip6_gif_hlim = 0;
int ip6_use_deprecated = 1; /* allow deprecated addr (RFC2462 5.5.4) */
int ip6_rr_prune = 5; /* router renumbering prefix
* walk list every 5 sec. */
+int ip6_mcast_pmtu = 0; /* enable pMTU discovery for multicast? */
int ip6_v6only = 1;
int ip6_keepfaith = 0;
@@ -450,6 +451,8 @@ SYSCTL_INT(_net_inet6_ip6, IPV6CTL_USE_DEFAULTZONE,
use_defaultzone, CTLFLAG_RW, &ip6_use_defzone, 0,"");
SYSCTL_INT(_net_inet6_ip6, IPV6CTL_MAXFRAGS,
maxfrags, CTLFLAG_RW, &ip6_maxfrags, 0, "");
+SYSCTL_INT(_net_inet6_ip6, IPV6CTL_MCAST_PMTU,
+ mcast_pmtu, CTLFLAG_RW, &ip6_mcast_pmtu, 0, "");
#ifdef IPSTEALTH
SYSCTL_INT(_net_inet6_ip6, IPV6CTL_STEALTH, stealth, CTLFLAG_RW,
&ip6stealth, 0, "");
OpenPOWER on IntegriCloud