Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4edb7330 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Amit Pundir
Browse files

ANDROID: net: ip-sysctl: Document tcp_fwmark_accept



This documentation patch is the part of original tcp_fwmark_accept
implementation, Change-Id: I26bc1eceefd2c588d73b921865ab70e4645ade57
("net: support marking accepting TCP sockets").

The implementation since then got upstreamed, 84f39b08
("net: support marking accepting TCP sockets"), without this
documentation part.

Change-Id: I26bc1eceefd2c588d73b921865ab70e4645ade57
Signed-off-by: default avatarLorenzo Colitti <lorenzo@google.com>

[AmitP: Refactored the commit log.
        Fixes: 84f39b08 ("net: support marking accepting TCP sockets")
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 3a8e6944
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -630,6 +630,16 @@ tcp_fastopen_blackhole_timeout_sec - INTEGER
	0 to disable the blackhole detection.
	By default, it is set to 1hr.

tcp_fwmark_accept - BOOLEAN
	If set, incoming connections to listening sockets that do not have a
	socket mark will set the mark of the accepting socket to the fwmark of
	the incoming SYN packet. This will cause all packets on that connection
	(starting from the first SYNACK) to be sent with that fwmark. The
	listening socket's mark is unchanged. Listening sockets that already
	have a fwmark set via setsockopt(SOL_SOCKET, SO_MARK, ...) are
	unaffected.
	Default: 0

tcp_syn_retries - INTEGER
	Number of times initial SYNs for an active TCP connection attempt
	will be retransmitted. Should not be higher than 127. Default value