extern struct rtnl_link_stats [src]
Fields
rx_packets: u32total packets received
tx_packets: u32total packets transmitted
rx_bytes: u32total bytes received
tx_bytes: u32total bytes transmitted
rx_errors: u32bad packets received
tx_errors: u32packet transmit problems
rx_dropped: u32no space in linux buffers
tx_dropped: u32no space available in linux
multicast: u32multicast packets received
collisions: u32
rx_length_errors: u32
rx_over_errors: u32receiver ring buff overflow
rx_crc_errors: u32recved pkt with crc error
rx_frame_errors: u32recv'd frame alignment error
rx_fifo_errors: u32recv'r fifo overrun
rx_missed_errors: u32receiver missed packet
tx_aborted_errors: u32
tx_carrier_errors: u32
tx_fifo_errors: u32
tx_heartbeat_errors: u32
tx_window_errors: u32
rx_compressed: u32
tx_compressed: u32
rx_nohandler: u32dropped, no handler found
Source
pub const rtnl_link_stats = extern struct {
/// total packets received
rx_packets: u32,
/// total packets transmitted
tx_packets: u32,
/// total bytes received
rx_bytes: u32,
/// total bytes transmitted
tx_bytes: u32,
/// bad packets received
rx_errors: u32,
/// packet transmit problems
tx_errors: u32,
/// no space in linux buffers
rx_dropped: u32,
/// no space available in linux
tx_dropped: u32,
/// multicast packets received
multicast: u32,
collisions: u32,
// detailed rx_errors
rx_length_errors: u32,
/// receiver ring buff overflow
rx_over_errors: u32,
/// recved pkt with crc error
rx_crc_errors: u32,
/// recv'd frame alignment error
rx_frame_errors: u32,
/// recv'r fifo overrun
rx_fifo_errors: u32,
/// receiver missed packet
rx_missed_errors: u32,
// detailed tx_errors
tx_aborted_errors: u32,
tx_carrier_errors: u32,
tx_fifo_errors: u32,
tx_heartbeat_errors: u32,
tx_window_errors: u32,
// for cslip etc
rx_compressed: u32,
tx_compressed: u32,
/// dropped, no handler found
rx_nohandler: u32,
}