diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index edbb9423..bbe4ac6a 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -149,7 +149,6 @@ #ifndef MEMP_NUM_RAW_PCB #define MEMP_NUM_RAW_PCB 4 #endif - /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One per active UDP "connection". */ #ifndef MEMP_NUM_UDP_PCB @@ -182,8 +181,9 @@ #define MEMP_NUM_SYS_TIMEOUT 3 #endif -/* The following four are used only with the sequential API and can be +/* The following three are used only with the sequential API and can be set to 0 if the application only will use the raw API. */ + /* MEMP_NUM_NETBUF: the number of struct netbufs. */ #ifndef MEMP_NUM_NETBUF #define MEMP_NUM_NETBUF 2 @@ -192,12 +192,6 @@ #ifndef MEMP_NUM_NETCONN #define MEMP_NUM_NETCONN 4 #endif -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#ifndef MEMP_NUM_API_MSG -#define MEMP_NUM_API_MSG 8 -#endif /* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */ @@ -205,7 +199,6 @@ #define MEMP_NUM_TCPIP_MSG 8 #endif - /* ---------- ARP options ---------- */ #ifndef LWIP_ARP #define LWIP_ARP 1