Struct xdpsock::umem::Umem [−][src]
pub struct Umem<'a> { /* fields omitted */ }
A region of virtual contiguous memory divided into equal-sized frames. It provides the underlying working memory for an AF_XDP socket.
Implementations
impl Umem<'_>
[src]
impl Umem<'_>
[src]pub fn builder(config: UmemConfig) -> UmemBuilder
[src]
pub fn config(&self) -> &UmemConfig
[src]
Config used for building the UMEM.
pub fn mtu(&self) -> usize
[src]
The maximum transmission unit, this determines the largest packet that may be sent.
Equal to frame_size - (XDP_PACKET_HEADROOM + frame_headroom)
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Umem<'a>
impl<'a> RefUnwindSafe for Umem<'a>
impl<'a> UnwindSafe for Umem<'a>
impl<'a> UnwindSafe for Umem<'a>