diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/sysctl.3 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index e16417eef24..b3520d9e92f 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.6 1997/06/13 13:30:51 deraadt Exp $ +.\" $OpenBSD: sysctl.3,v 1.7 1997/08/09 23:36:30 millert Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -320,7 +320,7 @@ Return 1 if file names longer than KERN_NAME_MAX are truncated. .It Li KERN_OSRELEASE The system release string. .It Li KERN_OSREV -The system revision string. +The system revision number. .It Li KERN_OSTYPE The system type string. .It Li KERN_PATH_MAX @@ -450,8 +450,10 @@ The currently defined protocols and names are: .It ip redirect integer yes .It ip ttl integer yes .It icmp maskrepl integer yes -.It tcp rfc1323 integer yes +.It tcp rfc1323 integer yes +.It tcp baddynamic array yes .It udp checksum integer yes +.It udp baddynamic array yes .El .Pp The variables are as follows: @@ -471,9 +473,19 @@ This value applies to normal transport protocols, not to ICMP. Returns 1 if ICMP network mask requests are to be answered. .It Li tcp.rfc1323 Returns 1 if RFC1323 extensions to TCP are enabled. +.It Li tcp.baddynamic +An array of +.Va in_port_t +is returned specifying the bitmask of TCP ports between 512 +and 1023 inclusive that should not be allocated dynamically +by the kernel (ie: they must be bound specifically by port number). .It Li udp.checksum Returns 1 when UDP checksums are being computed and checked. Disabling UDP checksums is strongly discouraged. +.It Li udp.baddynamic +Analogous to +.Va tcp.baddynamic +but for UDP sockets. .El .Sh CTL_USER The string and integer information available for the CTL_USER level |