From 6f8a06da54b3458ad25ac4d336440ae84a0305b4 Mon Sep 17 00:00:00 2001 From: logan Date: Sat, 19 Apr 2014 16:20:08 +0000 Subject: [PATCH] Add missing description for IPv6 mtudisctimeout sysctl and rework the wording for both IPv4 and IPv6. OK from sthen@, henning@ and claudio@ --- lib/libc/gen/sysctl.3 | 11 +++++++++-- sbin/sysctl/sysctl.8 | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index cdf88e414a5..a9c993d619e 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.229 2014/04/19 12:42:50 logan Exp $ +.\" $OpenBSD: sysctl.3,v 1.230 2014/04/19 16:20:08 logan Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -1476,7 +1476,7 @@ The default is 0. .It Li ip.mtudisc Returns 1 if Path MTU Discovery is enabled. .It Li ip.mtudisctimeout -Returns the number of seconds in which a route added by the Path MTU +Number of seconds in which a route added by the Path MTU Discovery engine will time out. When the route times out, the Path MTU Discovery engine will attempt to probe a larger path MTU. @@ -1682,6 +1682,7 @@ The currently defined protocols and names are: .It ip6 Ta maxifprefixes Ta integer Ta yes .It ip6 Ta maxifdefrouters Ta integer Ta yes .It ip6 Ta mforwarding Ta integer Ta yes +.It ip6 Ta mtudisctimeout Ta integer Ta yes .It ip6 Ta multicast_mtudisc Ta integer Ta yes .It ip6 Ta multipath Ta integer Ta yes .It ip6 Ta neighborgcthresh Ta integer Ta yes @@ -1882,6 +1883,12 @@ This variable enables multipath routing for IPv6 addresses. If set to 0, only the first route selected will be used for a given destination regardless of how many routes exist in the routing table. .Pp +.It Li ip6.mtudisctimeout +Number of seconds in which a route added by the Path MTU +Discovery engine will time out. +When the route times out, the Path MTU Discovery engine will attempt +to probe a larger path MTU. +.Pp .It Li ip6.neighborgcthresh Maximum number of entries in neighbor cache. Set to negative to disable. diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index e66c494a575..5a45443ce4e 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.174 2014/04/19 12:42:50 logan Exp $ +.\" $OpenBSD: sysctl.8,v 1.175 2014/04/19 16:20:08 logan Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -306,6 +306,7 @@ and a few require a kernel compiled with non-standard .It net.inet6.ip6.maxifprefixes Ta integer Ta yes .It net.inet6.ip6.maxifdefrouters Ta integer Ta yes .It net.inet6.ip6.mforwarding Ta integer Ta yes +.It net.inet6.ip6.mtudisctimeout Ta integer Ta yes .It net.inet6.ip6.multipath Ta integer Ta yes .It net.inet6.ip6.multicast_mtudisc Ta integer Ta yes .It net.inet6.ip6.neighborgcthresh Ta integer Ta yes -- 2.20.1