pub struct LsaHeader {
pub ls_age: u16,
pub options: u8,
pub ls_type: LsaType,
pub link_state_id: u32,
pub advertising_router: u32,
pub seq_number: u32,
pub checksum: u16,
pub length: u16,
}Expand description
LSA header (20 bytes)
Fields§
§ls_age: u16Age of the LSA in ticks
options: u8Options field
ls_type: LsaTypeLSA type
link_state_id: u32Link State ID
advertising_router: u32Advertising router ID
seq_number: u32Sequence number (for versioning)
checksum: u16Checksum
length: u16Total length of LSA including header
Implementations§
Trait Implementations§
impl Copy for LsaHeader
impl Eq for LsaHeader
impl StructuralPartialEq for LsaHeader
Auto Trait Implementations§
impl Freeze for LsaHeader
impl RefUnwindSafe for LsaHeader
impl Send for LsaHeader
impl Sync for LsaHeader
impl Unpin for LsaHeader
impl UnwindSafe for LsaHeader
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)