Struct ospf_parser::Ospfv3NetworkLSA[][src]

pub struct Ospfv3NetworkLSA {
    pub header: Ospfv3LinkStateAdvertisementHeader,
    pub reserved: u8,
    pub options: u32,
    pub attached_routers: Vec<u32>,
}
Expand description

Network links advertisements (v3)

Network-LSAs have LS type equal to 0x2002. A network-LSA is originated for each broadcast and NBMA link in the area that includes two or more adjacent routers. The network-LSA is originated by the link’s Designated Router. The LSA describes all routers attached to the link including the Designated Router itself. The LSA’s Link State ID field is set to the Interface ID that the Designated Router has been advertising in Hello packets on the link.

The distance from the network to all attached routers is zero. This is why the Metric fields need not be specified in the network-LSA. For details concerning the construction of network-LSAs, see Section 4.4.3.3.

Fields

header: Ospfv3LinkStateAdvertisementHeaderreserved: u8options: u32attached_routers: Vec<u32>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Parse input as Big-Endian

Parse input as Little-Endian

Parse input, not knowing the endianness Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.