]> Joshua Wise's Git repositories - netwatch.git/blobdiff - lwip/src/include/lwipopts.h
At least pretend to split more ICH2 bits out into a config.mk. A real build system...
[netwatch.git] / lwip / src / include / lwipopts.h
index 0b9ebbe7f9f3bbb278b4fe8cd237dc6601fc45c7..31a53f1b5b554f8defaa326cbf54ed16edbee382 100644 (file)
 
 #define LWIP_DHCP      1
 
 
 #define LWIP_DHCP      1
 
-#define MEM_SIZE       65536
-#define TCP_SND_BUF     2048
-#define TCP_MSS         2048
+/* For big ones... */
+extern void _memcpy(void *dest, const void *src, int bytes);
+#define MEMCPY(dst,src,len) _memcpy(dst,src,len)
+
+/* Lots of tricks from http://lists.gnu.org/archive/html/lwip-users/2006-11/msg00007.html */
+
+#define MEM_SIZE       (128*1024)
+#define TCP_MSS         1460
+#define TCP_WND                24000
+#define TCP_SND_BUF     (16 * TCP_MSS)
+#define TCP_SND_QUEUELEN 16
+
+#define MEMP_NUM_PBUF  256
+#define PBUF_POOL_SIZE  128
+#define PBUF_POOL_BUFSIZE 512
+
+#define LWIP_STATS 1
+#define LWIP_STATS_DISPLAY 1
+#define U16_F "u"
+#define S16_F "d"
+#define X16_F "x"
+#define U32_F "u"
+#define S32_F "d"
+#define X32_F "x"
 
 #endif
 
 #endif
This page took 0.027659 seconds and 4 git commands to generate.