Struct redbpf_probes::bindings::ethtool_fecparam[][src]

#[repr(C)]
pub struct ethtool_fecparam { pub cmd: __u32, pub active_fec: __u32, pub fec: __u32, pub reserved: __u32, }
Expand description

struct ethtool_fecparam - Ethernet forward error correction(fec) parameters @cmd: Command number = %ETHTOOL_GFECPARAM or %ETHTOOL_SFECPARAM @active_fec: FEC mode which is active on porte @fec: Bitmask of supported/configured FEC modes @rsvd: Reserved for future extensions. i.e FEC bypass feature.

Drivers should reject a non-zero setting of @autoneg when autoneogotiation is disabled (or not supported) for the link.

Fields

cmd: __u32active_fec: __u32fec: __u32reserved: __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 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.