[][src]Struct ospf_parser::Ospfv3DatabaseDescriptionPacket

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>,
}

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: Ospfv3PacketHeaderreserved0: u8options: u32if_mtu: u16reserved: u8db_description: u8dd_sequence_number: u32lsa_headers: Vec<Ospfv3LinkStateAdvertisementHeader>

Implementations

impl Ospfv3DatabaseDescriptionPacket[src]

Trait Implementations

impl Debug for Ospfv3DatabaseDescriptionPacket[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.