]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/tcp.h
tcp: convert retransmit_cnt_hint to seqno
[linux-2.6-omap-h63xx.git] / include / linux / tcp.h
index 07e79bdb9cdfdb68ee665e0e2948b8923d246081..d7637c4b2840230f718f871e3c4e3bc51f2cbc3e 100644 (file)
@@ -224,6 +224,12 @@ struct tcp_options_received {
        u16     mss_clamp;      /* Maximal mss, negotiated at connection setup */
 };
 
+/* This is the max number of SACKS that we'll generate and process. It's safe
+ * to increse this, although since:
+ *   size = TCPOLEN_SACK_BASE_ALIGNED (4) + n * TCPOLEN_SACK_PERBLOCK (8)
+ * only four options will fit in a standard TCP header */
+#define TCP_NUM_SACKS 4
+
 struct tcp_request_sock {
        struct inet_request_sock        req;
 #ifdef CONFIG_TCP_MD5SIG
@@ -352,7 +358,7 @@ struct tcp_sock {
                                         */
 
        int     lost_cnt_hint;
-       int     retransmit_cnt_hint;
+       u32     retransmit_high;        /* L-bits may be on up to this seqno */
 
        u32     lost_retrans_low;       /* Sent seq after any rxmit (lowest) */