Struct ospf_parser::Ospfv3LinkLSA[][src]

pub struct Ospfv3LinkLSA {
    pub header: Ospfv3LinkStateAdvertisementHeader,
    pub router_priority: u8,
    pub options: u32,
    pub link_local_interface_address: Vec<u8>,
    pub num_prefixes: u32,
    pub address_prefixes: Vec<Ospfv3IPv6AddressPrefix>,
}
Expand description

Link-LSAs

Link-LSAs have LS type equal to 0x0008. A router originates a separate link-LSA for each attached physical link. These LSAs have link-local flooding scope; they are never flooded beyond the associated link. Link-LSAs have three purposes:

  1. They provide the router’s link-local address to all other routers attached to the link.

  2. They inform other routers attached to the link of a list of IPv6 prefixes to associate with the link.

  3. They allow the router to advertise a collection of Options bits in the network-LSA originated by the Designated Router on a broadcast or NBMA link.

For details concerning the construction of links-LSAs, see Section 4.4.3.8.

A link-LSA’s Link State ID is set equal to the originating router’s Interface ID on the link.

Fields

header: Ospfv3LinkStateAdvertisementHeaderrouter_priority: u8options: u32link_local_interface_address: Vec<u8>num_prefixes: u32address_prefixes: Vec<Ospfv3IPv6AddressPrefix>

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.