diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-13 10:23:52 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:22:18 -0500 |
commit | 2e2e9e92bd723244ea20fa488b1780111f2b05e1 (patch) | |
tree | 2e859b2b0aa17d2e18927fe110cdefad6c4f5fe6 /include/linux/sysctl.h | |
parent | e11d9d30802278af22e78d8c10f348b683670cd9 (diff) |
[DCCP]: Add sysctls to control retransmission behaviour
This adds 3 sysctls which govern the retransmission behaviour of DCCP control
packets (3way handshake, feature negotiation).
It removes 4 FIXMEs from the code.
The close resemblance of sysctl variables to their TCP analogues is emphasised
not only by their name, but also by giving them the same initial values.
This is useful since there is not much practical experience with DCCP yet.
Furthermore, with regard to the previous patch, it is now possible to limit
the number of keepalive-Responses by setting net.dccp.default.request_retries
(also a bit like in TCP).
Lastly, added documentation of all existing DCCP sysctls.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r-- | include/linux/sysctl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 0725441621d0..2e8c5ad82793 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
@@ -614,6 +614,9 @@ enum { | |||
614 | NET_DCCP_DEFAULT_ACK_RATIO = 4, | 614 | NET_DCCP_DEFAULT_ACK_RATIO = 4, |
615 | NET_DCCP_DEFAULT_SEND_ACKVEC = 5, | 615 | NET_DCCP_DEFAULT_SEND_ACKVEC = 5, |
616 | NET_DCCP_DEFAULT_SEND_NDP = 6, | 616 | NET_DCCP_DEFAULT_SEND_NDP = 6, |
617 | NET_DCCP_DEFAULT_REQ_RETRIES = 7, | ||
618 | NET_DCCP_DEFAULT_RETRIES1 = 8, | ||
619 | NET_DCCP_DEFAULT_RETRIES2 = 9, | ||
617 | }; | 620 | }; |
618 | 621 | ||
619 | /* /proc/sys/net/ipx */ | 622 | /* /proc/sys/net/ipx */ |