mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-06-02 10:41:29 +00:00
Remove deprecated options from contrib for "task #7142 : Sanity check user-configurable values".
This commit is contained in:
parent
4fd61ce2f7
commit
24c826defe
|
@ -111,14 +111,11 @@ a lot of data that needs to be copied, this should be set high. */
|
||||||
#define MEMP_NUM_NETBUF 2
|
#define MEMP_NUM_NETBUF 2
|
||||||
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN 10
|
#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_TCPIPMSG: the number of struct tcpip_msg, which is used
|
||||||
for sequential API communication and incoming packets. Used in
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
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 options ---------- */
|
||||||
|
|
|
@ -68,14 +68,11 @@ a lot of data that needs to be copied, this should be set high. */
|
||||||
#define MEMP_NUM_NETBUF 6
|
#define MEMP_NUM_NETBUF 6
|
||||||
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN 10
|
#define MEMP_NUM_NETCONN 10
|
||||||
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
|
/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used
|
||||||
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
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
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
|
/* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active
|
||||||
timeouts. */
|
timeouts. */
|
||||||
#define MEMP_NUM_SYS_TIMEOUT 3
|
#define MEMP_NUM_SYS_TIMEOUT 3
|
||||||
|
|
|
@ -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
|
#define MEMP_NUM_NETBUF CYGPKG_LWIP_MEMP_NUM_NETBUF
|
||||||
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN CYGPKG_LWIP_MEMP_NUM_NETCONN
|
#define MEMP_NUM_NETCONN CYGPKG_LWIP_MEMP_NUM_NETCONN
|
||||||
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
|
/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used
|
||||||
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
|
|
||||||
for sequential API communication and incoming packets. Used in
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
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 options ---------- */
|
||||||
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
|
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
* $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__
|
#ifndef __LWIPOPTS_H__
|
||||||
#define __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. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN 32
|
#define MEMP_NUM_NETCONN 32
|
||||||
|
|
||||||
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
|
/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used
|
||||||
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
|
|
||||||
for sequential API communication and incoming packets. Used in
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
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 ---------- */
|
/* ---------- 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 MEMP_STATS 1
|
||||||
#define PBUF_STATS 1
|
#define PBUF_STATS 1
|
||||||
#define SYS_STATS 1
|
#define SYS_STATS 1
|
||||||
#define RAW_STATS 1
|
|
||||||
#endif /* STATS */
|
#endif /* STATS */
|
||||||
|
|
||||||
|
|
||||||
|
@ -291,7 +286,6 @@ Then, define debug class in opt.h
|
||||||
#define TCP_INPUT_DEBUG LWIP_DBG_OFF
|
#define TCP_INPUT_DEBUG LWIP_DBG_OFF
|
||||||
#define TCP_FR_DEBUG LWIP_DBG_OFF
|
#define TCP_FR_DEBUG LWIP_DBG_OFF
|
||||||
#define TCP_RTO_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_CWND_DEBUG LWIP_DBG_OFF
|
||||||
#define TCP_WND_DEBUG LWIP_DBG_OFF
|
#define TCP_WND_DEBUG LWIP_DBG_OFF
|
||||||
#define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
|
#define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
|
||||||
|
|
|
@ -79,14 +79,11 @@ a lot of data that needs to be copied, this should be set high. */
|
||||||
#define MEMP_NUM_NETBUF 0
|
#define MEMP_NUM_NETBUF 0
|
||||||
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN 0
|
#define MEMP_NUM_NETCONN 0
|
||||||
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
|
/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used
|
||||||
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
|
|
||||||
for sequential API communication and incoming packets. Used in
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
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
|
/* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active
|
||||||
timeouts. */
|
timeouts. */
|
||||||
#define MEMP_NUM_SYS_TIMEOUT 0
|
#define MEMP_NUM_SYS_TIMEOUT 0
|
||||||
|
|
|
@ -69,14 +69,11 @@ a lot of data that needs to be copied, this should be set high. */
|
||||||
#define MEMP_NUM_NETBUF 2
|
#define MEMP_NUM_NETBUF 2
|
||||||
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN 4
|
#define MEMP_NUM_NETCONN 4
|
||||||
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
|
/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used
|
||||||
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
|
|
||||||
for sequential API communication and incoming packets. Used in
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
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
|
/* These two control is reclaimer functions should be compiled
|
||||||
in. Should always be turned on (1). */
|
in. Should always be turned on (1). */
|
||||||
|
|
|
@ -68,14 +68,11 @@ a lot of data that needs to be copied, this should be set high. */
|
||||||
#define MEMP_NUM_NETBUF 0
|
#define MEMP_NUM_NETBUF 0
|
||||||
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN 0
|
#define MEMP_NUM_NETCONN 0
|
||||||
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
|
/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used
|
||||||
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
|
|
||||||
for sequential API communication and incoming packets. Used in
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
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
|
/* MEMP_NUM_SYS_TIMEOUT: the number of simultaneously active
|
||||||
timeouts. */
|
timeouts. */
|
||||||
#define MEMP_NUM_SYS_TIMEOUT 0
|
#define MEMP_NUM_SYS_TIMEOUT 0
|
||||||
|
@ -222,7 +219,6 @@ extern unsigned char debug_flags;
|
||||||
#define TCP_INPUT_DEBUG LWIP_DBG_OFF
|
#define TCP_INPUT_DEBUG LWIP_DBG_OFF
|
||||||
#define TCP_FR_DEBUG LWIP_DBG_OFF
|
#define TCP_FR_DEBUG LWIP_DBG_OFF
|
||||||
#define TCP_RTO_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_CWND_DEBUG LWIP_DBG_OFF
|
||||||
#define TCP_WND_DEBUG LWIP_DBG_OFF
|
#define TCP_WND_DEBUG LWIP_DBG_OFF
|
||||||
#define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
|
#define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
|
||||||
|
|
|
@ -107,15 +107,11 @@ a lot of data that needs to be copied, this should be set high. */
|
||||||
#define MEMP_NUM_NETBUF 2
|
#define MEMP_NUM_NETBUF 2
|
||||||
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN 10
|
#define MEMP_NUM_NETCONN 10
|
||||||
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
|
/* MEMP_NUM_TCPIP_MSG: the number of struct tcpip_msg, which is used
|
||||||
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
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
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 options ---------- */
|
||||||
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
|
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user