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>
Trait Implementations§
Source§impl<'nom> Parse<&'nom [u8]> for Ospfv3DatabaseDescriptionPacket
impl<'nom> Parse<&'nom [u8]> for Ospfv3DatabaseDescriptionPacket
Auto Trait Implementations§
impl Freeze for Ospfv3DatabaseDescriptionPacket
impl RefUnwindSafe for Ospfv3DatabaseDescriptionPacket
impl Send for Ospfv3DatabaseDescriptionPacket
impl Sync for Ospfv3DatabaseDescriptionPacket
impl Unpin for Ospfv3DatabaseDescriptionPacket
impl UnwindSafe for Ospfv3DatabaseDescriptionPacket
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more