]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/tcp.h
tcp: Make prior_ssthresh a u32
[linux-2.6-omap-h63xx.git] / include / linux / tcp.h
index 08027f1d7f31d81836de46fd58f89d1fd5edbcae..18e62e3d406fe86a83e03a8a34257b54fd069ba7 100644 (file)
@@ -239,6 +239,11 @@ static inline struct tcp_request_sock *tcp_rsk(const struct request_sock *req)
        return (struct tcp_request_sock *)req;
 }
 
+struct tcp_deferred_accept_info {
+       struct sock *listen_sk;
+       struct request_sock *request;
+};
+
 struct tcp_sock {
        /* inet_connection_sock has to be the first member of tcp_sock */
        struct inet_connection_sock     inet_conn;
@@ -350,7 +355,7 @@ struct tcp_sock {
        u32     lost_retrans_low;       /* Sent seq after any rxmit (lowest) */
 
        u16     advmss;         /* Advertised MSS                       */
-       u16     prior_ssthresh; /* ssthresh saved at recovery start     */
+       u32     prior_ssthresh; /* ssthresh saved at recovery start     */
        u32     lost_out;       /* Lost packets                 */
        u32     sacked_out;     /* SACK'd packets                       */
        u32     fackets_out;    /* FACK'd packets                       */
@@ -374,6 +379,8 @@ struct tcp_sock {
        unsigned int            keepalive_intvl;  /* time interval between keep alive probes */
        int                     linger2;
 
+       struct tcp_deferred_accept_info defer_tcp_accept;
+
        unsigned long last_synq_overflow; 
 
        u32     tso_deferred;