OSDN Git Service

Documentation: Describe net.ipv4.tcp_reflect_tos.
authorGuillaume Nault <gnault@redhat.com>
Wed, 27 Jul 2022 11:18:21 +0000 (13:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jul 2022 11:10:21 +0000 (12:10 +0100)
The tcp_reflect_tos option was introduced in Linux 5.10 but was still
undocumented.

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.rst

index 3c39776..56cd4ea 100644 (file)
@@ -636,6 +636,16 @@ tcp_recovery - INTEGER
 
        Default: 0x1
 
+tcp_reflect_tos - BOOLEAN
+       For listening sockets, reuse the DSCP value of the initial SYN message
+       for outgoing packets. This allows to have both directions of a TCP
+       stream to use the same DSCP value, assuming DSCP remains unchanged for
+       the lifetime of the connection.
+
+       This options affects both IPv4 and IPv6.
+
+       Default: 0 (disabled)
+
 tcp_reordering - INTEGER
        Initial reordering level of packets in a TCP stream.
        TCP stack can then dynamically adjust flow reordering level