Struct rustix::net::xdp::XdpUmemReg
source · #[repr(C)]pub struct XdpUmemReg {
pub addr: u64,
pub len: u64,
pub chunk_size: u32,
pub headroom: u32,
pub flags: XdpUmemRegFlags,
}
Expand description
XDP umem registration.
struct xdp_umem_reg
Fields§
§addr: u64
Start address of UMEM.
len: u64
Umem length in bytes.
chunk_size: u32
Chunk size in bytes.
headroom: u32
Headroom in bytes.
flags: XdpUmemRegFlags
Flags.
Requires kernel version 5.4.
Trait Implementations§
source§impl Clone for XdpUmemReg
impl Clone for XdpUmemReg
source§fn clone(&self) -> XdpUmemReg
fn clone(&self) -> XdpUmemReg
Returns a copy 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 XdpUmemReg
impl Debug for XdpUmemReg
source§impl Hash for XdpUmemReg
impl Hash for XdpUmemReg
source§impl PartialEq for XdpUmemReg
impl PartialEq for XdpUmemReg
impl Copy for XdpUmemReg
impl Eq for XdpUmemReg
impl StructuralPartialEq for XdpUmemReg
Auto Trait Implementations§
impl Freeze for XdpUmemReg
impl RefUnwindSafe for XdpUmemReg
impl Send for XdpUmemReg
impl Sync for XdpUmemReg
impl Unpin for XdpUmemReg
impl UnwindSafe for XdpUmemReg
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)