lkml.org 
[lkml]   [1998]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Changing maxsize of tcp receive window i 2.0.*
Date
> 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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.019 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site