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: OspfLinkStateAdvertisementHeader
network_mask: u32
external_and_reserved: u8
metric: u32
forwarding_address: u32
external_route_tag: u32
tos_list: Vec<OspfExternalTosRoute>