diff --git a/src/include/lwip/memp_std.h b/src/include/lwip/memp_std.h index 9cb30321..c314bf87 100644 --- a/src/include/lwip/memp_std.h +++ b/src/include/lwip/memp_std.h @@ -45,7 +45,7 @@ LWIP_MEMPOOL(TCP_SEG, MEMP_NUM_TCP_SEG, sizeof(struct tcp_seg), #if IP_REASSEMBLY LWIP_MEMPOOL(REASSDATA, MEMP_NUM_REASSDATA, sizeof(struct ip_reassdata), "REASSDATA") -#endif +#endif /* IP_REASSEMBLY */ #if LWIP_NETCONN LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF") diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index eadd4755..05df9d90 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -211,6 +211,13 @@ #define MEMP_NUM_TCP_SEG 16 #endif +/** + * MEMP_NUM_REASSDATA: ...@todo to define to a best value + */ +#ifndef MEMP_NUM_REASSDATA +#define MEMP_NUM_REASSDATA 8 +#endif + /** * MEMP_NUM_ARP_QUEUE: the number of simulateously queued outgoing * packets (pbufs) that are waiting for an ARP request (to resolve