From 5a0bb33064ebc97a938c6637c52cd3362261d455 Mon Sep 17 00:00:00 2001 From: Tim van der Molen Date: Tue, 7 Jun 2016 05:52:50 +0000 Subject: Document the net.inet.tcp.synuselimit sysctl; OK bluhm@ jmc@ --- lib/libc/gen/sysctl.3 | 8 ++++++-- sbin/sysctl/sysctl.8 | 5 +++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 63d1c1f2287..1fa623b92f1 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.260 2016/06/01 11:11:44 jca Exp $ +.\" $OpenBSD: sysctl.3,v 1.261 2016/06/07 05:52:49 tim Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 1 2016 $ +.Dd $Mdocdate: June 7 2016 $ .Dt SYSCTL 3 .Os .Sh NAME @@ -1200,6 +1200,7 @@ The currently defined protocols and names are: .It tcp Ta stats Ta structure Ta no .It tcp Ta synbucketlimit Ta integer Ta yes .It tcp Ta syncachelimit Ta integer Ta yes +.It tcp Ta synuselimit Ta integer Ta yes .It udp Ta baddynamic Ta array Ta yes .It udp Ta checksum Ta integer Ta yes .It udp Ta recvspace Ta integer Ta yes @@ -1614,6 +1615,9 @@ Returns the TCP statistics in a struct tcpstat. The maximum number of entries allowed per hash bucket in the TCP SYN cache. .It Li tcp.syncachelimit The maximum number of entries allowed in the TCP SYN cache. +.It Li tcp.synuselimit +The minimum number of times the hash function for the TCP SYN cache is used +before it is reseeded. .It Li udp.baddynamic Analogous to .Li tcp.baddynamic diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index 7eb69186ae7..62944568169 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.197 2016/06/01 11:11:44 jca Exp $ +.\" $OpenBSD: sysctl.8,v 1.198 2016/06/07 05:52:49 tim Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sysctl.8 8.2 (Berkeley) 5/9/95 .\" -.Dd $Mdocdate: June 1 2016 $ +.Dd $Mdocdate: June 7 2016 $ .Dt SYSCTL 8 .Os .Sh NAME @@ -267,6 +267,7 @@ and a few require a kernel compiled with non-standard .It net.inet.tcp.ecn Ta integer Ta yes .It net.inet.tcp.syncachelimit Ta integer Ta yes .It net.inet.tcp.synbucketlimit Ta integer Ta yes +.It net.inet.tcp.synuselimit Ta integer Ta yes .It net.inet.tcp.rfc3390 Ta integer Ta yes .It net.inet.tcp.reasslimit Ta integer Ta yes .It net.inet.udp.checksum Ta integer Ta yes -- cgit v1.2.3