Skip to content

Instantly share code, notes, and snippets.

diff -up linux-2.6.18/include/net/tcp.h.orig linux-2.6.18/include/net/tcp.h
--- linux-2.6.18/include/net/tcp.h.orig 2011-09-14 18:58:25.474537285 -0400
+++ linux-2.6.18/include/net/tcp.h 2011-09-14 18:58:37.942381278 -0400
@@ -54,6 +54,9 @@ extern void tcp_time_wait(struct sock *s
*/
#define MAX_TCP_WINDOW 32767U
+/* Offer an initial receive window. */
+#define TCP_DEFAULT_INIT_RCVWND 10
+