#[repr(C)]pub struct XdpDesc {
pub addr: u64,
pub len: u32,
pub options: XdpDescOptions,
}
Expand description
XDP rx/tx frame descriptor.
struct xdp_desc
Fields§
§addr: u64
Offset from the start of the UMEM.
len: u32
Length of packet in bytes.
options: XdpDescOptions
Options.
Trait Implementations§
source§impl PartialEq for XdpDesc
impl PartialEq for XdpDesc
impl Copy for XdpDesc
impl Eq for XdpDesc
impl StructuralPartialEq for XdpDesc
Auto Trait Implementations§
impl Freeze for XdpDesc
impl RefUnwindSafe for XdpDesc
impl Send for XdpDesc
impl Sync for XdpDesc
impl Unpin for XdpDesc
impl UnwindSafe for XdpDesc
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)