Struct bpf_sys::rtnl_link_stats[][src]

#[repr(C)]
pub struct rtnl_link_stats {
Show 24 fields pub rx_packets: __u32, pub tx_packets: __u32, pub rx_bytes: __u32, pub tx_bytes: __u32, pub rx_errors: __u32, pub tx_errors: __u32, pub rx_dropped: __u32, pub tx_dropped: __u32, pub multicast: __u32, pub collisions: __u32, pub rx_length_errors: __u32, pub rx_over_errors: __u32, pub rx_crc_errors: __u32, pub rx_frame_errors: __u32, pub rx_fifo_errors: __u32, pub rx_missed_errors: __u32, pub tx_aborted_errors: __u32, pub tx_carrier_errors: __u32, pub tx_fifo_errors: __u32, pub tx_heartbeat_errors: __u32, pub tx_window_errors: __u32, pub rx_compressed: __u32, pub tx_compressed: __u32, pub rx_nohandler: __u32,
}

Fields

rx_packets: __u32tx_packets: __u32rx_bytes: __u32tx_bytes: __u32rx_errors: __u32tx_errors: __u32rx_dropped: __u32tx_dropped: __u32multicast: __u32collisions: __u32rx_length_errors: __u32rx_over_errors: __u32rx_crc_errors: __u32rx_frame_errors: __u32rx_fifo_errors: __u32rx_missed_errors: __u32tx_aborted_errors: __u32tx_carrier_errors: __u32tx_fifo_errors: __u32tx_heartbeat_errors: __u32tx_window_errors: __u32rx_compressed: __u32tx_compressed: __u32rx_nohandler: __u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.