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 › PACKET
PACKET
linux.PACKET
pub const PACKET = struct
File
Code
pub const PACKET = struct {
pub const HOST = 0 ;
pub const BROADCAST = 1 ;
pub const MULTICAST = 2 ;
pub const OTHERHOST = 3 ;
pub const OUTGOING = 4 ;
pub const LOOPBACK = 5 ;
pub const USER = 6 ;
pub const KERNEL = 7 ;
pub const ADD_MEMBERSHIP = 1 ;
pub const DROP_MEMBERSHIP = 2 ;
pub const RECV_OUTPUT = 3 ;
pub const RX_RING = 5 ;
pub const STATISTICS = 6 ;
pub const COPY_THRESH = 7 ;
pub const AUXDATA = 8 ;
pub const ORIGDEV = 9 ;
pub const VERSION = 10 ;
pub const HDRLEN = 11 ;
pub const RESERVE = 12 ;
pub const TX_RING = 13 ;
pub const LOSS = 14 ;
pub const VNET_HDR = 15 ;
pub const TX_TIMESTAMP = 16 ;
pub const TIMESTAMP = 17 ;
pub const FANOUT = 18 ;
pub const TX_HAS_OFF = 19 ;
pub const QDISC_BYPASS = 20 ;
pub const ROLLOVER_STATS = 21 ;
pub const FANOUT_DATA = 22 ;
pub const IGNORE_OUTGOING = 23 ;
pub const VNET_HDR_SZ = 24 ;
pub const FANOUT_HASH = 0 ;
pub const FANOUT_LB = 1 ;
pub const FANOUT_CPU = 2 ;
pub const FANOUT_ROLLOVER = 3 ;
pub const FANOUT_RND = 4 ;
pub const FANOUT_QM = 5 ;
pub const FANOUT_CBPF = 6 ;
pub const FANOUT_EBPF = 7 ;
pub const FANOUT_FLAG_ROLLOVER = 0x1000 ;
pub const FANOUT_FLAG_UNIQUEID = 0x2000 ;
pub const FANOUT_FLAG_IGNORE_OUTGOING = 0x4000 ;
pub const FANOUT_FLAG_DEFRAG = 0x8000 ;
}