Lunatik

linux.bpfModule

Linux kernel constants exposed under linux.bpf.

Values are populated at build time from the kernel headers.

Usage

local bpf = require("linux.bpf")

Tables

map_type BPF map types.
update BPF map update flags.

Tables in detail

map_type
BPF map types. Mirrors BPF_MAP_TYPE_* defines in <uapi/linux/bpf.h>. Keys are the kernel names with the prefix stripped: BPF_MAP_TYPE_<NAME> is linux.bpf.map_type.<NAME>.
update
BPF map update flags. Mirrors BPF_* defines in <uapi/linux/bpf.h>. Keys are the kernel names with the prefix stripped: BPF_<NAME> is linux.bpf.update.<NAME>.