summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-10-21 12:27:11 +0000
committerderaadt <deraadt@openbsd.org>2013-10-21 12:27:11 +0000
commit0e446ca263cfe2a96d5d4b8903d44bf807605d9c (patch)
treec2fda4f9f531844950c1a245ae586161a3754c2a /sys/netinet6/in6.h
parentFix lies in comments, and apply some KNF and unused or duplicate prototype (diff)
downloadwireguard-openbsd-0e446ca263cfe2a96d5d4b8903d44bf807605d9c.tar.xz
wireguard-openbsd-0e446ca263cfe2a96d5d4b8903d44bf807605d9c.zip
There are gasps of shock! Add a pmtu delay sysctl BUTTON for netinet6,
making the code the same as netinet4 along the way. ok bluhm phessler
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 6468dbe1ba9..94e3cdf9070 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.h,v 1.65 2013/06/26 09:12:40 henning Exp $ */
+/* $OpenBSD: in6.h,v 1.66 2013/10/21 12:27:15 deraadt Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -640,7 +640,8 @@ struct ip6_mtuinfo {
#define IPV6CTL_MAXIFDEFROUTERS 47
#define IPV6CTL_MAXDYNROUTES 48
#define IPV6CTL_DAD_PENDING 49
-#define IPV6CTL_MAXID 50
+#define IPV6CTL_MTUDISCTIMEOUT 50
+#define IPV6CTL_MAXID 51
/* New entries should be added here from current IPV6CTL_MAXID value. */
/* to define items, should talk with KAME guys first, for *BSD compatibility */
@@ -696,6 +697,7 @@ struct ip6_mtuinfo {
{ "maxifdefrouters", CTLTYPE_INT }, \
{ "maxdynroutes", CTLTYPE_INT }, \
{ "dad_pending", CTLTYPE_INT }, \
+ { "mtudisctimeout", CTLTYPE_INT }, \
}
#define IPV6CTL_VARS { \
@@ -749,6 +751,7 @@ struct ip6_mtuinfo {
&ip6_maxifdefrouters, \
&ip6_maxdynroutes, \
NULL, \
+ NULL, \
}
#endif /* __BSD_VISIBLE */