Data Structures | |
struct | stats_ |
struct | stats_igmp |
struct | stats_mem |
struct | stats_proto |
struct | stats_sys |
struct | stats_syselem |
Functions | |
void | stats_display (void) |
void | stats_display_igmp (struct stats_igmp *igmp) |
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 ETHARP_STATS_DISPLAY | ( | ) | stats_display_proto(&lwip_stats.etharp, "ETHARP") |
Referenced by stats_display().
#define ETHARP_STATS_INC | ( | x | ) | STATS_INC(x) |
Referenced by etharp_arp_input(), etharp_output(), etharp_query(), etharp_raw(), and ethernet_input().
#define ICMP_STATS_DISPLAY | ( | ) | stats_display_proto(&lwip_stats.icmp, "ICMP") |
Referenced by stats_display().
#define ICMP_STATS_INC | ( | x | ) | STATS_INC(x) |
Referenced by icmp_input(), and icmp_send_response().
#define IGMP_STATS_DISPLAY | ( | ) |
Referenced by stats_display().
#define IGMP_STATS_INC | ( | x | ) |
#define IP_STATS_DISPLAY | ( | ) | stats_display_proto(&lwip_stats.ip, "IP") |
Referenced by stats_display().
#define IP_STATS_INC | ( | x | ) | STATS_INC(x) |
Referenced by ip_input(), ip_output(), and ip_route().
#define IPFRAG_STATS_DISPLAY | ( | ) | stats_display_proto(&lwip_stats.ip_frag, "IP_FRAG") |
Referenced by stats_display().
#define LINK_STATS_DISPLAY | ( | ) | stats_display_proto(&lwip_stats.link, "LINK") |
Referenced by stats_display().
#define LINK_STATS_INC | ( | x | ) | STATS_INC(x) |
Referenced by etharp_output(), low_level_input(), and low_level_output().
#define LWIP_STATS_LARGE 0 |
#define MEM_STATS_AVAIL | ( | x, | |
y | |||
) | lwip_stats.mem.x = y |
Referenced by mem_init().
#define MEM_STATS_DEC_USED | ( | x, | |
y | |||
) | lwip_stats.mem.x -= y |
Referenced by mem_free(), and mem_trim().
#define MEM_STATS_DISPLAY | ( | ) | stats_display_mem(&lwip_stats.mem, "HEAP") |
Referenced by stats_display().
#define MEM_STATS_INC | ( | x | ) | STATS_INC(mem.x) |
Referenced by mem_free(), mem_malloc(), and mem_trim().
#define MEM_STATS_INC_USED | ( | x, | |
y | |||
) | STATS_INC_USED(mem, y) |
Referenced by mem_malloc().
#define MEMP_STATS_AVAIL | ( | x, | |
i, | |||
y | |||
) | lwip_stats.memp[i].x = y |
Referenced by memp_init().
Referenced by memp_free(), and tcp_alloc().
#define MEMP_STATS_DISPLAY | ( | i | ) | stats_display_memp(&lwip_stats.memp[i], i) |
Referenced by stats_display().
#define MEMP_STATS_INC_USED | ( | x, | |
i | |||
) | STATS_INC_USED(memp[i], 1) |
Referenced by if().
#define STAT_COUNTER u16_t |
#define STAT_COUNTER_F U16_F |
Referenced by stats_display_proto().
#define STATS_DEC | ( | x | ) | --lwip_stats.x |
#define STATS_INC | ( | x | ) | ++lwip_stats.x |
#define STATS_INC_USED | ( | x, | |
y | |||
) |
#define SYS_STATS_DEC | ( | x | ) | STATS_DEC(sys.x) |
#define SYS_STATS_DISPLAY | ( | ) | stats_display_sys(&lwip_stats.sys) |
Referenced by stats_display().
#define SYS_STATS_INC | ( | x | ) | STATS_INC(sys.x) |
#define SYS_STATS_INC_USED | ( | x | ) | STATS_INC_USED(sys.x, 1) |
#define TCP_STATS_DISPLAY | ( | ) | stats_display_proto(&lwip_stats.tcp, "TCP") |
Referenced by stats_display().
#define TCP_STATS_INC | ( | x | ) | STATS_INC(x) |
#define UDP_STATS_DISPLAY | ( | ) | stats_display_proto(&lwip_stats.udp, "UDP") |
Referenced by stats_display().
#define UDP_STATS_INC | ( | x | ) | STATS_INC(x) |
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().
void stats_display_igmp | ( | struct stats_igmp * | igmp | ) |
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().