pub struct PacketHdr {
pub packet_id: u32,
pub hw_protocol: u16,
pub hook: u8,
}Fields§
§packet_id: u32§hw_protocol: u16ETH_P_* constants in if_ether.h
hook: u8enum nf_inet_hooks in netfilter.h
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PacketHdr
impl RefUnwindSafe for PacketHdr
impl Send for PacketHdr
impl Sync for PacketHdr
impl Unpin for PacketHdr
impl UnwindSafe for PacketHdr
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