#[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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.