aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-09-18 13:38:11 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-09-18 13:38:11 -0700
commitb97b1d765d6502992f5bd225ab0aacbecd99b01b (patch)
tree0c488e210ed16ea8a96875e42e60b1be06a9b56f
parentf5ec9e7d346cc8c1ff19f4c751d2adb92584418f (diff)
downloadlwip-b97b1d765d6502992f5bd225ab0aacbecd99b01b.tar.gz
lwip-b97b1d765d6502992f5bd225ab0aacbecd99b01b.tar.xz
lwip-b97b1d765d6502992f5bd225ab0aacbecd99b01b.zip
core: lwipopts: additional fine-tuning
Fine tune parameters a bit more... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/lwip/src/include/lwipopts.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index 0e43335a..6beaab4f 100644
--- a/core/lwip/src/include/lwipopts.h
+++ b/core/lwip/src/include/lwipopts.h
@@ -44,11 +44,15 @@
#define DNS_TABLE_SIZE 16
#define DNS_MAX_SERVERS 4
#define TCP_MSS 1460
-#define TCP_WND 0xf800
-#define TCP_SND_BUF 4096
+#define TCP_WND 64000
+#define TCP_SND_BUF (4*TCP_MSS)
+#define LWIP_TCP_TIMESTAMPS 1
#define ETHARP_TRUST_IP_MAC 0
#define LWIP_PLATFORM_BYTESWAP 1
+#define LWIP_STATS 1
+#define LWIP_STATS_DISPLAY 1
+
#endif /* __LWIPOPTS_H__ */