aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid2.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids/ccid2.h')
-rw-r--r--net/dccp/ccids/ccid2.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/net/dccp/ccids/ccid2.h b/net/dccp/ccids/ccid2.h
index 1ec6a30103bb..b017843ba44d 100644
--- a/net/dccp/ccids/ccid2.h
+++ b/net/dccp/ccids/ccid2.h
@@ -42,7 +42,12 @@ struct ccid2_seq {
42 * struct ccid2_hc_tx_sock - CCID2 TX half connection 42 * struct ccid2_hc_tx_sock - CCID2 TX half connection
43 * @tx_{cwnd,ssthresh,pipe}: as per RFC 4341, section 5 43 * @tx_{cwnd,ssthresh,pipe}: as per RFC 4341, section 5
44 * @tx_packets_acked: Ack counter for deriving cwnd growth (RFC 3465) 44 * @tx_packets_acked: Ack counter for deriving cwnd growth (RFC 3465)
45 * @tx_lastrtt: time RTT was last measured 45 * @tx_srtt: smoothed RTT estimate, scaled by 2^3
46 * @tx_mdev: smoothed RTT variation, scaled by 2^2
47 * @tx_mdev_max: maximum of @mdev during one flight
48 * @tx_rttvar: moving average/maximum of @mdev_max
49 * @tx_rto: RTO value deriving from SRTT and RTTVAR (RFC 2988)
50 * @tx_rtt_seq: to decay RTTVAR at most once per flight
46 * @tx_rpseq: last consecutive seqno 51 * @tx_rpseq: last consecutive seqno
47 * @tx_rpdupack: dupacks since rpseq 52 * @tx_rpdupack: dupacks since rpseq
48 */ 53 */
@@ -55,11 +60,16 @@ struct ccid2_hc_tx_sock {
55 int tx_seqbufc; 60 int tx_seqbufc;
56 struct ccid2_seq *tx_seqh; 61 struct ccid2_seq *tx_seqh;
57 struct ccid2_seq *tx_seqt; 62 struct ccid2_seq *tx_seqt;
58 long tx_rto; 63
59 long tx_srtt; 64 /* RTT measurement: variables/principles are the same as in TCP */
60 long tx_rttvar; 65 u32 tx_srtt,
61 unsigned long tx_lastrtt; 66 tx_mdev,
67 tx_mdev_max,
68 tx_rttvar,
69 tx_rto;
70 u64 tx_rtt_seq:48;
62 struct timer_list tx_rtotimer; 71 struct timer_list tx_rtotimer;
72
63 u64 tx_rpseq; 73 u64 tx_rpseq;
64 int tx_rpdupack; 74 int tx_rpdupack;
65 unsigned long tx_last_cong; 75 unsigned long tx_last_cong;