Struct ospf_parser::Ospfv3ASExternalLSA[][src]

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>,
}
Expand description

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>

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.