summaryrefslogtreecommitdiffstats
path: root/share/man/man4
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>1998-11-17 20:50:38 +0000
committerprovos <provos@openbsd.org>1998-11-17 20:50:38 +0000
commitbf9f2741834da7ae88d27540bfb17f62a35ef562 (patch)
tree3d1107e027b3909fde54c638eb3c7e0812e77ec9 /share/man/man4
parentdescribe options TCP_NEWRENO, TCP_SACK and TCP_FACK. (diff)
downloadwireguard-openbsd-bf9f2741834da7ae88d27540bfb17f62a35ef562.tar.xz
wireguard-openbsd-bf9f2741834da7ae88d27540bfb17f62a35ef562.zip
explain tcp socketoptions, there are more than just TCP_NODELAY.
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/tcp.412
1 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index ebaab5f6d51..ff6d55050c1 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -104,10 +104,12 @@ through which packets are being transmitted and received. Normally
this address corresponds to the peer entity's network.
.Pp
.Tn TCP
-supports one socket option which is set with
+supports several socket options which are set with
.Xr setsockopt 2
and tested with
.Xr getsockopt 2 .
+.Bl -ohang
+.It Cd TCP_NODELAY
Under most circumstances,
.Tn TCP
sends data when it is presented;
@@ -124,6 +126,14 @@ provides a boolean option,
(from
.Aq Pa netinet/tcp.h ,
to defeat this algorithm.
+.It Cd TCP_MAXSEG
+Set the maximum segment size for this connection. The maximum segment
+size can only be lowered.
+.It Cd TCP_SACK_DISABLE
+Do not use selective acknowledgements for this connection. See
+.Xr options 4 .
+.El
+.Pp
The option level for the
.Xr setsockopt
call is the protocol number for