#[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 StructuralEq for XdpDesc
impl StructuralPartialEq for XdpDesc
Auto Trait Implementations§
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