Statistics module.
#include "lwip/opt.h"
#include "lwip/def.h"
#include "lwip/stats.h"
#include "lwip/mem.h"
#include <string.h>
#include "lwip/memp_std.h"
Macros | |
#define | LWIP_MEMPOOL(name, num, size, desc) desc, |
Functions | |
void | stats_display (void) |
void | stats_display_mem (struct stats_mem *mem, char *name) |
void | stats_display_memp (struct stats_mem *mem, int index) |
void | stats_display_proto (struct stats_proto *proto, char *name) |
void | stats_display_sys (struct stats_sys *sys) |
void | stats_init (void) |
Variables | |
struct stats_ | lwip_stats |
#define LWIP_MEMPOOL | ( | name, | |
num, | |||
size, | |||
desc | |||
) | desc, |
References ETHARP_STATS_DISPLAY, ICMP_STATS_DISPLAY, IGMP_STATS_DISPLAY, IP_STATS_DISPLAY, IPFRAG_STATS_DISPLAY, LINK_STATS_DISPLAY, MEM_STATS_DISPLAY, MEMP_MAX, MEMP_STATS_DISPLAY, SYS_STATS_DISPLAY, TCP_STATS_DISPLAY, and UDP_STATS_DISPLAY.
Referenced by e_ip_stat().
References stats_mem::avail, stats_mem::err, LWIP_PLATFORM_DIAG, stats_mem::max, U32_F, and stats_mem::used.
Referenced by stats_display_memp().
References MEMP_MAX, and stats_display_mem().
void stats_display_proto | ( | struct stats_proto * | proto, |
char * | name | ||
) |
References lwip_stats, stats_::mem, stats_::memp, and MEMP_MAX.
Referenced by lwip_init().
struct stats_ lwip_stats |
Referenced by stats_init(), sys_mbox_free(), sys_mbox_new(), sys_sem_free(), and sys_sem_new().