aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/Kconfig
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-12-06 09:26:38 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:39 -0500
commitc40616c597bf02a2346cbf2f120283734b436245 (patch)
tree2fb6f82ed8fec01038f4607b489086a8f2a719f9 /net/dccp/ccids/Kconfig
parentf8b33fdfafea0f909712a55fbb3d83b89f70f3f5 (diff)
[TFRC]: Provide central source file and debug facility
This patch changes the tfrc_lib module in the following manner: (1) a dedicated tfrc source file to call the packet history & loss interval init/exit functions. (2) a dedicated tfrc_pr_debug macro with toggle switch `tfrc_debug'. Commiter note: renamed tfrc_module.c to tfrc.c, and made CONFIG_IP_DCCP_CCID3 select IP_DCCP_TFRC_LIB. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ccids/Kconfig')
-rw-r--r--net/dccp/ccids/Kconfig13
1 files changed, 9 insertions, 4 deletions
diff --git a/net/dccp/ccids/Kconfig b/net/dccp/ccids/Kconfig
index 3d7d867a7c4e..12275943eab8 100644
--- a/net/dccp/ccids/Kconfig
+++ b/net/dccp/ccids/Kconfig
@@ -38,6 +38,7 @@ config IP_DCCP_CCID2_DEBUG
38config IP_DCCP_CCID3 38config IP_DCCP_CCID3
39 tristate "CCID3 (TCP-Friendly) (EXPERIMENTAL)" 39 tristate "CCID3 (TCP-Friendly) (EXPERIMENTAL)"
40 def_tristate IP_DCCP 40 def_tristate IP_DCCP
41 select IP_DCCP_TFRC_LIB
41 ---help--- 42 ---help---
42 CCID 3 denotes TCP-Friendly Rate Control (TFRC), an equation-based 43 CCID 3 denotes TCP-Friendly Rate Control (TFRC), an equation-based
43 rate-controlled congestion control mechanism. TFRC is designed to 44 rate-controlled congestion control mechanism. TFRC is designed to
@@ -63,10 +64,6 @@ config IP_DCCP_CCID3
63 64
64 If in doubt, say M. 65 If in doubt, say M.
65 66
66config IP_DCCP_TFRC_LIB
67 depends on IP_DCCP_CCID3
68 def_tristate IP_DCCP_CCID3
69
70config IP_DCCP_CCID3_DEBUG 67config IP_DCCP_CCID3_DEBUG
71 bool "CCID3 debugging messages" 68 bool "CCID3 debugging messages"
72 depends on IP_DCCP_CCID3 69 depends on IP_DCCP_CCID3
@@ -110,5 +107,13 @@ config IP_DCCP_CCID3_RTO
110 is serious network congestion: experimenting with larger values should 107 is serious network congestion: experimenting with larger values should
111 therefore not be performed on WANs. 108 therefore not be performed on WANs.
112 109
110config IP_DCCP_TFRC_LIB
111 tristate
112 default n
113
114config IP_DCCP_TFRC_DEBUG
115 bool
116 depends on IP_DCCP_TFRC_LIB
117 default y if IP_DCCP_CCID3_DEBUG
113 118
114endmenu 119endmenu