pub struct ExtendedInfiniBandBth {
pub pkey: u32,
pub dst_qp: u32,
pub opcode: u32,
}Expand description
Extended InfiniBand BTH - Format (0,1033)
InfiniBand Base Transport Header information
§XDR Definition (sFlow InfiniBand)
/* Extended IB BTH Data
- Base Transport Header definition from InfiniBand Architecture
Specification */
/* opaque = ib_bth_data; enterprise = 0; format = 1033 */
struct extended_ib_bth {
unsigned int pkey; /* Partition key */
unsigned int dst_qp; /* Destination Queue Pair */
unsigned int opcode; /* IBA packet type */
}Fields§
§pkey: u32Partition key
dst_qp: u32Destination Queue Pair
opcode: u32IBA packet type (opcode)
Trait Implementations§
Source§impl Clone for ExtendedInfiniBandBth
impl Clone for ExtendedInfiniBandBth
Source§fn clone(&self) -> ExtendedInfiniBandBth
fn clone(&self) -> ExtendedInfiniBandBth
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 ExtendedInfiniBandBth
impl Debug for ExtendedInfiniBandBth
Source§impl PartialEq for ExtendedInfiniBandBth
impl PartialEq for ExtendedInfiniBandBth
impl Eq for ExtendedInfiniBandBth
impl StructuralPartialEq for ExtendedInfiniBandBth
Auto Trait Implementations§
impl Freeze for ExtendedInfiniBandBth
impl RefUnwindSafe for ExtendedInfiniBandBth
impl Send for ExtendedInfiniBandBth
impl Sync for ExtendedInfiniBandBth
impl Unpin for ExtendedInfiniBandBth
impl UnwindSafe for ExtendedInfiniBandBth
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