Module Name: src
Committed By: christos
Date: Sat May 5 20:20:43 UTC 2018
Modified Files:
src/share/man/man7: sysctl.7
Log Message:
Document new PF_LOCAL sysctls.
To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/share/man/man7/sysctl.7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.125 src/share/man/man7/sysctl.7:1.126
--- src/share/man/man7/sysctl.7:1.125 Sat Apr 21 08:38:17 2018
+++ src/share/man/man7/sysctl.7 Sat May 5 16:20:43 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.7,v 1.125 2018/04/21 12:38:17 wiz Exp $
+.\" $NetBSD: sysctl.7,v 1.126 2018/05/05 20:20:43 christos Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95
.\"
-.Dd February 22, 2018
+.Dd May 5, 2018
.Dt SYSCTL 7
.Os
.Sh NAME
@@ -2041,7 +2041,6 @@ The currently defined variable and names
.It esp_auth integer yes
.It ah_keymin integer yes
.El
-.Pp
The variables are as follows:
.Bl -tag -width "123456"
.It Li debug
@@ -2091,6 +2090,66 @@ Minimum AH key length, in bits,
The value is used when the kernel creates proposal payload
on ACQUIRE PF_KEY message.
.El
+.It Li net.local ( Dv PF_LOCAL )
+Get or set various global information about
+.Dv AF_LOCAL
+type sockets.
+For some variables, the third level name is the variable name:
+.Bl -column "Variable" "integer" "Changeable" -offset indent
+.It Sy Variable Type Ta Sy Changeable
+.It inflight integer no
+.It deferred integer no
+.El
+The variables are as follows:
+.Bl -tag -width "123456"
+.It Li inflight
+The number of file descriptors currently passed between processes,
+.Qq in flight .
+.It Li deferred
+The number of file descriptors passed between processes that have been
+deferred for cleanup by a kernel task.
+.El
+.Pp
+Other variables are specific to a socket type:
+.Bl -column "seqpacket" "sendspace" "integer" "Changeable" -offset indent
+.It Sy "Socket Type" Sy Variable Type Ta Sy Changeable
+.It dgram pcblist struct no
+.It dgram recvspace integer yes
+.It dgram sendspace integer yes
+.It seqpacket pcblist struct no
+.It stream pcblist struct no
+.It stream recvspace integer yes
+.It stream sendspace integer yes
+.El
+The variables are as follows:
+.Bl -tag -width "123456"
+.It Li dgram.pcblist
+The Protocol Control Block list structure for datagram sockets.
+Parsed by
+.Xr netstat 8
+or
+.Xr sockstat 8 .
+.It Li dgram.recvspace
+The default datagram receive buffer size.
+.It Li dgram.sendspace
+The default datagram send buffer size.
+.It Li seqpacket.pcblist
+The Protocol Control Block list structure for Sequential Packet sockets.
+Parsed by
+.Xr netstat 8
+or
+.Xr sockstat 8 .
+.It Li stream.pcblist
+The Protocol Control Block list structure for stream sockets.
+Parsed by
+.Xr netstat 8
+or
+.Xr sockstat 8 .
+.It Li stream.recvspace
+The default stream receive buffer size.
+.It Li stream.sendspace
+The default stream send buffer size.
+.El
.El
.Ss The proc.* subtree
The string and integer information available for the