#[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::Ipv4
hooks.
The actual priority is the base priority plus the priority specified when registering.
Variants
First
Same as the NF_IP_PRI_FIRST
C constant.
RawBeforeDefrag
Same as the NF_IP_PRI_RAW_BEFORE_DEFRAG
C constant.
ConnTrackDefrag
Same as the NF_IP_PRI_CONNTRACK_DEFRAG
C constant.
Raw
Same as the NF_IP_PRI_RAW
C constant.
SeLinuxFirst
Same as the NF_IP_PRI_SELINUX_FIRST
C constant.
ConnTrack
Same as the NF_IP_PRI_CONNTRACK
C constant.
Mangle
Same as the NF_IP_PRI_MANGLE
C constant.
NatDst
Same as the NF_IP_PRI_NAT_DST
C constant.
Filter
Same as the NF_IP_PRI_FILTER
C constant.
Security
Same as the NF_IP_PRI_SECURITY
C constant.
NatSrc
Same as the NF_IP_PRI_NAT_SRC
C constant.
SeLinuxLast
Same as the NF_IP_PRI_SELINUX_LAST
C constant.
ConnTrackHelper
Same as the NF_IP_PRI_CONNTRACK_HELPER
C constant.
Last
Same as the NF_IP_PRI_LAST
and NF_IP_PRI_CONNTRACK_CONFIRM
C constants.