[−][src]Struct ospf_parser::OspfHellov3Packet
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>
Implementations
impl OspfHellov3Packet
[src]
impl OspfHellov3Packet
[src]
pub fn designated_router(&self) -> Ipv4Addr
[src]
pub fn backup_designated_router(&self) -> Ipv4Addr
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OspfHellov3Packet
impl Send for OspfHellov3Packet
impl Sync for OspfHellov3Packet
impl Unpin for OspfHellov3Packet
impl UnwindSafe for OspfHellov3Packet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,