Struct ospf_parser::OspfNetworkLinksAdvertisement[][src]

pub struct OspfNetworkLinksAdvertisement {
    pub header: OspfLinkStateAdvertisementHeader,
    pub network_mask: u32,
    pub attached_routers: Vec<u32>,
}
Expand description

Network links advertisements

Network links advertisements are the Type 2 link state advertisements. A network links advertisement is originated for each transit network in the area. A transit network is a multi- access network that has more than one attached router. The network links advertisement is originated by the network’s Designated Router. The advertisement describes all routers attached to the network, including the Designated Router itself. The advertisement’s Link State ID field lists the IP interface address of the Designated Router.

The distance from the network to all attached routers is zero, for all Types of Service. This is why the TOS and metric fields need not be specified in the network links advertisement. For details concerning the construction of network links advertisements, see Section 12.4.2.

Fields

header: OspfLinkStateAdvertisementHeadernetwork_mask: u32attached_routers: Vec<u32>

Implementations

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.