Struct ospf_parser::Ospfv3NetworkLSA [−][src]
pub struct Ospfv3NetworkLSA {
pub header: Ospfv3LinkStateAdvertisementHeader,
pub reserved: u8,
pub options: u32,
pub attached_routers: Vec<u32>,
}
Expand description
Network links advertisements (v3)
Network-LSAs have LS type equal to 0x2002. A network-LSA is originated for each broadcast and NBMA link in the area that includes two or more adjacent routers. The network-LSA is originated by the link’s Designated Router. The LSA describes all routers attached to the link including the Designated Router itself. The LSA’s Link State ID field is set to the Interface ID that the Designated Router has been advertising in Hello packets on the link.
The distance from the network to all attached routers is zero. This is why the Metric fields need not be specified in the network-LSA. For details concerning the construction of network-LSAs, see Section 4.4.3.3.
Fields
header: Ospfv3LinkStateAdvertisementHeader
reserved: u8
options: u32
attached_routers: Vec<u32>