Commit 719c06b8 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[TCP]: Better packing of frto fields into tcp_opt.

parent a9e8c907
...@@ -255,6 +255,10 @@ struct tcp_opt { ...@@ -255,6 +255,10 @@ struct tcp_opt {
__u8 retransmits; /* Number of unrecovered RTO timeouts. */ __u8 retransmits; /* Number of unrecovered RTO timeouts. */
__u8 reordering; /* Packet reordering metric. */ __u8 reordering; /* Packet reordering metric. */
__u8 frto_counter; /* Number of new acks after RTO */
__u32 frto_highmark; /* snd_nxt when RTO occurred */
__u8 unused_pad;
__u8 queue_shrunk; /* Write queue has been shrunk recently.*/ __u8 queue_shrunk; /* Write queue has been shrunk recently.*/
__u8 defer_accept; /* User waits for some data after accept() */ __u8 defer_accept; /* User waits for some data after accept() */
...@@ -370,9 +374,6 @@ struct tcp_opt { ...@@ -370,9 +374,6 @@ struct tcp_opt {
unsigned int keepalive_intvl; /* time interval between keep alive probes */ unsigned int keepalive_intvl; /* time interval between keep alive probes */
int linger2; int linger2;
int frto_counter; /* Number of new acks after RTO */
__u32 frto_highmark; /* snd_nxt when RTO occurred */
unsigned long last_synq_overflow; unsigned long last_synq_overflow;
/* TCP Westwood structure */ /* TCP Westwood structure */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment