50 struct stats_ lwip_stats;
52 #if defined(LWIP_DEBUG) || LWIP_STATS_DISPLAY 54 static const char * memp_names[] = {
55 #define LWIP_MEMPOOL(name,num,size,desc) desc, 68 lwip_stats.memp[i].name = memp_names[i];
72 lwip_stats.mem.name =
"MEM";
77 #if LWIP_STATS_DISPLAY 96 #if IGMP_STATS || MLD6_STATS 118 #if MEM_STATS || MEMP_STATS #define IP6_STATS_DISPLAY()
#define IGMP_STATS_DISPLAY()
#define TCP_STATS_DISPLAY()
#define stats_display_mem(mem, name)
#define ICMP_STATS_DISPLAY()
#define stats_display_proto(proto, name)
#define MLD6_STATS_DISPLAY()
#define LINK_STATS_DISPLAY()
#define stats_display_igmp(igmp, name)
#define ND6_STATS_DISPLAY()
#define MEM_STATS_DISPLAY()
#define IP_STATS_DISPLAY()
#define IP6_FRAG_STATS_DISPLAY()
#define stats_display_memp(mem, index)
#define stats_display_sys(sys)
#define ETHARP_STATS_DISPLAY()
#define LWIP_PLATFORM_DIAG(message)
#define UDP_STATS_DISPLAY()
#define ICMP6_STATS_DISPLAY()
#define SYS_STATS_DISPLAY()
#define IPFRAG_STATS_DISPLAY()
#define MEMP_STATS_DISPLAY(i)