Contiki 2.5
|
The structure holding the TCP/IP statistics that are gathered if UIP_STATISTICS is set to 1. More...
#include <core/net/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 since 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 since 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 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... | |
The structure holding the TCP/IP statistics that are gathered if UIP_STATISTICS is set to 1.
uip_stats_t uip_stats::chkerr |
uip_stats_t uip_stats::drop |
uip_stats_t uip_stats::forwarded |
uip_stats_t uip_stats::fragerr |
uip_stats_t uip_stats::hblenerr |
struct { ... } uip_stats::icmp |
ICMP statistics.
struct { ... } uip_stats::ip |
IP statistics.
uip_stats_t uip_stats::lblenerr |
uip_stats_t uip_stats::protoerr |
uip_stats_t uip_stats::recv |
uip_stats_t uip_stats::sent |
uip_stats_t uip_stats::typeerr |
struct { ... } uip_stats::udp |
UDP statistics.
uip_stats_t uip_stats::vhlerr |