mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-30 15:15:05 +00:00
Add some deprecated options from "task #7142 : Sanity check user-configurable values".
This commit is contained in:
parent
e3cd1ac1f9
commit
75d4c9b446
@ -127,13 +127,22 @@
|
|||||||
/* Compile-time checks for deprecated options.
|
/* Compile-time checks for deprecated options.
|
||||||
*/
|
*/
|
||||||
#ifdef MEMP_NUM_TCPIP_MSG
|
#ifdef MEMP_NUM_TCPIP_MSG
|
||||||
#error MEMP_NUM_TCPIP_MSG option is deprecated. Remove it from your lwipopts.h.
|
#error "MEMP_NUM_TCPIP_MSG option is deprecated. Remove it from your lwipopts.h."
|
||||||
|
#endif
|
||||||
|
#ifdef MEMP_NUM_API_MSG
|
||||||
|
#error "MEMP_NUM_API_MSG option is deprecated. Remove it from your lwipopts.h."
|
||||||
|
#endif
|
||||||
|
#ifdef TCP_REXMIT_DEBUG
|
||||||
|
#error "TCP_REXMIT_DEBUG option is deprecated. Remove it from your lwipopts.h."
|
||||||
|
#endif
|
||||||
|
#ifdef RAW_STATS
|
||||||
|
#error "RAW_STATS option is deprecated. Remove it from your lwipopts.h."
|
||||||
#endif
|
#endif
|
||||||
#ifdef ETHARP_QUEUE_FIRST
|
#ifdef ETHARP_QUEUE_FIRST
|
||||||
#error ETHARP_QUEUE_FIRST option is deprecated. Remove it from your lwipopts.h.
|
#error "ETHARP_QUEUE_FIRST option is deprecated. Remove it from your lwipopts.h."
|
||||||
#endif
|
#endif
|
||||||
#ifdef ETHARP_ALWAYS_INSERT
|
#ifdef ETHARP_ALWAYS_INSERT
|
||||||
#error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
|
#error "ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h."
|
||||||
#endif
|
#endif
|
||||||
#if SO_REUSE
|
#if SO_REUSE
|
||||||
/* I removed the lot since this was an ugly hack. It broke the raw-API.
|
/* I removed the lot since this was an ugly hack. It broke the raw-API.
|
||||||
|
@ -1386,13 +1386,6 @@
|
|||||||
#define TCP_RTO_DEBUG LWIP_DBG_OFF
|
#define TCP_RTO_DEBUG LWIP_DBG_OFF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* TCP_REXMIT_DEBUG: Unused.
|
|
||||||
*/
|
|
||||||
#ifndef TCP_REXMIT_DEBUG
|
|
||||||
#define TCP_REXMIT_DEBUG LWIP_DBG_OFF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TCP_CWND_DEBUG: Enable debugging for TCP congestion window.
|
* TCP_CWND_DEBUG: Enable debugging for TCP congestion window.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user