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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/dccp/ccids/ccid2.h b/net/dccp/ccids/ccid2.h
index f17460a8fe7f..da021ebce9af 100644
--- a/net/dccp/ccids/ccid2.h
+++ b/net/dccp/ccids/ccid2.h
@@ -97,8 +97,12 @@ static inline u32 rfc3390_bytes_to_packets(const u32 smss)
97 return smss <= 1095 ? 4 : (smss > 2190 ? 2 : 3); 97 return smss <= 1095 ? 4 : (smss > 2190 ? 2 : 3);
98} 98}
99 99
100/**
101 * struct ccid2_hc_rx_sock - Receiving end of CCID-2 half-connection
102 * @rx_num_data_pkts: number of data packets received since last feedback
103 */
100struct ccid2_hc_rx_sock { 104struct ccid2_hc_rx_sock {
101 int rx_data; 105 u32 rx_num_data_pkts;
102}; 106};
103 107
104static inline struct ccid2_hc_tx_sock *ccid2_hc_tx_sk(const struct sock *sk) 108static inline struct ccid2_hc_tx_sock *ccid2_hc_tx_sk(const struct sock *sk)