mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-10-05 18:56:32 +00:00
do not define all STAT opts they default to 1 if LWIP_STATS is 1
This commit is contained in:
parent
52c01f0a10
commit
af5cf38bea
@ -218,18 +218,12 @@ a lot of data that needs to be copied, this should be set high. */
|
||||
#define RAW_TTL 255
|
||||
|
||||
/* ---------- Statistics options ---------- */
|
||||
/* individual STATS options can be turned off by defining them to 0
|
||||
* (e.g #define TCP_STATS 0). All of them are turned off if LWIP_STATS
|
||||
* is 0
|
||||
* */
|
||||
|
||||
#ifdef LWIP_STATS
|
||||
#define LINK_STATS
|
||||
#define IP_STATS
|
||||
#define ICMP_STATS
|
||||
#define UDP_STATS
|
||||
#define TCP_STATS
|
||||
#define MEM_STATS
|
||||
#define MEMP_STATS
|
||||
#define PBUF_STATS
|
||||
#define SYS_STATS
|
||||
#endif /* LWIP_STATS */
|
||||
#define LWIP_STATS 1
|
||||
|
||||
/* ---------- PPP options ---------- */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user