Struct Macl3l4cr
#[repr(transparent)]pub struct Macl3l4cr(pub u32);Expand description
L3 and L4 control register.
Tuple Fields§
§0: u32Implementations§
§impl Macl3l4cr
impl Macl3l4cr
pub const fn set_l3saim(&mut self, val: bool)
pub const fn set_l3saim(&mut self, val: bool)
Layer 3 IP SA Inverse Match Enable.
pub const fn set_l3daim(&mut self, val: bool)
pub const fn set_l3daim(&mut self, val: bool)
Layer 3 IP DA Inverse Match Enable.
pub const fn set_l3hsbm(&mut self, val: u8)
pub const fn set_l3hsbm(&mut self, val: u8)
Layer 3 IP SA higher bits match.
pub const fn set_l3hdbm(&mut self, val: u8)
pub const fn set_l3hdbm(&mut self, val: u8)
Layer 3 IP DA higher bits match.
pub const fn set_l4spim(&mut self, val: bool)
pub const fn set_l4spim(&mut self, val: bool)
Layer 4 Source Port Inverse Match Enable.
pub const fn set_l4dpim(&mut self, val: bool)
pub const fn set_l4dpim(&mut self, val: bool)
Layer 4 Destination Port Inverse Match Enable.
Trait Implementations§
impl Copy for Macl3l4cr
impl Eq for Macl3l4cr
impl StructuralPartialEq for Macl3l4cr
Auto Trait Implementations§
impl Freeze for Macl3l4cr
impl RefUnwindSafe for Macl3l4cr
impl Send for Macl3l4cr
impl Sync for Macl3l4cr
impl Unpin for Macl3l4cr
impl UnsafeUnpin for Macl3l4cr
impl UnwindSafe for Macl3l4cr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more