Struct ospf_parser::Ospfv3IntraAreaPrefixLSA [−][src]
pub struct Ospfv3IntraAreaPrefixLSA {
pub header: Ospfv3LinkStateAdvertisementHeader,
pub num_prefixes: u16,
pub referenced_ls_type: u16,
pub referenced_link_state_id: u32,
pub referenced_advertising_router: u32,
pub address_prefixes: Vec<Ospfv3IPv6AddressPrefix>,
}
Expand description
Intra-Area-Prefix-LSAs
Intra-area-prefix-LSAs have LS type equal to 0x2009. A router uses intra-area-prefix-LSAs to advertise one or more IPv6 address prefixes that are associated with a local router address, an attached stub network segment, or an attached transit network segment. In IPv4, the first two were accomplished via the router’s router-LSA and the last via a network-LSA. In OSPF for IPv6, all addressing information that was advertised in router-LSAs and network-LSAs has been removed and is now advertised in intra-area-prefix-LSAs. For details concerning the construction of intra-area-prefix-LSA, see Section 4.4.3.9.
A router can originate multiple intra-area-prefix-LSAs for each router or transit network. Each such LSA is distinguished by its unique Link State ID.
Fields
header: Ospfv3LinkStateAdvertisementHeader
num_prefixes: u16
referenced_ls_type: u16
referenced_link_state_id: u32
referenced_advertising_router: u32
address_prefixes: Vec<Ospfv3IPv6AddressPrefix>