#[repr(i32)]
pub enum PriorityBase {
Show 14 variants
First,
RawBeforeDefrag,
ConnTrackDefrag,
Raw,
SeLinuxFirst,
ConnTrack,
Mangle,
NatDst,
Filter,
Security,
NatSrc,
SeLinuxLast,
ConnTrackHelper,
Last,
}
Expand description
The base priority for super::Family::Ipv6
hooks.
The actual priority is the base priority plus the priority specified when registering.
Variants
First
Same as the NF_IP6_PRI_FIRST
C constant.
RawBeforeDefrag
Same as the NF_IP6_PRI_RAW_BEFORE_DEFRAG
C constant.
ConnTrackDefrag
Same as the NF_IP6_PRI_CONNTRACK_DEFRAG
C constant.
Raw
Same as the NF_IP6_PRI_RAW
C constant.
SeLinuxFirst
Same as the NF_IP6_PRI_SELINUX_FIRST
C constant.
ConnTrack
Same as the NF_IP6_PRI_CONNTRACK
C constant.
Mangle
Same as the NF_IP6_PRI_MANGLE
C constant.
NatDst
Same as the NF_IP6_PRI_NAT_DST
C constant.
Filter
Same as the NF_IP6_PRI_FILTER
C constant.
Security
Same as the NF_IP6_PRI_SECURITY
C constant.
NatSrc
Same as the NF_IP6_PRI_NAT_SRC
C constant.
SeLinuxLast
Same as the NF_IP6_PRI_SELINUX_LAST
C constant.
ConnTrackHelper
Same as the NF_IP6_PRI_CONNTRACK_HELPER
C constant.
Last
Same as the NF_IP6_PRI_LAST
C constant.
Auto Trait Implementations
impl RefUnwindSafe for PriorityBase
impl Send for PriorityBase
impl Sync for PriorityBase
impl Unpin for PriorityBase
impl UnwindSafe for PriorityBase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more