#[repr(C)]pub struct NfMsgPacketHdr {
pub packet_id: u32,
pub hw_protocol: u16,
pub hook: u8,
}Expand description
Metaheader wrapping a packet
Fields§
§packet_id: u32unique ID of the packet
hw_protocol: u16hw protocol (network order)
hook: u8Netfilter hook
Auto Trait Implementations§
impl Freeze for NfMsgPacketHdr
impl RefUnwindSafe for NfMsgPacketHdr
impl Send for NfMsgPacketHdr
impl Sync for NfMsgPacketHdr
impl Unpin for NfMsgPacketHdr
impl UnwindSafe for NfMsgPacketHdr
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