pkg/ebpf/c/helper.h (18 lines of code) (raw):
#ifndef __HELPERS_H
#define __HELPERS_H
enum {
BPF_F_NO_PREALLOC = 1,
BPF_F_NO_COMMON_LRU = 2,
BPF_F_NUMA_NODE = 4,
BPF_F_RDONLY = 8,
BPF_F_WRONLY = 16,
BPF_F_STACK_BUILD_ID = 32,
BPF_F_ZERO_SEED = 64,
BPF_F_RDONLY_PROG = 128,
BPF_F_WRONLY_PROG = 256,
BPF_F_CLONE = 512,
BPF_F_MMAPABLE = 1024,
BPF_F_PRESERVE_ELEMS = 2048,
BPF_F_INNER_MAP = 4096,
};
#endif