Struct ospf_parser::Ospfv3DatabaseDescriptionPacket [−][src]
pub struct Ospfv3DatabaseDescriptionPacket {
pub header: Ospfv3PacketHeader,
pub reserved0: u8,
pub options: u32,
pub if_mtu: u16,
pub reserved: u8,
pub db_description: u8,
pub dd_sequence_number: u32,
pub lsa_headers: Vec<Ospfv3LinkStateAdvertisementHeader>,
}
Expand description
The Database Description packet (v3)
Database Description packets are OSPF packet type 2. These packets are exchanged when an adjacency is being initialized. They describe the contents of the link-state 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 the master and the other is the slave. The master sends Database Description packets (polls) that 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: Ospfv3PacketHeader
reserved0: u8
options: u32
if_mtu: u16
reserved: u8
db_description: u8
dd_sequence_number: u32
lsa_headers: Vec<Ospfv3LinkStateAdvertisementHeader>