xref: /linux/net/dccp/ccids/Kconfig (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
295148a0fSKees Cookmenu "DCCP CCIDs Configuration"
37c657876SArnaldo Carvalho de Melo
48d424f6cSAndrea Bittauconfig IP_DCCP_CCID2_DEBUG
5ddebc973SGerrit Renker	bool "CCID-2 debugging messages"
6a7f7f624SMasahiro Yamada	help
7ddebc973SGerrit Renker	  Enable CCID-2 specific debugging messages.
884116716SGerrit Renker
9ddebc973SGerrit Renker	  The debugging output can additionally be toggled by setting the
10ddebc973SGerrit Renker	  ccid2_debug parameter to 0 or 1.
118d424f6cSAndrea Bittau
128d424f6cSAndrea Bittau	  If in doubt, say N.
138d424f6cSAndrea Bittau
147c657876SArnaldo Carvalho de Meloconfig IP_DCCP_CCID3
1595148a0fSKees Cook	bool "CCID-3 (TCP-Friendly)"
16*cd14b018SMasahiro Yamada	default IP_DCCP = y || IP_DCCP = m
17a7f7f624SMasahiro Yamada	help
18ddebc973SGerrit Renker	  CCID-3 denotes TCP-Friendly Rate Control (TFRC), an equation-based
197c657876SArnaldo Carvalho de Melo	  rate-controlled congestion control mechanism.  TFRC is designed to
207c657876SArnaldo Carvalho de Melo	  be reasonably fair when competing for bandwidth with TCP-like flows,
217c657876SArnaldo Carvalho de Melo	  where a flow is "reasonably fair" if its sending rate is generally
227c657876SArnaldo Carvalho de Melo	  within a factor of two of the sending rate of a TCP flow under the
237c657876SArnaldo Carvalho de Melo	  same conditions.  However, TFRC has a much lower variation of
24ddebc973SGerrit Renker	  throughput over time compared with TCP, which makes CCID-3 more
25ddebc973SGerrit Renker	  suitable than CCID-2 for applications such streaming media where a
267c657876SArnaldo Carvalho de Melo	  relatively smooth sending rate is of importance.
277c657876SArnaldo Carvalho de Melo
28ddebc973SGerrit Renker	  CCID-3 is further described in RFC 4342,
29266f3128SAlexander A. Klimov	  https://www.ietf.org/rfc/rfc4342.txt
302a91aa39SAndrea Bittau
312a91aa39SAndrea Bittau	  The TFRC congestion control algorithms were initially described in
324dbc242eSGerrit Renker	  RFC 5348.
332a91aa39SAndrea Bittau
340e64e94eSGerrit Renker	  This text was extracted from RFC 4340 (sec. 10.2),
35266f3128SAlexander A. Klimov	  https://www.ietf.org/rfc/rfc4340.txt
367c657876SArnaldo Carvalho de Melo
37ddebc973SGerrit Renker	  If in doubt, say N.
387c657876SArnaldo Carvalho de Melo
3956724aa4SGerrit Renkerconfig IP_DCCP_CCID3_DEBUG
40ddebc973SGerrit Renker	bool "CCID-3 debugging messages"
4156724aa4SGerrit Renker	depends on IP_DCCP_CCID3
42a7f7f624SMasahiro Yamada	help
43ddebc973SGerrit Renker	  Enable CCID-3 specific debugging messages.
4456724aa4SGerrit Renker
45ddebc973SGerrit Renker	  The debugging output can additionally be toggled by setting the
46ddebc973SGerrit Renker	  ccid3_debug parameter to 0 or 1.
4756724aa4SGerrit Renker
4856724aa4SGerrit Renker	  If in doubt, say N.
498a508ac2SGerrit Renker
50c40616c5SGerrit Renkerconfig IP_DCCP_TFRC_LIB
51129fa447SGerrit Renker	def_bool y if IP_DCCP_CCID3
52c40616c5SGerrit Renker
53c40616c5SGerrit Renkerconfig IP_DCCP_TFRC_DEBUG
54129fa447SGerrit Renker	def_bool y if IP_DCCP_CCID3_DEBUG
557c657876SArnaldo Carvalho de Meloendmenu
56