pub struct OspfRouterLinksAdvertisement {
pub header: OspfLinkStateAdvertisementHeader,
pub flags: u16,
pub num_links: u16,
pub links: Vec<OspfRouterLink>,
}
Expand description
Router links advertisements
Router links advertisements are the Type 1 link state advertisements. Each router in an area originates a router links advertisement. The advertisement describes the state and cost of the router’s links (i.e., interfaces) to the area. All of the router’s links to the area must be described in a single router links advertisement. For details concerning the construction of router links advertisements, see Section 12.4.1.
Fields§
§header: OspfLinkStateAdvertisementHeader
§flags: u16
§num_links: u16
§links: Vec<OspfRouterLink>
Trait Implementations§
Source§impl Debug for OspfRouterLinksAdvertisement
impl Debug for OspfRouterLinksAdvertisement
Source§impl<'nom> Parse<&'nom [u8]> for OspfRouterLinksAdvertisement
impl<'nom> Parse<&'nom [u8]> for OspfRouterLinksAdvertisement
Auto Trait Implementations§
impl Freeze for OspfRouterLinksAdvertisement
impl RefUnwindSafe for OspfRouterLinksAdvertisement
impl Send for OspfRouterLinksAdvertisement
impl Sync for OspfRouterLinksAdvertisement
impl Unpin for OspfRouterLinksAdvertisement
impl UnwindSafe for OspfRouterLinksAdvertisement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more