Home
last modified time | relevance | path

Searched refs:lwip_stats (Results 1 – 8 of 8) sorted by relevance

/third_party/lwip/test/unit/ip4/
Dtest_ip4.c84 memset(&lwip_stats.mib2, 0, sizeof(lwip_stats.mib2)); in START_TEST()
87 fail_unless(lwip_stats.ip_frag.recv == 1); in START_TEST()
88 fail_unless(lwip_stats.ip_frag.err == 0); in START_TEST()
89 fail_unless(lwip_stats.ip_frag.memerr == 0); in START_TEST()
90 fail_unless(lwip_stats.ip_frag.drop == 0); in START_TEST()
91 fail_unless(lwip_stats.mib2.ipreasmoks == 0); in START_TEST()
94 fail_unless(lwip_stats.ip_frag.recv == 2); in START_TEST()
95 fail_unless(lwip_stats.ip_frag.err == 0); in START_TEST()
96 fail_unless(lwip_stats.ip_frag.memerr == 0); in START_TEST()
97 fail_unless(lwip_stats.ip_frag.drop == 0); in START_TEST()
[all …]
/third_party/lwip/test/unit/core/
Dtest_mem.c40 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
44 fail_unless(lwip_stats.mem.used >= SIZE1); in START_TEST()
45 s1 = lwip_stats.mem.used; in START_TEST()
49 fail_unless(lwip_stats.mem.used >= SIZE2 + s1); in START_TEST()
50 s2 = lwip_stats.mem.used; in START_TEST()
55 fail_unless(lwip_stats.mem.used <= s2 - SIZE2); in START_TEST()
58 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
100 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
105 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
107 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
[all …]
Dtest_pbuf.c80 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
102 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
104 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
/third_party/lwip/src/include/lwip/
Dstats.h304 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, type) do { lwip_stats.x.used = (type)(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")
[all …]
/third_party/lwip/test/unit/
Dlwip_unittests.c46 fail_unless(lwip_stats.mem.used == 0); in lwip_check_ensure_no_alloc()
50 fail_unless(lwip_stats.memp[i]->used == 0); in lwip_check_ensure_no_alloc()
/third_party/lwip/src/core/
Dstats.c50 struct stats_ lwip_stats; variable
57 lwip_stats.mem.name = "MEM"; in stats_init()
Dmemp.c233 lwip_stats.memp[i] = memp_pools[i]->stats; in memp_init()
/third_party/lwip/
DCHANGELOG3830 call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input().