[][src]Struct ospf_parser::Ospfv3LinkLSA

pub struct Ospfv3LinkLSA {
    pub header: Ospfv3LinkStateAdvertisementHeader,
    pub router_priority: u8,
    pub options: u32,
    pub link_local_interface_address: Vec<u8>,
    pub num_prefixes: u32,
    pub address_prefixes: Vec<Ospfv3IPv6AddressPrefix>,
}

Link-LSAs

Link-LSAs have LS type equal to 0x0008. A router originates a separate link-LSA for each attached physical link. These LSAs have link-local flooding scope; they are never flooded beyond the associated link. Link-LSAs have three purposes:

  1. They provide the router's link-local address to all other routers attached to the link.

  2. They inform other routers attached to the link of a list of IPv6 prefixes to associate with the link.

  3. They allow the router to advertise a collection of Options bits in the network-LSA originated by the Designated Router on a broadcast or NBMA link.

For details concerning the construction of links-LSAs, see Section 4.4.3.8.

A link-LSA's Link State ID is set equal to the originating router's Interface ID on the link.

Fields

header: Ospfv3LinkStateAdvertisementHeaderrouter_priority: u8options: u32link_local_interface_address: Vec<u8>num_prefixes: u32address_prefixes: Vec<Ospfv3IPv6AddressPrefix>

Implementations

impl Ospfv3LinkLSA[src]

Trait Implementations

impl Debug for Ospfv3LinkLSA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.