#[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: u64Offset from the start of the UMEM.
len: u32Length of packet in bytes.
options: XdpDescOptionsOptions.
Trait Implementations§
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