Struct ospf_parser::Ospfv3InterAreaPrefixLSA[][src]

pub struct Ospfv3InterAreaPrefixLSA {
    pub header: Ospfv3LinkStateAdvertisementHeader,
    pub reserved0: u8,
    pub metric: u32,
    pub prefix: Ospfv3IPv6AddressPrefix,
}
Expand description

Inter-Area-Prefix-LSAs (v3)

Inter-area-prefix-LSAs have LS type equal to 0x2003. These LSAs are the IPv6 equivalent of OSPF for IPv4’s type 3 summary-LSAs (see Section 12.4.3 of [OSPFV2]). Originated by area border routers, they describe routes to IPv6 address prefixes that belong to other areas. A separate inter-area-prefix-LSA is originated for each IPv6 address prefix. For details concerning the construction of inter-area- prefix-LSAs, see Section 4.4.3.4.

For stub areas, inter-area-prefix-LSAs can also be used to describe a (per-area) default route. Default summary routes are used in stub areas instead of flooding a complete set of external routes. When describing a default summary route, the inter-area-prefix-LSA’s PrefixLength is set to 0.

Fields

header: Ospfv3LinkStateAdvertisementHeaderreserved0: u8metric: u32prefix: 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.