Module nlas

Module nlas 

Source

Re-exports§

pub use super::address::nlas as address;
pub use super::neighbour::nlas as neighbour;
pub use super::neighbour_table::nlas as neighbour_table;
pub use super::nsid::nlas as nsid;
pub use super::route::nlas as route;
pub use super::rule::nlas as rule;
pub use super::tc::nlas as tc;

Structs§

DefaultNla
NlaBuffer
NlasIterator
An iterator that iteratates over nlas without decoding them. This is useful when looking for specific nlas.

Constants§

NLA_ALIGNTO
NlA(RTA) align size
NLA_F_NESTED
Identify the bits that represent the “nested” flag of a netlink attribute.
NLA_F_NET_BYTEORDER
Identify the bits that represent the “byte order” flag of a netlink attribute.
NLA_HEADER_SIZE
NlA(RTA) header size. (unsigned short rta_len) + (unsigned short rta_type)
NLA_TYPE_MASK
Identify the bits that represent the type of a netlink attribute.

Traits§

Nla