[][src]Struct ospf_parser::Ospfv3InterAreaPrefixLSA

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

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

Implementations

impl Ospfv3InterAreaPrefixLSA[src]

Trait Implementations

impl Debug for Ospfv3InterAreaPrefixLSA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.