Watt-32 tcp/ip  2.2 dev-rel.10
Functions | Variables
pcstat.c File Reference

Go to the source code of this file.

Functions

int W32_CALL sock_stats (sock_type *sock, DWORD *days, WORD *inactive, WORD *cwindow, DWORD *avg, DWORD *sd)
 
void print_mac_stats (void)
 
void print_vjc_stats (void)
 
void print_pkt_stats (void)
 
void print_ip4_stats (void)
 
void print_ip6_stats (void)
 
void print_icmp_stats (void)
 
void print_icmp6_stats (void)
 
void print_igmp_stats (void)
 
void print_udp_stats (void)
 
void print_tcp_stats (void)
 
void print_cache_stats (void)
 
void print_all_stats (void)
 
void reset_stats (void)
 
static __inline void show_stat (const char *name, DWORD num)
 
static __inline void show_stat64 (const char *name, uint64 num)
 
void W32_CALL print_arp_stats (void)
 
void W32_CALL print_rarp_stats (void)
 
void W32_CALL print_pppoe_stats (void)
 
void update_in_stat (void)
 
void update_out_stat (void)
 

Variables

struct macstat macstats
 
struct ipstat ip4stats
 
struct ip6stat ip6stats
 
struct udpstat udpstats
 
struct icmpstat icmpstats
 
struct icmp6stat icmp6stats
 
struct igmpstat igmpstats
 
struct pppoestat pppoestats
 
struct cache_stat cache_stats
 
struct tcpstat tcpstats
 

Detailed Description

Input/output statistics.

Definition in file pcstat.c.

Function Documentation

void update_in_stat ( void  )
Todo:
Count PPP protocols LCP and IPCP
Todo:
Count these IPv6 protocols

Definition at line 583 of file pcstat.c.

References _eth_addr.

void update_out_stat ( void  )
Todo:
Count the PPP protocols LCP and IPCP
Todo:
Count these IPv6 protocols

Definition at line 724 of file pcstat.c.