X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/2d34b5d2cb94b7976fa40e954bcf060bdb5856c2..33e49b2e6d599bc56326841b5b373b9f76adc5f7:/lwip/src/include/lwipopts.h?ds=sidebyside diff --git a/lwip/src/include/lwipopts.h b/lwip/src/include/lwipopts.h index 5288a27..368bf86 100644 --- a/lwip/src/include/lwipopts.h +++ b/lwip/src/include/lwipopts.h @@ -17,12 +17,19 @@ extern void _memcpy(void *dest, const void *src, int bytes); /* Lots of tricks from http://lists.gnu.org/archive/html/lwip-users/2006-11/msg00007.html */ -#define MEM_SIZE 65536 +#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 128 +#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 "d" +#define U32_F "d" #endif