Struct ospf_parser::OspfHellov3Packet[][src]

pub struct OspfHellov3Packet {
    pub header: Ospfv3PacketHeader,
    pub interface_id: u32,
    pub router_priority: u8,
    pub options: u32,
    pub hello_interval: u16,
    pub router_dead_interval: u16,
    pub designated_router: u32,
    pub backup_designated_router: u32,
    pub neighbor_list: Vec<u32>,
}
Expand description

The Hello packet (v3)

Hello packets are OSPF packet type 1. These packets are sent periodically on all interfaces (including virtual links) in order to establish and maintain neighbor relationships. In addition, Hello packets are multicast on those links having a multicast or broadcast capability, enabling dynamic discovery of neighboring routers.

All routers connected to a common link must agree on certain parameters (HelloInterval and RouterDeadInterval). These parameters are included in Hello packets allowing differences to inhibit the forming of neighbor relationships. The Hello packet also contains fields used in Designated Router election (Designated Router ID and Backup Designated Router ID), and fields used to detect bidirectional communication (the Router IDs of all neighbors whose Hellos have been recently received).

Fields

header: Ospfv3PacketHeaderinterface_id: u32router_priority: u8options: u32hello_interval: u16router_dead_interval: u16designated_router: u32backup_designated_router: u32neighbor_list: Vec<u32>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Parse input as Big-Endian

Parse input as Little-Endian

Parse input, not knowing the endianness Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.