From: Stephen Hemminger <shemminger@vyatta.com>
To: chavey@google.com
Cc: davem@davemloft.net, netdev@vger.kernel.org, therbert@google.com,
chavey@google.com, joe@perches.com, eric.dumazet@gmail.com
Subject: Re: [PATCH] Add sysctl to set the advertised TCP initial receive window.
Date: Thu, 10 Dec 2009 08:57:19 -0800 [thread overview]
Message-ID: <20091210085719.4dae2bce@nehalam> (raw)
In-Reply-To: <pvmfx7jbn2h.fsf@chavey.mtv.corp.google.com>
On Wed, 09 Dec 2009 18:05:42 -0800
chavey@google.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
next prev parent reply other threads:[~2009-12-10 16:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-10 2:05 [PATCH] Add sysctl to set the advertised TCP initial receive window chavey
2009-12-10 16:57 ` Stephen Hemminger [this message]
2009-12-10 18:55 ` Joe Perches
2009-12-13 3:27 ` Eric W. Biederman
-- strict thread matches above, loose matches on Subject: below --
2009-12-09 20:13 chavey
2009-12-09 20:33 ` Eric Dumazet
2009-12-09 20:55 ` Joe Perches
2009-12-09 21:11 ` Eric Dumazet
2009-12-09 0:30 chavey
2009-12-09 0:59 ` Joe Perches
2009-12-08 22:40 chavey
2009-12-08 23:00 ` Joe Perches
2009-12-09 13:26 ` Andi Kleen
2009-12-09 18:05 ` Tom Herbert
[not found] ` <65634d660912091001s44016cccq4f2422e613ba9db9@mail.gmail.com>
2009-12-10 2:21 ` David Miller
2009-12-10 21:55 ` Laurent Chavey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091210085719.4dae2bce@nehalam \
--to=shemminger@vyatta.com \
--cc=chavey@google.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=joe@perches.com \
--cc=netdev@vger.kernel.org \
--cc=therbert@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.