]> Joshua Wise's Git repositories - netwatch.git/commitdiff
Manage to get a nice big packet queue going inside lwIP.
authorJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 6 Dec 2008 11:09:58 +0000 (06:09 -0500)
committerJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 6 Dec 2008 11:09:58 +0000 (06:09 -0500)
lwip/src/include/lwipopts.h

index a085242ef88c2846236883af2803b29369037e08..5288a27a000cafce8f30f500072a44e4b980d5a0 100644 (file)
 
 #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       65536
-#define TCP_MSS         1400
+#define TCP_MSS         1460
 #define TCP_WND                24000
 #define TCP_SND_BUF     (16 * TCP_MSS)
+#define TCP_SND_QUEUELEN 16
 
 #define MEMP_NUM_PBUF  128
 
This page took 0.028752 seconds and 4 git commands to generate.