pub struct ExtendedInfiniBandLrh {
pub src_vl: u32,
pub src_sl: u32,
pub src_dlid: u32,
pub src_slid: u32,
pub src_lnh: u32,
pub dst_vl: u32,
pub dst_sl: u32,
pub dst_dlid: u32,
pub dst_slid: u32,
pub dst_lnh: u32,
}Expand description
Extended InfiniBand LRH - Format (0,1031)
InfiniBand Local Routing Header information
§XDR Definition (sFlow InfiniBand)
/* Extended IB LRH Data
- Local Routing Header definition from InfiniBand Architecture
Specification */
/* opaque = ib_lrh_data; enterprise = 0; format = 1031 */
struct extended_ib_lrh {
unsigned int src_vl; /* source virtual lane */
unsigned int src_sl; /* source service level */
unsigned int src_dlid; /* source destination-local-ID */
unsigned int src_slid; /* source source-local-ID */
unsigned int src_lnh; /* source link next header */
unsigned int dst_vl; /* Destination virtual lane */
unsigned int dst_sl; /* Destination service level */
unsigned int dst_dlid; /* Destination destination-local-ID */
unsigned int dst_slid; /* Destination source-local-ID */
unsigned int dst_lnh; /* Destination link next header */
}Fields§
§src_vl: u32Source virtual lane
src_sl: u32Source service level
src_dlid: u32Source destination-local-ID
src_slid: u32Source source-local-ID
src_lnh: u32Source link next header
dst_vl: u32Destination virtual lane
dst_sl: u32Destination service level
dst_dlid: u32Destination destination-local-ID
dst_slid: u32Destination source-local-ID
dst_lnh: u32Destination link next header
Trait Implementations§
Source§impl Clone for ExtendedInfiniBandLrh
impl Clone for ExtendedInfiniBandLrh
Source§fn clone(&self) -> ExtendedInfiniBandLrh
fn clone(&self) -> ExtendedInfiniBandLrh
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 ExtendedInfiniBandLrh
impl Debug for ExtendedInfiniBandLrh
Source§impl PartialEq for ExtendedInfiniBandLrh
impl PartialEq for ExtendedInfiniBandLrh
impl Eq for ExtendedInfiniBandLrh
impl StructuralPartialEq for ExtendedInfiniBandLrh
Auto Trait Implementations§
impl Freeze for ExtendedInfiniBandLrh
impl RefUnwindSafe for ExtendedInfiniBandLrh
impl Send for ExtendedInfiniBandLrh
impl Sync for ExtendedInfiniBandLrh
impl Unpin for ExtendedInfiniBandLrh
impl UnwindSafe for ExtendedInfiniBandLrh
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