[][src]Enum netlink_packet_route::rtnl::rule::nlas::Nla

pub enum Nla {
    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 Clone for Nla[src]

impl Debug for Nla[src]

impl Eq for Nla[src]

impl Nla for Nla[src]

impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>> for Nla[src]

impl PartialEq<Nla> for Nla[src]

impl StructuralEq for Nla[src]

impl StructuralPartialEq for Nla[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Emitable for T where
    T: Nla
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.