pub struct Ospfv3ASExternalLSA {
pub header: Ospfv3LinkStateAdvertisementHeader,
pub flags: u8,
pub metric: u32,
pub address_prefix: Ospfv3IPv6AddressPrefix,
pub forwarding_address: Option<Vec<u8>>,
pub external_route_tag: Option<u32>,
pub referenced_link_state_id: Option<u32>,
}
Expand description
AS-External-LSAs
AS-external-LSAs have LS type equal to 0x4005. These LSAs are originated by AS boundary routers and describe destinations external to the AS. Each LSA describes a route to a single IPv6 address prefix. For details concerning the construction of AS-external-LSAs, see Section 4.4.3.6.
AS-external-LSAs can be used to describe a default route. Default routes are used when no specific route exists to the destination. When describing a default route, the AS-external-LSA’s PrefixLength is set to 0.
Fields§
§header: Ospfv3LinkStateAdvertisementHeader
§flags: u8
§metric: u32
§address_prefix: Ospfv3IPv6AddressPrefix
§forwarding_address: Option<Vec<u8>>
§external_route_tag: Option<u32>
§referenced_link_state_id: Option<u32>
Trait Implementations§
Source§impl Debug for Ospfv3ASExternalLSA
impl Debug for Ospfv3ASExternalLSA
Source§impl<'nom> Parse<&'nom [u8]> for Ospfv3ASExternalLSA
impl<'nom> Parse<&'nom [u8]> for Ospfv3ASExternalLSA
Auto Trait Implementations§
impl Freeze for Ospfv3ASExternalLSA
impl RefUnwindSafe for Ospfv3ASExternalLSA
impl Send for Ospfv3ASExternalLSA
impl Sync for Ospfv3ASExternalLSA
impl Unpin for Ospfv3ASExternalLSA
impl UnwindSafe for Ospfv3ASExternalLSA
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