Struct ospf_parser::OspfDatabaseDescriptionPacket [−][src]
pub struct OspfDatabaseDescriptionPacket {
pub header: Ospfv2PacketHeader,
pub if_mtu: u16,
pub options: u8,
pub flags: u8,
pub dd_sequence_number: u32,
pub lsa_headers: Vec<OspfLinkStateAdvertisementHeader>,
}
Expand description
The Database Description packet
Database Description packets are OSPF packet type 2. These packets are exchanged when an adjacency is being initialized. They describe the contents of the topological database. Multiple packets may be used to describe the database. For this purpose a poll-response procedure is used. One of the routers is designated to be master, the other a slave. The master sends Database Description packets (polls) which are acknowledged by Database Description packets sent by the slave (responses). The responses are linked to the polls via the packets’ DD sequence numbers.
Fields
header: Ospfv2PacketHeader
if_mtu: u16
options: u8
flags: u8
dd_sequence_number: u32
lsa_headers: Vec<OspfLinkStateAdvertisementHeader>