pub struct NetfilterLinkInfo {
pub protocol_family: u32,
pub hooknum: u32,
pub priority: i32,
pub flags: u32,
}
Expand description
Information about a BPF netfilter link.
Fields§
§protocol_family: u32
Protocol family of the netfilter hook.
hooknum: u32
Netfilter hook number.
priority: i32
Priority of the netfilter link.
flags: u32
Flags used for the netfilter link.
Trait Implementations§
Source§impl Clone for NetfilterLinkInfo
impl Clone for NetfilterLinkInfo
Source§fn clone(&self) -> NetfilterLinkInfo
fn clone(&self) -> NetfilterLinkInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NetfilterLinkInfo
impl RefUnwindSafe for NetfilterLinkInfo
impl Send for NetfilterLinkInfo
impl Sync for NetfilterLinkInfo
impl Unpin for NetfilterLinkInfo
impl UnwindSafe for NetfilterLinkInfo
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