]> Joshua Wise's Git repositories - netwatch.git/blobdiff - lwip/src/include/lwipopts.h
more poking
[netwatch.git] / lwip / src / include / lwipopts.h
index f4431d420460b2546419f9b46c30a09ae353ba07..9c92b59e5c0d937fb370ef69b27fa85838fa18ab 100644 (file)
@@ -3,6 +3,7 @@
 
 #define NO_SYS 1
 
+
 #define LWIP_SOCKET    0
 #define LWIP_NETCONN   0
 
 
 #define LWIP_DHCP      1
 
+/* 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
+
 #endif
This page took 0.023466 seconds and 4 git commands to generate.