Lines Matching refs:lwip_stats

304 extern struct stats_ lwip_stats;
309 #define STATS_INC(x) ++lwip_stats.x
310 #define STATS_DEC(x) --lwip_stats.x
311 #define STATS_INC_USED(x, y) do { lwip_stats.x.used += y; \
312 if (lwip_stats.x.max < lwip_stats.x.used) { \
313 lwip_stats.x.max = lwip_stats.x.used; \
316 #define STATS_GET(x) lwip_stats.x
326 #define TCP_STATS_DISPLAY() stats_display_proto(&lwip_stats.tcp, "TCP")
334 #define UDP_STATS_DISPLAY() stats_display_proto(&lwip_stats.udp, "UDP")
342 #define ICMP_STATS_DISPLAY() stats_display_proto(&lwip_stats.icmp, "ICMP")
350 #define IGMP_STATS_DISPLAY() stats_display_igmp(&lwip_stats.igmp, "IGMP")
358 #define IP_STATS_DISPLAY() stats_display_proto(&lwip_stats.ip, "IP")
366 #define IPFRAG_STATS_DISPLAY() stats_display_proto(&lwip_stats.ip_frag, "IP_FRAG")
374 #define ETHARP_STATS_DISPLAY() stats_display_proto(&lwip_stats.etharp, "ETHARP")
382 #define LINK_STATS_DISPLAY() stats_display_proto(&lwip_stats.link, "LINK")
389 #define MEM_STATS_AVAIL(x, y) lwip_stats.mem.x = y
392 #define MEM_STATS_DEC_USED(x, y) lwip_stats.mem.x -= y
393 #define MEM_STATS_DISPLAY() stats_display_mem(&lwip_stats.mem, "HEAP")
404 #define MEMP_STATS_DISPLAY(i) stats_display_memp(lwip_stats.memp[i], i)
416 #define SYS_STATS_DISPLAY() stats_display_sys(&lwip_stats.sys)
426 #define IP6_STATS_DISPLAY() stats_display_proto(&lwip_stats.ip6, "IPv6")
434 #define ICMP6_STATS_DISPLAY() stats_display_proto(&lwip_stats.icmp6, "ICMPv6")
442 #define IP6_FRAG_STATS_DISPLAY() stats_display_proto(&lwip_stats.ip6_frag, "IPv6 FRAG")
450 #define MLD6_STATS_DISPLAY() stats_display_igmp(&lwip_stats.mld6, "MLDv1")
458 #define ND6_STATS_DISPLAY() stats_display_proto(&lwip_stats.nd6, "ND")