[][src]Struct ospf_parser::Ospfv3ASExternalLSA

pub struct Ospfv3ASExternalLSA {
    pub header: Ospfv3LinkStateAdvertisementHeader,
    pub flags: u8,
    pub metric: u32,
    pub address_prefix: Ospfv3IPv6AddressPrefix,
    pub forwarding_address: Option<Vec<u8>>,
    pub external_route_tag: Option<u32>,
    pub referenced_link_state_id: Option<u32>,
}

AS-External-LSAs

AS-external-LSAs have LS type equal to 0x4005. These LSAs are originated by AS boundary routers and describe destinations external to the AS. Each LSA describes a route to a single IPv6 address prefix. For details concerning the construction of AS-external-LSAs, see Section 4.4.3.6.

AS-external-LSAs can be used to describe a default route. Default routes are used when no specific route exists to the destination. When describing a default route, the AS-external-LSA's PrefixLength is set to 0.

Fields

header: Ospfv3LinkStateAdvertisementHeaderflags: u8metric: u32address_prefix: Ospfv3IPv6AddressPrefixforwarding_address: Option<Vec<u8>>external_route_tag: Option<u32>referenced_link_state_id: Option<u32>

Implementations

impl Ospfv3ASExternalLSA[src]

Trait Implementations

impl Debug for Ospfv3ASExternalLSA[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.