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
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>islinux.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>islinux.bpf.update.<NAME>.