pub struct WakableRings {
pub fill_ring: WakableFillRing,
pub rx_ring: Option<RxRing>,
pub completion_ring: CompletionRing,
pub tx_ring: Option<WakableTxRing>,
}Expand description
The set of rings tied to an XDP socket
Fields§
§fill_ring: WakableFillRingThe ring used by userspace to inform the kernel of memory addresses that you wish it to fill with packet received on the bound NIC
rx_ring: Option<RxRing>The ring used by the kernel to place packets that have finished receiving
completion_ring: CompletionRingThe ring used by the kernel to inform userspace when packets have finished sending
tx_ring: Option<WakableTxRing>The ring used by userspace to enqueue packets to be sent on the bound NIC
Auto Trait Implementations§
impl Freeze for WakableRings
impl RefUnwindSafe for WakableRings
impl Send for WakableRings
impl Sync for WakableRings
impl Unpin for WakableRings
impl !UnwindSafe for WakableRings
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