Struct ospf_parser::OspfRouterLinksAdvertisement[][src]

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: OspfLinkStateAdvertisementHeaderflags: u16num_links: u16links: Vec<OspfRouterLink>

Trait Implementations

Formats the value using the given formatter. Read more

Parse input as Big-Endian

Parse input as Little-Endian

Parse input, not knowing the endianness Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.