Struct ospf_parser::OspfRouterLinksAdvertisement [−][src]
pub struct OspfRouterLinksAdvertisement {
pub header: OspfLinkStateAdvertisementHeader,
pub flags: u16,
pub num_links: u16,
pub links: Vec<OspfRouterLink>,
}
Expand description
Router links advertisements
Router links advertisements are the Type 1 link state advertisements. Each router in an area originates a router links advertisement. The advertisement describes the state and cost of the router’s links (i.e., interfaces) to the area. All of the router’s links to the area must be described in a single router links advertisement. For details concerning the construction of router links advertisements, see Section 12.4.1.
Fields
header: OspfLinkStateAdvertisementHeader
flags: u16
num_links: u16
links: Vec<OspfRouterLink>