diff --git a/ports/msvc6/lwipopts.h b/ports/msvc6/lwipopts.h index 414521b..6b5f024 100644 --- a/ports/msvc6/lwipopts.h +++ b/ports/msvc6/lwipopts.h @@ -111,14 +111,11 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_NUM_NETBUF 2 /* MEMP_NUM_NETCONN: the number of struct netconns. */ #define MEMP_NUM_NETCONN 10 -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#define MEMP_NUM_API_MSG 16 /* 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. */ -#define MEMP_NUM_TCPIP_MSG 16 +#define MEMP_NUM_TCPIP_MSG_API 16 +#define MEMP_NUM_TCPIP_MSG_INPKT 16 /* ---------- Pbuf options ---------- */ diff --git a/ports/old/coldfire/proj/lwipopts.h b/ports/old/coldfire/proj/lwipopts.h index 3e6b89e..abf11ec 100644 --- a/ports/old/coldfire/proj/lwipopts.h +++ b/ports/old/coldfire/proj/lwipopts.h @@ -68,14 +68,11 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_NUM_NETBUF 6 /* MEMP_NUM_NETCONN: the number of struct netconns. */ #define MEMP_NUM_NETCONN 10 -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#define MEMP_NUM_API_MSG 16 -/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used +/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */ -#define MEMP_NUM_TCPIP_MSG 16 +#define MEMP_NUM_TCPIP_MSG_API 16 +#define MEMP_NUM_TCPIP_MSG_INPKT 16 /* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active timeouts. */ #define MEMP_NUM_SYS_TIMEOUT 3 diff --git a/ports/old/ecos/ecos/net/lwip_tcpip/current/include/lwipopts.h b/ports/old/ecos/ecos/net/lwip_tcpip/current/include/lwipopts.h index 51b7b62..de42801 100644 --- a/ports/old/ecos/ecos/net/lwip_tcpip/current/include/lwipopts.h +++ b/ports/old/ecos/ecos/net/lwip_tcpip/current/include/lwipopts.h @@ -104,14 +104,11 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_NUM_NETBUF CYGPKG_LWIP_MEMP_NUM_NETBUF /* MEMP_NUM_NETCONN: the number of struct netconns. */ #define MEMP_NUM_NETCONN CYGPKG_LWIP_MEMP_NUM_NETCONN -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#define MEMP_NUM_API_MSG CYGPKG_LWIP_MEMP_NUM_APIMSG -/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used +/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */ -#define MEMP_NUM_TCPIP_MSG CYGPKG_LWIP_MEMP_NUM_TCPIP_MSG +#define MEMP_NUM_TCPIP_MSG_API CYGPKG_LWIP_MEMP_NUM_TCPIP_MSG +#define MEMP_NUM_TCPIP_MSG_INPKT CYGPKG_LWIP_MEMP_NUM_TCPIP_MSG /* ---------- Pbuf options ---------- */ /* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */ diff --git a/ports/old/ti_c6711/proj/lwipopts.h b/ports/old/ti_c6711/proj/lwipopts.h index 67225f3..4ce3242 100644 --- a/ports/old/ti_c6711/proj/lwipopts.h +++ b/ports/old/ti_c6711/proj/lwipopts.h @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: lwipopts.h,v 1.1 2007/06/14 12:34:10 kieranm Exp $ + * $Id: lwipopts.h,v 1.2 2007/09/07 23:28:54 fbernon Exp $ */ #ifndef __LWIPOPTS_H__ #define __LWIPOPTS_H__ @@ -102,15 +102,11 @@ a lot of data that needs to be copied, this should be set high. */ /* MEMP_NUM_NETCONN: the number of struct netconns. */ #define MEMP_NUM_NETCONN 32 -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#define MEMP_NUM_API_MSG 32 - -/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used +/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */ -#define MEMP_NUM_TCPIP_MSG 32 +#define MEMP_NUM_TCPIP_MSG_API 32 +#define MEMP_NUM_TCPIP_MSG_INPKT 32 //---------------------------------------------------------------------- /* ---------- Pbuf options ---------- */ @@ -255,7 +251,6 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_STATS 1 #define PBUF_STATS 1 #define SYS_STATS 1 -#define RAW_STATS 1 #endif /* STATS */ @@ -291,7 +286,6 @@ Then, define debug class in opt.h #define TCP_INPUT_DEBUG LWIP_DBG_OFF #define TCP_FR_DEBUG LWIP_DBG_OFF #define TCP_RTO_DEBUG LWIP_DBG_OFF -#define TCP_REXMIT_DEBUG LWIP_DBG_OFF #define TCP_CWND_DEBUG LWIP_DBG_OFF #define TCP_WND_DEBUG LWIP_DBG_OFF #define TCP_OUTPUT_DEBUG LWIP_DBG_OFF diff --git a/ports/old/v2pro/lwipopts.h b/ports/old/v2pro/lwipopts.h index 28715cd..539be5b 100755 --- a/ports/old/v2pro/lwipopts.h +++ b/ports/old/v2pro/lwipopts.h @@ -79,14 +79,11 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_NUM_NETBUF 0 /* MEMP_NUM_NETCONN: the number of struct netconns. */ #define MEMP_NUM_NETCONN 0 -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#define MEMP_NUM_API_MSG 0 -/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used +/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */ -#define MEMP_NUM_TCPIP_MSG 0 +#define MEMP_NUM_TCPIP_MSG_API 0 +#define MEMP_NUM_TCPIP_MSG_INPKT 0 /* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active timeouts. */ #define MEMP_NUM_SYS_TIMEOUT 0 diff --git a/ports/unix/proj/lib/lwipopts.h b/ports/unix/proj/lib/lwipopts.h index 7a37d4a..d74a7ec 100644 --- a/ports/unix/proj/lib/lwipopts.h +++ b/ports/unix/proj/lib/lwipopts.h @@ -69,14 +69,11 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_NUM_NETBUF 2 /* MEMP_NUM_NETCONN: the number of struct netconns. */ #define MEMP_NUM_NETCONN 4 -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#define MEMP_NUM_API_MSG 8 -/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used +/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */ -#define MEMP_NUM_TCPIP_MSG 8 +#define MEMP_NUM_TCPIP_MSG_API 8 +#define MEMP_NUM_TCPIP_MSG_INPKT 8 /* These two control is reclaimer functions should be compiled in. Should always be turned on (1). */ diff --git a/ports/unix/proj/minimal/lwipopts.h b/ports/unix/proj/minimal/lwipopts.h index 16576fe..3d8734d 100644 --- a/ports/unix/proj/minimal/lwipopts.h +++ b/ports/unix/proj/minimal/lwipopts.h @@ -68,14 +68,11 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_NUM_NETBUF 0 /* MEMP_NUM_NETCONN: the number of struct netconns. */ #define MEMP_NUM_NETCONN 0 -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#define MEMP_NUM_API_MSG 0 -/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used +/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */ -#define MEMP_NUM_TCPIP_MSG 0 +#define MEMP_NUM_TCPIP_MSG_API 0 +#define MEMP_NUM_TCPIP_MSG_INPKT 0 /* MEMP_NUM_SYS_TIMEOUT: the number of simultaneously active timeouts. */ #define MEMP_NUM_SYS_TIMEOUT 0 @@ -222,7 +219,6 @@ extern unsigned char debug_flags; #define TCP_INPUT_DEBUG LWIP_DBG_OFF #define TCP_FR_DEBUG LWIP_DBG_OFF #define TCP_RTO_DEBUG LWIP_DBG_OFF -#define TCP_REXMIT_DEBUG LWIP_DBG_OFF #define TCP_CWND_DEBUG LWIP_DBG_OFF #define TCP_WND_DEBUG LWIP_DBG_OFF #define TCP_OUTPUT_DEBUG LWIP_DBG_OFF diff --git a/ports/unix/proj/unixsim/lwipopts.h b/ports/unix/proj/unixsim/lwipopts.h index e5decb4..cdb1092 100644 --- a/ports/unix/proj/unixsim/lwipopts.h +++ b/ports/unix/proj/unixsim/lwipopts.h @@ -107,15 +107,11 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_NUM_NETBUF 2 /* MEMP_NUM_NETCONN: the number of struct netconns. */ #define MEMP_NUM_NETCONN 10 -/* MEMP_NUM_APIMSG: the number of struct api_msg, used for - communication between the TCP/IP stack and the sequential - programs. */ -#define MEMP_NUM_API_MSG 16 -/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used +/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */ -#define MEMP_NUM_TCPIP_MSG 16 - +#define MEMP_NUM_TCPIP_MSG_API 16 +#define MEMP_NUM_TCPIP_MSG_INPKT 16 /* ---------- Pbuf options ---------- */ /* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */