On Sat, Apr 19, 2014 at 08:19:23AM -0700, Loganaden Velvindron wrote: > On Sat, Apr 19, 2014 at 07:51:34AM -0700, Loganaden Velvindron wrote: > > Hi All, > > > > The code was added for MTU discovery timeout in IPv6, but the man > > page misses the description. > > > > Feedback welcomed. > > > > > > s/icmp6/ip6 from henning@ and sthen@, and change from "Return the number of > seconds" to "Number of Seconds" for both IPv4 and IPv6. > Added a bit more description for IPv6.
Index: sbin/sysctl/sysctl.8 =================================================================== RCS file: /cvs/src/sbin/sysctl/sysctl.8,v retrieving revision 1.174 diff -u -p -u -p -r1.174 sysctl.8 --- sbin/sysctl/sysctl.8 19 Apr 2014 12:42:50 -0000 1.174 +++ sbin/sysctl/sysctl.8 19 Apr 2014 16:04:37 -0000 @@ -306,6 +306,7 @@ and a few require a kernel compiled with .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 Index: lib/libc/gen/sysctl.3 =================================================================== RCS file: /cvs/src/lib/libc/gen/sysctl.3,v retrieving revision 1.229 diff -u -p -u -p -r1.229 sysctl.3 --- lib/libc/gen/sysctl.3 19 Apr 2014 12:42:50 -0000 1.229 +++ lib/libc/gen/sysctl.3 19 Apr 2014 16:04:38 -0000 @@ -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 name .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 @@ -1881,6 +1882,12 @@ If set to 0, the ICMPv6 Too Big message 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.