tcp.7: Document TCP_CONGESTION

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-01-23 05:11:10 +01:00
parent 60e01ea4d9
commit bf561a0fbc
1 changed files with 16 additions and 3 deletions

View File

@ -20,9 +20,6 @@
.\" (other than the remaining FIXMEs in the page source below).
.\"
.\" FIXME The following need to be documented
.\" TCP_CONGESTION (new in 2.6.13)
.\" commit 5f8ef48d240963093451bcf83df89f1a1364f51d
.\" Author: Stephen Hemminger <shemminger@osdl.org>
.\" TCP_MD5SIG (2.6.20)
.\" commit cfb6eeb4c860592edd123fdea908d23c6ad1c7dc
.\" Author was yoshfuji@linux-ipv6.org
@ -882,6 +879,22 @@ socket options are valid on TCP sockets.
For more information see
.BR ip (7).
.TP
.BR TCP_CONGESTION " (since Linux 2.6.13)"
.\" commit 5f8ef48d240963093451bcf83df89f1a1364f51d
.\" Author: Stephen Hemminger <shemminger@osdl.org>
The argument for this option is a string.
This option allows the caller to set the TCP congestion control
algorithm to be used, on a per-socket basis.
Unprivileged processes are restricted to choosing one of the algorithms in
.IR tcp_allowed_congestion_control
(described above).
Privileged processes
.RB ( CAP_NET_ADMIN )
processes can choose from any of the available congestion-control algorithms
(see the description of
.IR tcp_available_congestion_control
above).
.TP
.BR TCP_CORK " (since Linux 2.2)"
.\" precisely: since 2.1.127
If set, don't send out partial frames.