pub const rtnl_link_stats = extern struct 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: u32rx_length_errors: u32rx_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: u32detailed tx_errors
tx_carrier_errors: u32tx_fifo_errors: u32tx_heartbeat_errors: u32tx_window_errors: u32rx_compressed: u32tx_compressed: u32rx_nohandler: u32dropped, no handler found
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229pub 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,
}