Struct rtnetlink::RouteHeader[][src]

pub struct RouteHeader {
    pub address_family: u8,
    pub destination_length: u8,
    pub source_length: u8,
    pub tos: u8,
    pub table: RouteTable,
    pub protocol: RouteProtocol,
    pub scope: RouteScope,
    pub kind: RouteKind,
    pub flags: RouteFlags,
}

Fields

Address family of the route

Length of destination

Length of source

TOS filter

The routing table ID

The routing protocol

Distance to the destination

Route type

Trait Implementations

impl Debug for RouteHeader
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RouteHeader
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RouteHeader
[src]

impl Hash for RouteHeader
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for RouteHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Deserialize the current type.

impl Emitable for RouteHeader
[src]

Return the length of the serialized data.

Serialize this types and write the serialized data into the given buffer. Read more

Auto Trait Implementations

impl Send for RouteHeader

impl Sync for RouteHeader