Contiki 3.x
Data Fields
uip_stats Struct Reference

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

#include <core/net/ip/uip.h>

Data Fields

struct {
   uip_stats_t   recv
 Number of received packets at the IP layer. More...
 
   uip_stats_t   sent
 Number of sent packets at the IP layer. More...
 
   uip_stats_t   forwarded
 Number of forwarded packets at the IP layer. More...
 
   uip_stats_t   drop
 Number of dropped packets at the IP layer. More...
 
   uip_stats_t   vhlerr
 Number of packets dropped due to wrong IP version or header length. More...
 
   uip_stats_t   hblenerr
 Number of packets dropped due to wrong IP length, high byte. More...
 
   uip_stats_t   lblenerr
 Number of packets dropped due to wrong IP length, low byte. More...
 
   uip_stats_t   fragerr
 Number of packets dropped because they were IP fragments. More...
 
   uip_stats_t   chkerr
 Number of packets dropped due to IP checksum errors. More...
 
   uip_stats_t   protoerr
 Number of packets dropped because they were neither ICMP, UDP nor TCP. More...
 
ip
 IP statistics. More...
 
struct {
   uip_stats_t   recv
 Number of received ICMP packets. More...
 
   uip_stats_t   sent
 Number of sent ICMP packets. More...
 
   uip_stats_t   drop
 Number of dropped ICMP packets. More...
 
   uip_stats_t   typeerr
 Number of ICMP packets with a wrong type. More...
 
   uip_stats_t   chkerr
 Number of ICMP packets with a bad checksum. More...
 
icmp
 ICMP statistics. More...
 

Detailed Description

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

Definition at line 1439 of file uip.h.

Field Documentation

uip_stats_t uip_stats::chkerr

Number of packets dropped due to IP checksum errors.

Number of ICMP packets with a bad checksum.

Definition at line 1457 of file uip.h.

uip_stats_t uip_stats::drop

Number of dropped packets at the IP layer.

Number of dropped ND6 packets.

Number of dropped ICMP packets.

Definition at line 1447 of file uip.h.

uip_stats_t uip_stats::forwarded

Number of forwarded packets at the IP layer.

Definition at line 1445 of file uip.h.

uip_stats_t uip_stats::fragerr

Number of packets dropped because they were IP fragments.

Definition at line 1455 of file uip.h.

uip_stats_t uip_stats::hblenerr

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

Definition at line 1451 of file uip.h.

struct { ... } uip_stats::icmp

ICMP statistics.

struct { ... } uip_stats::ip

IP statistics.

uip_stats_t uip_stats::lblenerr

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

Definition at line 1453 of file uip.h.

uip_stats_t uip_stats::protoerr

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

Definition at line 1459 of file uip.h.

uip_stats_t uip_stats::recv

Number of received packets at the IP layer.

Number of recived ND6 packets.

Number of received ICMP packets.

Definition at line 1441 of file uip.h.

uip_stats_t uip_stats::sent

Number of sent packets at the IP layer.

Number of sent ND6 packets.

Number of sent ICMP packets.

Definition at line 1443 of file uip.h.

uip_stats_t uip_stats::typeerr

Number of ICMP packets with a wrong type.

Definition at line 1466 of file uip.h.

uip_stats_t uip_stats::vhlerr

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

Definition at line 1449 of file uip.h.