Re: Changing maxsize of tcp receive window i 2.0.*

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 12 Sep 1998 19:06:15 +0100 (BST)


> is it possible to change the maximum size of tcp's receive
> window during run time i 2.0.*, esp. 2.0.35? I've found the line
> #define MAX_WINDOW 32767 in net/tcp.h, but would prefer
> to be able to change it without recompiling and rebooting.

On both 2.0 and 2.1.x setting SO_RCVBUF will affect the window too (the
window is about half of the receive buffer). Since 2.0.x doesnt support
window scaling 32K is the limit top end anyway. (Using >32K causes nasty
accidents with broken stacks that do signed maths on their windows)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html