Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_stats_eth Struct Reference

All Ethernet specific statistics. More...

#include <net_stats.h>

Data Fields

struct net_stats_bytes bytes
 Total number of bytes received and sent.
 
struct net_stats_pkts pkts
 Total number of packets received and sent.
 
struct net_stats_pkts broadcast
 Total number of broadcast packets received and sent.
 
struct net_stats_pkts multicast
 Total number of multicast packets received and sent.
 
struct net_stats_pkts errors
 Total number of errors in RX and TX.
 
struct net_stats_eth_errors error_details
 Total number of errors in RX and TX.
 
struct net_stats_eth_flow flow_control
 Total number of flow control errors in RX and TX.
 
struct net_stats_eth_csum csum
 Total number of checksum errors in RX and TX.
 
struct net_stats_eth_hw_timestamp hw_timestamp
 Total number of hardware timestamp errors in RX and TX.
 
net_stats_t collisions
 Total number of collisions.
 
net_stats_t tx_dropped
 Total number of dropped TX packets.
 
net_stats_t tx_timeout_count
 Total number of TX timeout errors.
 
net_stats_t tx_restart_queue
 Total number of TX queue restarts.
 
net_stats_t unknown_protocol
 Total number of RX unknown protocol packets.
 

Detailed Description

All Ethernet specific statistics.

Field Documentation

◆ broadcast

struct net_stats_pkts net_stats_eth::broadcast

Total number of broadcast packets received and sent.

◆ bytes

struct net_stats_bytes net_stats_eth::bytes

Total number of bytes received and sent.

◆ collisions

net_stats_t net_stats_eth::collisions

Total number of collisions.

◆ csum

struct net_stats_eth_csum net_stats_eth::csum

Total number of checksum errors in RX and TX.

◆ error_details

struct net_stats_eth_errors net_stats_eth::error_details

Total number of errors in RX and TX.

◆ errors

struct net_stats_pkts net_stats_eth::errors

Total number of errors in RX and TX.

◆ flow_control

struct net_stats_eth_flow net_stats_eth::flow_control

Total number of flow control errors in RX and TX.

◆ hw_timestamp

struct net_stats_eth_hw_timestamp net_stats_eth::hw_timestamp

Total number of hardware timestamp errors in RX and TX.

◆ multicast

struct net_stats_pkts net_stats_eth::multicast

Total number of multicast packets received and sent.

◆ pkts

struct net_stats_pkts net_stats_eth::pkts

Total number of packets received and sent.

◆ tx_dropped

net_stats_t net_stats_eth::tx_dropped

Total number of dropped TX packets.

◆ tx_restart_queue

net_stats_t net_stats_eth::tx_restart_queue

Total number of TX queue restarts.

◆ tx_timeout_count

net_stats_t net_stats_eth::tx_timeout_count

Total number of TX timeout errors.

◆ unknown_protocol

net_stats_t net_stats_eth::unknown_protocol

Total number of RX unknown protocol packets.


The documentation for this struct was generated from the following file: