aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r--include/linux/tcp.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index c6b9f92e8289..c5b94c1a5ee2 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -304,7 +304,6 @@ struct tcp_sock {
304 u32 rtt_seq; /* sequence number to update rttvar */ 304 u32 rtt_seq; /* sequence number to update rttvar */
305 305
306 u32 packets_out; /* Packets which are "in flight" */ 306 u32 packets_out; /* Packets which are "in flight" */
307 u32 left_out; /* Packets which leaved network */
308 u32 retrans_out; /* Retransmitted packets out */ 307 u32 retrans_out; /* Retransmitted packets out */
309/* 308/*
310 * Options received (usually on last packet, some only on SYN packets). 309 * Options received (usually on last packet, some only on SYN packets).
@@ -333,6 +332,9 @@ struct tcp_sock {
333 332
334 struct tcp_sack_block_wire recv_sack_cache[4]; 333 struct tcp_sack_block_wire recv_sack_cache[4];
335 334
335 u32 highest_sack; /* Start seq of globally highest revd SACK
336 * (validity guaranteed only if sacked_out > 0) */
337
336 /* from STCP, retrans queue hinting */ 338 /* from STCP, retrans queue hinting */
337 struct sk_buff* lost_skb_hint; 339 struct sk_buff* lost_skb_hint;
338 340
@@ -341,10 +343,12 @@ struct tcp_sock {
341 struct sk_buff *forward_skb_hint; 343 struct sk_buff *forward_skb_hint;
342 struct sk_buff *fastpath_skb_hint; 344 struct sk_buff *fastpath_skb_hint;
343 345
344 int fastpath_cnt_hint; 346 int fastpath_cnt_hint; /* Lags behind by current skb's pcount
347 * compared to respective fackets_out */
345 int lost_cnt_hint; 348 int lost_cnt_hint;
346 int retransmit_cnt_hint; 349 int retransmit_cnt_hint;
347 int forward_cnt_hint; 350
351 u32 lost_retrans_low; /* Sent seq after any rxmit (lowest) */
348 352
349 u16 advmss; /* Advertised MSS */ 353 u16 advmss; /* Advertised MSS */
350 u16 prior_ssthresh; /* ssthresh saved at recovery start */ 354 u16 prior_ssthresh; /* ssthresh saved at recovery start */