Struct ospf_parser::OspfLinkStateUpdatePacket [−][src]
pub struct OspfLinkStateUpdatePacket {
pub header: Ospfv2PacketHeader,
pub num_advertisements: u32,
pub lsa: Vec<OspfLinkStateAdvertisement>,
}
Expand description
The Link State Update packet
Link State Update packets are OSPF packet type 4. These packets implement the flooding of link state advertisements. Each Link State Update packet carries a collection of link state advertisements one hop further from its origin. Several link state advertisements may be included in a single packet.
Link State Update packets are multicast on those physical networks that support multicast/broadcast. In order to make the flooding procedure reliable, flooded advertisements are acknowledged in Link State Acknowledgment packets. If retransmission of certain advertisements is necessary, the retransmitted advertisements are always carried by unicast Link State Update packets. For more information on the reliable flooding of link state advertisements, consult Section 13.
Fields
header: Ospfv2PacketHeader
num_advertisements: u32
lsa: Vec<OspfLinkStateAdvertisement>