Struct ospf_parser::OspfNetworkLinksAdvertisement [−][src]
pub struct OspfNetworkLinksAdvertisement {
pub header: OspfLinkStateAdvertisementHeader,
pub network_mask: u32,
pub attached_routers: Vec<u32>,
}
Expand description
Network links advertisements
Network links advertisements are the Type 2 link state advertisements. A network links advertisement is originated for each transit network in the area. A transit network is a multi- access network that has more than one attached router. The network links advertisement is originated by the network’s Designated Router. The advertisement describes all routers attached to the network, including the Designated Router itself. The advertisement’s Link State ID field lists the IP interface address of the Designated Router.
The distance from the network to all attached routers is zero, for all Types of Service. This is why the TOS and metric fields need not be specified in the network links advertisement. For details concerning the construction of network links advertisements, see Section 12.4.2.
Fields
header: OspfLinkStateAdvertisementHeader
network_mask: u32
attached_routers: Vec<u32>