32 #ifndef __LWIP_STATS_H__ 33 #define __LWIP_STATS_H__ 76 struct stats_syselem {
83 struct stats_syselem sem;
84 struct stats_syselem mbox;
88 struct stats_proto
link;
90 struct stats_proto ip;
91 struct stats_proto icmp;
92 struct stats_proto udp;
93 struct stats_proto tcp;
94 struct stats_pbuf
pbuf;
100 extern struct stats_ lwip_stats;
105 #define STATS_INC(x) ++lwip_stats.x 112 #define TCP_STATS_INC(x) STATS_INC(x) 114 #define TCP_STATS_INC(x) 118 #define UDP_STATS_INC(x) STATS_INC(x) 120 #define UDP_STATS_INC(x) 124 #define ICMP_STATS_INC(x) STATS_INC(x) 126 #define ICMP_STATS_INC(x) 130 #define IP_STATS_INC(x) STATS_INC(x) 132 #define IP_STATS_INC(x) 136 #define IPFRAG_STATS_INC(x) STATS_INC(x) 138 #define IPFRAG_STATS_INC(x) 142 #define LINK_STATS_INC(x) STATS_INC(x) 144 #define LINK_STATS_INC(x) 148 #if LWIP_STATS_DISPLAY 151 #define stats_display()
#define stats_init()
Definition: stats.h:107
int link(const char *oldpath, const char *newpath)
Definition: compat_ctype.c:438
int opterr
Definition: compat_getopt.c:41
ssize_t recv(int sockfd, void *buf, size_t len, int flags)
err_t ip_frag(struct pbuf *p, struct netif *netif, struct ip_addr *dest)
Definition: ip_frag.c:292
u16_t mem_size_t
Definition: mem.h:41
#define stats_display()
Definition: stats.h:151
u16 u16_t
Definition: cc.h:45