Minor change (add a default value to tune for MEMP_NUM_REASSDATA in opt.h)

This commit is contained in:
fbernon 2007-10-08 07:39:24 +00:00
parent 2ca113a218
commit afad35a8ac
2 changed files with 8 additions and 1 deletions

View File

@ -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")

View File

@ -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