Struct ospf_parser::OspfASExternalLinkAdvertisement[][src]

pub struct OspfASExternalLinkAdvertisement {
    pub header: OspfLinkStateAdvertisementHeader,
    pub network_mask: u32,
    pub external_and_reserved: u8,
    pub metric: u32,
    pub forwarding_address: u32,
    pub external_route_tag: u32,
    pub tos_list: Vec<OspfExternalTosRoute>,
}
Expand description

AS external link advertisements

AS external link advertisements are the Type 5 link state advertisements. These advertisements are originated by AS boundary routers. A separate advertisement is made for each destination (known to the router) which is external to the AS. For details concerning the construction of AS external link advertisements, see Section 12.4.3.

AS external link advertisements usually describe a particular external destination. For these advertisements the Link State ID field specifies an IP network number (if necessary, the Link State ID can also have one or more of the network’s “host” bits set; see Appendix F for details). AS external link advertisements are also used to describe a default route. Default routes are used when no specific route exists to the destination. When describing a default route, the Link State ID is always set to DefaultDestination (0.0.0.0) and the Network Mask is set to 0.0.0.0.

Fields

header: OspfLinkStateAdvertisementHeadernetwork_mask: u32external_and_reserved: u8metric: u32forwarding_address: u32external_route_tag: u32tos_list: Vec<OspfExternalTosRoute>

Implementations

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.