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: Ospfv3PacketHeader
interface_id: u32
router_priority: u8
options: u32
hello_interval: u16
router_dead_interval: u16
designated_router: u32
backup_designated_router: u32
neighbor_list: Vec<u32>