aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid3.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids/ccid3.h')
-rw-r--r--net/dccp/ccids/ccid3.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/dccp/ccids/ccid3.h b/net/dccp/ccids/ccid3.h
index 342235c57bf3..af6e1bf937d9 100644
--- a/net/dccp/ccids/ccid3.h
+++ b/net/dccp/ccids/ccid3.h
@@ -47,8 +47,8 @@
47/* Two seconds as per RFC 3448 4.2 */ 47/* Two seconds as per RFC 3448 4.2 */
48#define TFRC_INITIAL_TIMEOUT (2 * USEC_PER_SEC) 48#define TFRC_INITIAL_TIMEOUT (2 * USEC_PER_SEC)
49 49
50/* Parameter t_mbi from [RFC 3448, 4.3]: backoff interval in seconds */ 50/* Maximum backoff interval t_mbi (RFC 3448, 4.3) */
51#define TFRC_T_MBI 64 51#define TFRC_T_MBI (64 * USEC_PER_SEC)
52 52
53/* 53/*
54 * The t_delta parameter (RFC 3448, 4.6): delays of less than %USEC_PER_MSEC are 54 * The t_delta parameter (RFC 3448, 4.6): delays of less than %USEC_PER_MSEC are
@@ -76,6 +76,7 @@ enum ccid3_options {
76 * @x_recv - Receive rate in 64 * bytes per second 76 * @x_recv - Receive rate in 64 * bytes per second
77 * @x_calc - Calculated rate in bytes per second 77 * @x_calc - Calculated rate in bytes per second
78 * @rtt - Estimate of current round trip time in usecs 78 * @rtt - Estimate of current round trip time in usecs
79 * @r_sqmean - Estimate of long-term RTT (RFC 3448, 4.5)
79 * @p - Current loss event rate (0-1) scaled by 1000000 80 * @p - Current loss event rate (0-1) scaled by 1000000
80 * @s - Packet size in bytes 81 * @s - Packet size in bytes
81 * @t_rto - Nofeedback Timer setting in usecs 82 * @t_rto - Nofeedback Timer setting in usecs
@@ -94,6 +95,7 @@ struct ccid3_hc_tx_sock {
94 u64 x_recv; 95 u64 x_recv;
95 u32 x_calc; 96 u32 x_calc;
96 u32 rtt; 97 u32 rtt;
98 u16 r_sqmean;
97 u32 p; 99 u32 p;
98 u32 t_rto; 100 u32 t_rto;
99 u32 t_ipi; 101 u32 t_ipi;