#[repr(transparent)]pub struct MtlRxq0OperationMode2(pub u32);Expand description
Queue 0 Receive Operation Mode.
Tuple Fields§
§0: u32Implementations§
Source§impl MtlRxq0OperationMode2
impl MtlRxq0OperationMode2
Sourcepub const fn fup(&self) -> bool
pub const fn fup(&self) -> bool
Forward Undersized Good Packets. Raw bit values: false (0) = Disable: Forward Undersized Good Packets is disabled.; true (1) = Enable: Forward Undersized Good Packets is enabled.
Sourcepub const fn set_fup(&mut self, val: bool)
pub const fn set_fup(&mut self, val: bool)
Forward Undersized Good Packets. Raw bit values: false (0) = Disable: Forward Undersized Good Packets is disabled.; true (1) = Enable: Forward Undersized Good Packets is enabled.
Sourcepub const fn fep(&self) -> bool
pub const fn fep(&self) -> bool
Forward Error Packets. Raw bit values: false (0) = Disable: Forward Error Packets is disabled.; true (1) = Enable: Forward Error Packets is enabled.
Sourcepub const fn set_fep(&mut self, val: bool)
pub const fn set_fep(&mut self, val: bool)
Forward Error Packets. Raw bit values: false (0) = Disable: Forward Error Packets is disabled.; true (1) = Enable: Forward Error Packets is enabled.
Sourcepub const fn rsf(&self) -> bool
pub const fn rsf(&self) -> bool
Receive Queue Store and Forward. Raw bit values: false (0) = Disable: Receive Queue Store and Forward is disabled.; true (1) = Enable: Receive Queue Store and Forward is enabled.
Sourcepub const fn set_rsf(&mut self, val: bool)
pub const fn set_rsf(&mut self, val: bool)
Receive Queue Store and Forward. Raw bit values: false (0) = Disable: Receive Queue Store and Forward is disabled.; true (1) = Enable: Receive Queue Store and Forward is enabled.
Sourcepub const fn dis_tcp_ef(&self) -> bool
pub const fn dis_tcp_ef(&self) -> bool
Disable Dropping of TCP/IP Checksum Error Packets. Raw bit values: false (0) = Enable: Dropping of TCP/IP Checksum Error Packets is enabled.; true (1) = Disable: Dropping of TCP/IP Checksum Error Packets is disabled.
Sourcepub const fn set_dis_tcp_ef(&mut self, val: bool)
pub const fn set_dis_tcp_ef(&mut self, val: bool)
Disable Dropping of TCP/IP Checksum Error Packets. Raw bit values: false (0) = Enable: Dropping of TCP/IP Checksum Error Packets is enabled.; true (1) = Disable: Dropping of TCP/IP Checksum Error Packets is disabled.
Trait Implementations§
Source§impl Clone for MtlRxq0OperationMode2
impl Clone for MtlRxq0OperationMode2
Source§fn clone(&self) -> MtlRxq0OperationMode2
fn clone(&self) -> MtlRxq0OperationMode2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more