Enum netlink_packet_route::rtnl::rule::nlas::Nla [−][src]
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)
Tuple Fields
0: String
input interface name
Goto(u32)
Tuple Fields
0: u32
target to jump to when used with rule action FR_ACT_GOTO
Priority(u32)
Tuple Fields
0: u32
FwMark(u32)
Tuple Fields
0: u32
FwMask(u32)
Tuple Fields
0: u32
Flow(u32)
Tuple Fields
0: u32
flow class id,
TunId(u32)
Tuple Fields
0: u32
SuppressIfGroup(u32)
Tuple Fields
0: u32
SuppressPrefixLen(u32)
Tuple Fields
0: u32
Table(u32)
Tuple Fields
0: u32
OifName(String)
Tuple Fields
0: String
output interface name
Pad(Vec<u8>)
L3MDev(u8)
Tuple Fields
0: u8
iif or oif is l3mdev goto its table
UidRange(Vec<u8>)
Protocol(u8)
Tuple Fields
0: u8
RTPROT_*
IpProto(u8)
Tuple Fields
0: u8
AF_*
SourcePortRange(Vec<u8>)
DestinationPortRange(Vec<u8>)
Other(DefaultNla)
Tuple Fields
0: DefaultNla
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Nla
impl UnwindSafe for Nla
Blanket Implementations
Mutably borrows from an owned value. Read more