Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

uip_stats Struct Reference
[The uIP TCP/IP stack]

#include <uip.h>


Detailed Description

The structure holding the TCP/IP statistics that are gathered if UIP_STATISTICS is set to 1.


Data Fields

struct {
   uip_stats_t   drop
   uip_stats_t   recv
   uip_stats_t   sent
   uip_stats_t   vhlerr
   uip_stats_t   hblenerr
   uip_stats_t   lblenerr
   uip_stats_t   fragerr
   uip_stats_t   chkerr
   uip_stats_t   protoerr
ip
 IP statistics.

struct {
   uip_stats_t   drop
   uip_stats_t   recv
   uip_stats_t   sent
   uip_stats_t   typeerr
icmp
 ICMP statistics.

struct {
   uip_stats_t   drop
   uip_stats_t   recv
   uip_stats_t   sent
   uip_stats_t   chkerr
   uip_stats_t   ackerr
   uip_stats_t   rst
   uip_stats_t   rexmit
   uip_stats_t   syndrop
   uip_stats_t   synrst
tcp
 TCP statistics.


Field Documentation

uip_stats_t uip_stats::ackerr
 

Number of TCP segments with a bad ACK number.

uip_stats_t uip_stats::chkerr
 

Number of TCP segments with a bad checksum.

uip_stats_t uip_stats::drop
 

Number of dropped TCP segments.

uip_stats_t uip_stats::fragerr
 

Number of packets dropped since they were IP fragments.

uip_stats_t uip_stats::hblenerr
 

Number of packets dropped due to wrong IP length, high byte.

uip_stats_t uip_stats::lblenerr
 

Number of packets dropped due to wrong IP length, low byte.

uip_stats_t uip_stats::protoerr
 

Number of packets dropped since they were neither ICMP, UDP nor TCP.

uip_stats_t uip_stats::recv
 

Number of recived TCP segments.

uip_stats_t uip_stats::rexmit
 

Number of retransmitted TCP segments.

uip_stats_t uip_stats::rst
 

Number of recevied TCP RST (reset) segments.

uip_stats_t uip_stats::sent
 

Number of sent TCP segments.

uip_stats_t uip_stats::syndrop
 

Number of dropped SYNs due to too few connections was avaliable.

uip_stats_t uip_stats::synrst
 

Number of SYNs for closed ports, triggering a RST.

uip_stats_t uip_stats::typeerr
 

Number of ICMP packets with a wrong type.

uip_stats_t uip_stats::vhlerr
 

Number of packets dropped due to wrong IP version or header length.


Generated on Tue Oct 7 15:51:43 2003 for uIP 0.9 by doxygen 1.3.3