pub enum Nla {
Show 22 variants
Unspec(Vec<u8>),
Destination(Vec<u8>),
Source(Vec<u8>),
Iifname(String),
Goto(u32),
Priority(u32),
FwMark(u32),
FwMask(u32),
Flow(u32),
TunId(u32),
SuppressIfGroup(u32),
SuppressPrefixLen(u32),
Table(u32),
OifName(String),
Pad(Vec<u8>),
L3MDev(u8),
UidRange(Vec<u8>),
Protocol(u8),
IpProto(u8),
SourcePortRange(Vec<u8>),
DestinationPortRange(Vec<u8>),
Other(DefaultNla),
}
Variants
Unspec(Vec<u8>)
Destination(Vec<u8>)
destination address
Source(Vec<u8>)
source address
Iifname(String)
input interface name
Goto(u32)
target to jump to when used with rule action FR_ACT_GOTO
Priority(u32)
FwMark(u32)
FwMask(u32)
Flow(u32)
flow class id,
TunId(u32)
SuppressIfGroup(u32)
SuppressPrefixLen(u32)
Table(u32)
OifName(String)
output interface name
Pad(Vec<u8>)
L3MDev(u8)
iif or oif is l3mdev goto its table
UidRange(Vec<u8>)
Protocol(u8)
RTPROT_*
IpProto(u8)
AF_*
SourcePortRange(Vec<u8>)
DestinationPortRange(Vec<u8>)
Other(DefaultNla)
Trait Implementations
impl Eq for Nla
impl StructuralEq for Nla
impl StructuralPartialEq for Nla
Auto Trait Implementations
impl RefUnwindSafe for Nla
impl Send for Nla
impl Sync for Nla
impl Unpin for Nla
impl UnwindSafe for Nla
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