pub enum NfLogAttr {
Show 20 variants
PacketHdr,
Mark,
Timestamp,
IfindexIndev,
IfindexOutdev,
IfindexPhyindev,
IfindexPhyoutdev,
Hwaddr,
Payload,
Prefix,
Uid,
Seq,
SeqGlobal,
Gid,
Hwtype,
Hwheader,
Hwlen,
Ct,
CtInfo,
UnrecognizedConst(u16),
}
Expand description
Attributes inside a netfilter log packet message.
These are send by the kernel and describe a logged packet.
Variants§
PacketHdr
Mark
Timestamp
IfindexIndev
IfindexOutdev
IfindexPhyindev
IfindexPhyoutdev
Hwaddr
Payload
Prefix
Uid
Seq
SeqGlobal
Gid
Hwtype
Hwheader
Hwlen
Ct
CtInfo
UnrecognizedConst(u16)
Implementations§
Trait Implementations§
Source§impl From<NfLogAttr> for NlAttrTypeWrapper
impl From<NfLogAttr> for NlAttrTypeWrapper
Source§impl Ord for NfLogAttr
impl Ord for NfLogAttr
Source§impl PartialOrd for NfLogAttr
impl PartialOrd for NfLogAttr
Source§impl Size for NfLogAttr
impl Size for NfLogAttr
Source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
Source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.
impl Copy for NfLogAttr
impl Eq for NfLogAttr
impl NlAttrType for NfLogAttr
impl StructuralPartialEq for NfLogAttr
Auto Trait Implementations§
impl Freeze for NfLogAttr
impl RefUnwindSafe for NfLogAttr
impl Send for NfLogAttr
impl Sync for NfLogAttr
impl Unpin for NfLogAttr
impl UnwindSafe for NfLogAttr
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