]> git.hungrycats.org Git - linux/commitdiff
[TCP]: Better packing of frto fields into tcp_opt.
authorStephen Hemminger <shemminger@osdl.org>
Wed, 21 Apr 2004 09:57:58 +0000 (02:57 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Wed, 21 Apr 2004 09:57:58 +0000 (02:57 -0700)
include/linux/tcp.h

index 71217944640a1fc021f35ad56c3925e175068b7c..f8c91e73473790715cad0aca4e6a261e92875eb0 100644 (file)
@@ -255,6 +255,10 @@ struct tcp_opt {
        __u8    retransmits;    /* Number of unrecovered RTO timeouts.  */
 
        __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    defer_accept;   /* User waits for some data after accept() */
 
@@ -370,9 +374,6 @@ struct tcp_opt {
        unsigned int            keepalive_intvl;  /* time interval between keep alive probes */
        int                     linger2;
 
-       int                     frto_counter; /* Number of new acks after RTO */
-       __u32                   frto_highmark; /* snd_nxt when RTO occurred */
-
        unsigned long last_synq_overflow; 
 
 /* TCP Westwood structure */