Re: rcv_wnd = init_cwnd*mss

From: David S. Miller
Date: Thu Oct 28 2004 - 00:31:57 EST


On Wed, 27 Oct 2004 22:14:33 -0700
"Meda, Prasanna" <pmeda@xxxxxxxxxx> wrote:

>
> What is the reason for checking mss with 1<<rcv_wscale?
> include/net/tcp.h:

Because the advertised window field is 16-bits. It is
interpreted as "value << rcv_wscale"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/