[−][src]Struct ospf_parser::Ospfv3NetworkLSA
Network links advertisements (v3)
Network-LSAs have LS type equal to 0x2002. A network-LSA is originated for each broadcast and NBMA link in the area that includes two or more adjacent routers. The network-LSA is originated by the link's Designated Router. The LSA describes all routers attached to the link including the Designated Router itself. The LSA's Link State ID field is set to the Interface ID that the Designated Router has been advertising in Hello packets on the link.
The distance from the network to all attached routers is zero. This is why the Metric fields need not be specified in the network-LSA. For details concerning the construction of network-LSAs, see Section 4.4.3.3.
Fields
header: Ospfv3LinkStateAdvertisementHeader
reserved: u8
options: u32
attached_routers: Vec<u32>
Implementations
impl Ospfv3NetworkLSA
[src]
impl Ospfv3NetworkLSA
[src]
pub fn iter_attached_routers(&self) -> impl Iterator<Item = Ipv4Addr> + '_
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ospfv3NetworkLSA
impl Send for Ospfv3NetworkLSA
impl Sync for Ospfv3NetworkLSA
impl Unpin for Ospfv3NetworkLSA
impl UnwindSafe for Ospfv3NetworkLSA
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>,