struct XDP [src]

Members

Source

pub const XDP = struct { pub const SHARED_UMEM = (1 << 0); pub const COPY = (1 << 1); pub const ZEROCOPY = (1 << 2); pub const UMEM_UNALIGNED_CHUNK_FLAG = (1 << 0); pub const USE_NEED_WAKEUP = (1 << 3); pub const MMAP_OFFSETS = 1; pub const RX_RING = 2; pub const TX_RING = 3; pub const UMEM_REG = 4; pub const UMEM_FILL_RING = 5; pub const UMEM_COMPLETION_RING = 6; pub const STATISTICS = 7; pub const OPTIONS = 8; pub const OPTIONS_ZEROCOPY = (1 << 0); pub const PGOFF_RX_RING = 0; pub const PGOFF_TX_RING = 0x80000000; pub const UMEM_PGOFF_FILL_RING = 0x100000000; pub const UMEM_PGOFF_COMPLETION_RING = 0x180000000; }