pub struct ExtendedRouter {
    pub next_hop: Address,
    pub src_mask_len: u32,
    pub dst_mask_len: u32,
}Expand description
Extended Router Data - Format (0,1002)
Layer 3 routing information
§XDR Definition (sFlow v5)
/* Extended Router Data */
/* opaque = flow_data; enterprise = 0; format = 1002 */
struct extended_router {
    next_hop nexthop;          /* IP address of immediate next hop router */
    unsigned int src_mask_len; /* Source address prefix mask (number of bits) */
    unsigned int dst_mask_len; /* Destination address prefix mask (number of bits) */
}ERRATUM: The specification was clarified to specify “immediate” next hop router.
Fields§
§next_hop: AddressIP address of immediate next hop router (spec: nexthop) ERRATUM: Clarified as “immediate” next hop router
src_mask_len: u32Source subnet mask bits
dst_mask_len: u32Destination subnet mask bits
Trait Implementations§
Source§impl Clone for ExtendedRouter
 
impl Clone for ExtendedRouter
Source§fn clone(&self) -> ExtendedRouter
 
fn clone(&self) -> ExtendedRouter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for ExtendedRouter
 
impl Debug for ExtendedRouter
Source§impl PartialEq for ExtendedRouter
 
impl PartialEq for ExtendedRouter
impl Eq for ExtendedRouter
impl StructuralPartialEq for ExtendedRouter
Auto Trait Implementations§
impl Freeze for ExtendedRouter
impl RefUnwindSafe for ExtendedRouter
impl Send for ExtendedRouter
impl Sync for ExtendedRouter
impl Unpin for ExtendedRouter
impl UnwindSafe for ExtendedRouter
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