From bf561a0fbcfed101aea2d523fe5cd50e90273786 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 23 Jan 2014 05:11:10 +0100 Subject: [PATCH] tcp.7: Document TCP_CONGESTION Signed-off-by: Michael Kerrisk --- man7/tcp.7 | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/man7/tcp.7 b/man7/tcp.7 index 50cfe2e51..f7288cc9e 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -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 .\" 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 +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.