mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-12-10 08:46:40 +08:00
Allow separately selecting various STATS options
This commit is contained in:
parent
1157b0982b
commit
e6f5d8f86b
@ -340,15 +340,41 @@ a lot of data that needs to be copied, this should be set high. */
|
|||||||
|
|
||||||
#if LWIP_STATS
|
#if LWIP_STATS
|
||||||
|
|
||||||
#define LINK_STATS
|
#ifndef LINK_STATS
|
||||||
#define IP_STATS
|
#define LINK_STATS 1
|
||||||
#define ICMP_STATS
|
#endif
|
||||||
#define UDP_STATS
|
|
||||||
#define TCP_STATS
|
#ifndef IP_STATS
|
||||||
#define MEM_STATS
|
#define IP_STATS 1
|
||||||
#define MEMP_STATS
|
#endif
|
||||||
#define PBUF_STATS
|
|
||||||
#define SYS_STATS
|
#ifndef ICMP_STATS
|
||||||
|
#define ICMP_STATS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USP_STATS
|
||||||
|
#define UDP_STATS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef TCP_STATS
|
||||||
|
#define TCP_STATS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef MEM_STATS
|
||||||
|
#define MEM_STATS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef MEMP_STATS
|
||||||
|
#define MEMP_STATS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef PBUF_STATS
|
||||||
|
#define PBUF_STATS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SYS_STATS
|
||||||
|
#define SYS_STATS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* LWIP_STATS */
|
#endif /* LWIP_STATS */
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user