[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091210085719.4dae2bce@nehalam>
Date: Thu, 10 Dec 2009 08:57:19 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: chavey@...gle.com
Cc: davem@...emloft.net, netdev@...r.kernel.org, therbert@...gle.com,
chavey@...gle.com, joe@...ches.com, eric.dumazet@...il.com
Subject: Re: [PATCH] Add sysctl to set the advertised TCP initial receive
window.
On Wed, 09 Dec 2009 18:05:42 -0800
chavey@...gle.com wrote:
> @@ -221,6 +222,7 @@ struct tcp_options_received {
> u8 num_sacks; /* Number of SACK blocks */
> u16 user_mss; /* mss requested by user in ioctl */
> u16 mss_clamp; /* Maximal mss, negotiated at connection setup */
> + u8 init_rcv_wnd; /* TCP initial receive window in MSS */
> };
You could use the hole in the structure:
snd_wscale : 4, /* Window scaling received from sender */
rcv_wscale : 4; /* Window scaling to send to receiver */
+ u8 init_rcv_wnd; /* TCP initial receive window in MSS */
/* SACKs data */
u8 num_sacks; /* Number of SACK blocks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists