[−][src]Struct ospf_parser::Ospfv3LinkStateAdvertisementHeader
The Link State Advertisement header
All LSAs begin with a common 20-byte header. This header contains enough information to uniquely identify the LSA (LS type, Link State ID, and Advertising Router). Multiple instances of the LSA may exist in the routing domain at the same time. It is then necessary to determine which instance is more recent. This is accomplished by examining the LS age, LS sequence number, and LS checksum fields that are also contained in the LSA header.
Fields
ls_age: u16
link_state_type: Ospfv3LinkStateType
link_state_id: u32
advertising_router: u32
ls_seq_number: u32
ls_checksum: u16
length: u16
Implementations
impl Ospfv3LinkStateAdvertisementHeader
[src]
impl Ospfv3LinkStateAdvertisementHeader
[src]
pub fn link_state_id(&self) -> Ipv4Addr
[src]
pub fn advertising_router(&self) -> Ipv4Addr
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ospfv3LinkStateAdvertisementHeader
impl Send for Ospfv3LinkStateAdvertisementHeader
impl Sync for Ospfv3LinkStateAdvertisementHeader
impl Unpin for Ospfv3LinkStateAdvertisementHeader
impl UnwindSafe for Ospfv3LinkStateAdvertisementHeader
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>,