Struct ospf_parser::OspfOpaqueLinkAdvertisement [−][src]
pub struct OspfOpaqueLinkAdvertisement {
pub header: OspfLinkStateAdvertisementHeader,
pub data: Vec<u8>,
}
Expand description
The Opaque LSA (RFC5250)
Opaque LSAs are Type 9, 10, and 11 link state advertisements. These advertisements MAY be used directly by OSPF or indirectly by some application wishing to distribute information throughout the OSPF domain. The function of the Opaque LSA option is to provide for future OSPF extensibility.
Opaque LSAs contain some number of octets (of application-specific data) padded to 32-bit alignment. Like any other LSA, the Opaque LSA uses the link-state database distribution mechanism for flooding this information throughout the topology. However, the Opaque LSA has a flooding scope associated with it so that the scope of flooding may be link-local (type-9), area-local (type-10), or the entire OSPF routing domain (type-11). Section 3 of this document describes the flooding procedures for the Opaque LSA.
Fields
header: OspfLinkStateAdvertisementHeader
data: Vec<u8>