Add some deprecated options from "task #7142 : Sanity check user-configurable values".

This commit is contained in:
fbernon 2007-09-07 23:28:02 +00:00
parent e3cd1ac1f9
commit 75d4c9b446
2 changed files with 12 additions and 10 deletions

View File

@ -127,13 +127,22 @@
/* Compile-time checks for deprecated options.
*/
#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
#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
#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
#if SO_REUSE
/* I removed the lot since this was an ugly hack. It broke the raw-API.

View File

@ -1386,13 +1386,6 @@
#define TCP_RTO_DEBUG LWIP_DBG_OFF
#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.
*/