Contiki-NG
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 <os/net/ipv6/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...
 
struct {
   uip_stats_t   recv
 Number of recived TCP segments. More...
 
   uip_stats_t   sent
 Number of sent TCP segments. More...
 
   uip_stats_t   drop
 Number of dropped TCP segments. More...
 
   uip_stats_t   chkerr
 Number of TCP segments with a bad checksum. More...
 
   uip_stats_t   ackerr
 Number of TCP segments with a bad ACK number. More...
 
   uip_stats_t   rst
 Number of received TCP RST (reset) segments. More...
 
   uip_stats_t   rexmit
 Number of retransmitted TCP segments. More...
 
   uip_stats_t   syndrop
 Number of dropped SYNs because too few connections were available. More...
 
   uip_stats_t   synrst
 Number of SYNs for closed ports, triggering a RST. More...
 
tcp
 TCP statistics. More...
 
struct {
   uip_stats_t   drop
 Number of dropped UDP segments. More...
 
   uip_stats_t   recv
 Number of recived UDP segments. More...
 
   uip_stats_t   sent
 Number of sent UDP segments. More...
 
   uip_stats_t   chkerr
 Number of UDP segments with a bad checksum. More...
 
udp
 UDP statistics. More...
 

Detailed Description

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

Definition at line 1425 of file uip.h.

Field Documentation

◆ ackerr

uip_stats_t uip_stats::ackerr

Number of TCP segments with a bad ACK number.

Definition at line 1457 of file uip.h.

◆ chkerr

uip_stats_t uip_stats::chkerr

Number of packets dropped due to IP checksum errors.

Number of UDP segments with a bad checksum.

Number of TCP segments with a bad checksum.

Number of ICMP packets with a bad checksum.

Definition at line 1439 of file uip.h.

◆ drop

uip_stats_t uip_stats::drop

Number of dropped packets at the IP layer.

Number of dropped ND6 packets.

Number of dropped UDP segments.

Number of dropped TCP segments.

Number of dropped ICMP packets.

Definition at line 1430 of file uip.h.

◆ forwarded

uip_stats_t uip_stats::forwarded

Number of forwarded packets at the IP layer.

Definition at line 1429 of file uip.h.

◆ fragerr

uip_stats_t uip_stats::fragerr

Number of packets dropped because they were IP fragments.

Definition at line 1437 of file uip.h.

◆ hblenerr

uip_stats_t uip_stats::hblenerr

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

Definition at line 1433 of file uip.h.

◆ icmp

struct { ... } uip_stats::icmp

ICMP statistics.

◆ ip

struct { ... } uip_stats::ip

IP statistics.

◆ lblenerr

uip_stats_t uip_stats::lblenerr

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

Definition at line 1435 of file uip.h.

◆ protoerr

uip_stats_t uip_stats::protoerr

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

Definition at line 1441 of file uip.h.

◆ recv

uip_stats_t uip_stats::recv

Number of received packets at the IP layer.

Number of recived ND6 packets.

Number of recived UDP segments.

Number of recived TCP segments.

Number of received ICMP packets.

Definition at line 1427 of file uip.h.

◆ rexmit

uip_stats_t uip_stats::rexmit

Number of retransmitted TCP segments.

Definition at line 1459 of file uip.h.

◆ rst

uip_stats_t uip_stats::rst

Number of received TCP RST (reset) segments.

Definition at line 1458 of file uip.h.

◆ sent

uip_stats_t uip_stats::sent

Number of sent packets at the IP layer.

Number of sent ND6 packets.

Number of sent UDP segments.

Number of sent TCP segments.

Number of sent ICMP packets.

Definition at line 1428 of file uip.h.

◆ syndrop

uip_stats_t uip_stats::syndrop

Number of dropped SYNs because too few connections were available.

Definition at line 1460 of file uip.h.

◆ synrst

uip_stats_t uip_stats::synrst

Number of SYNs for closed ports, triggering a RST.

Definition at line 1462 of file uip.h.

◆ tcp

struct { ... } uip_stats::tcp

TCP statistics.

◆ typeerr

uip_stats_t uip_stats::typeerr

Number of ICMP packets with a wrong type.

Definition at line 1448 of file uip.h.

◆ udp

struct { ... } uip_stats::udp

UDP statistics.

◆ vhlerr

uip_stats_t uip_stats::vhlerr

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

Definition at line 1431 of file uip.h.