Zig 0.17.0-dev (Split by item)
This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig library itself.
Zig › std/ › os/ › linux.zig › XDP
XDP
linux.XDP
pub const XDP = struct
File
Code
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 ;
}