Searched refs:lwip_stats (Results 1 – 8 of 8) sorted by relevance
84 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 …]
40 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 …]
80 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()
304 extern struct stats_ lwip_stats;309 #define STATS_INC(x) ++lwip_stats.x310 #define STATS_DEC(x) --lwip_stats.x311 #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.x326 #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 …]
46 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()
50 struct stats_ lwip_stats; variable57 lwip_stats.mem.name = "MEM"; in stats_init()
233 lwip_stats.memp[i] = memp_pools[i]->stats; in memp_init()
3830 call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input().