Struct ospf_parser::Ospfv3LinkLSA [−][src]
pub struct Ospfv3LinkLSA {
pub header: Ospfv3LinkStateAdvertisementHeader,
pub router_priority: u8,
pub options: u32,
pub link_local_interface_address: Vec<u8>,
pub num_prefixes: u32,
pub address_prefixes: Vec<Ospfv3IPv6AddressPrefix>,
}
Expand description
Link-LSAs
Link-LSAs have LS type equal to 0x0008. A router originates a separate link-LSA for each attached physical link. These LSAs have link-local flooding scope; they are never flooded beyond the associated link. Link-LSAs have three purposes:
-
They provide the router’s link-local address to all other routers attached to the link.
-
They inform other routers attached to the link of a list of IPv6 prefixes to associate with the link.
-
They allow the router to advertise a collection of Options bits in the network-LSA originated by the Designated Router on a broadcast or NBMA link.
For details concerning the construction of links-LSAs, see Section 4.4.3.8.
A link-LSA’s Link State ID is set equal to the originating router’s Interface ID on the link.
Fields
header: Ospfv3LinkStateAdvertisementHeader
router_priority: u8
options: u32
link_local_interface_address: Vec<u8>
num_prefixes: u32
address_prefixes: Vec<Ospfv3IPv6AddressPrefix>