summaryrefslogtreecommitdiffstats
path: root/share/man/man4/tcp.4
diff options
context:
space:
mode:
authorjtl <jtl@FreeBSD.org>2016-06-28 13:37:01 +0000
committerjtl <jtl@FreeBSD.org>2016-06-28 13:37:01 +0000
commitbbaee6454fe08d2a791576177149a54d980569d5 (patch)
treea337c7b411f726b37b98bb60f23b450701d6fca5 /share/man/man4/tcp.4
parent96d5d9cf5de60ade43c054d2cae374fd3e7b8054 (diff)
downloadFreeBSD-src-bbaee6454fe08d2a791576177149a54d980569d5.zip
FreeBSD-src-bbaee6454fe08d2a791576177149a54d980569d5.tar.gz
Document support for alternate TCP stacks.
Differential Revision: https://reviews.freebsd.org/D6940 Reviewed by: hiren Approved by: re (gjb) Sponsored by: Juniper Networks
Diffstat (limited to 'share/man/man4/tcp.4')
-rw-r--r--share/man/man4/tcp.426
1 files changed, 24 insertions, 2 deletions
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index d02ff55..f275a4d 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -34,7 +34,7 @@
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd May 19, 2016
+.Dd June 28, 2016
.Dt TCP 4
.Os
.Sh NAME
@@ -119,7 +119,7 @@ supports a number of socket options which can be set with
.Xr setsockopt 2
and tested with
.Xr getsockopt 2 :
-.Bl -tag -width ".Dv TCP_CONGESTION"
+.Bl -tag -width ".Dv TCP_FUNCTION_BLK"
.It Dv TCP_INFO
Information about a socket's underlying TCP session may be retrieved
by passing the read-only option
@@ -148,6 +148,20 @@ connection.
See
.Xr mod_cc 4
for details.
+.It Dv TCP_FUNCTION_BLK
+Select or query the set of functions that TCP will use for this connection.
+This allows a user to select an alternate TCP stack.
+The alternate TCP stack must already be loaded in the kernel.
+To list the available TCP stacks, see
+.Va functions_available
+in the
+.Sx MIB Variables
+section further down.
+To list the default TCP stack, see
+.Va functions_default
+in the
+.Sx MIB Variables
+section.
.It Dv TCP_KEEPINIT
This
.Xr setsockopt 2
@@ -568,6 +582,10 @@ Number of times default MSS was used in an attempt to downshift.
.It Va pmtud_blackhole_failed
Number of connections for which retransmits continued even after MSS
downshift.
+.It Va functions_available
+List of available TCP function blocks (TCP stacks).
+.It Va functions_default
+The default TCP function block (TCP stack).
.El
.Sh ERRORS
A socket operation may fail with one of the following errors returned:
@@ -599,6 +617,10 @@ exists;
.It Bq Er EAFNOSUPPORT
when an attempt is made to bind or connect a socket to a multicast
address.
+.It Bq Er EINVAL
+when trying to change TCP function blocks at an invalid point in the session;
+.It Bq Er ENOENT
+when trying to use a TCP function block that is not available;
.El
.Sh SEE ALSO
.Xr getsockopt 2 ,
OpenPOWER on IntegriCloud