Versions in this module Expand all Collapse all v0 v0.0.1 Jan 27, 2021 Changes in this version + const BPF_ANY + const BPF_BTF_GET_FD_BY_ID + const BPF_BTF_LOAD + const BPF_EXIST + const BPF_F_NO_COMMON_LRU + const BPF_F_NO_PREALLOC + const BPF_F_NUMA_NODE + const BPF_MAP_CREATE + const BPF_MAP_DELETE_ELEM + const BPF_MAP_GET_FD_BY_ID + const BPF_MAP_GET_NEXT_ID + const BPF_MAP_GET_NEXT_KEY + const BPF_MAP_LOOKUP_ELEM + const BPF_MAP_TYPE_ARRAY + const BPF_MAP_TYPE_ARRAY_OF_MAPS + const BPF_MAP_TYPE_CGROUP_ARRAY + const BPF_MAP_TYPE_CGROUP_STORAGE + const BPF_MAP_TYPE_CPUMAP + const BPF_MAP_TYPE_DEVMAP + const BPF_MAP_TYPE_HASH + const BPF_MAP_TYPE_HASH_OF_MAPS + const BPF_MAP_TYPE_LPM_TRIE + const BPF_MAP_TYPE_LRU_HASH + const BPF_MAP_TYPE_LRU_PERCPU_HASH + const BPF_MAP_TYPE_PERCPU_ARRAY + const BPF_MAP_TYPE_PERCPU_HASH + const BPF_MAP_TYPE_PERF_EVENT_ARRAY + const BPF_MAP_TYPE_PROG_ARRAY + const BPF_MAP_TYPE_REUSEPORT_SOCKARRAY + const BPF_MAP_TYPE_SOCKHASH + const BPF_MAP_TYPE_SOCKMAP + const BPF_MAP_TYPE_STACK_TRACE + const BPF_MAP_TYPE_UNSPEC + const BPF_MAP_TYPE_XSKMAP + const BPF_MAP_UPDATE_ELEM + const BPF_NOEXIST + const BPF_OBJ_GET + const BPF_OBJ_GET_INFO_BY_FD + const BPF_OBJ_PIN + const BPF_PROG_ATTACH + const BPF_PROG_DETACH + const BPF_PROG_GET_FD_BY_ID + const BPF_PROG_GET_NEXT_ID + const BPF_PROG_LOAD + const BPF_PROG_QUERY + const BPF_PROG_TEST_RUN + const BPF_RAW_TRACEPOINT_OPEN + const BPF_TASK_FD_QUERY + const BpfFsPath + var PossibleCpus int + func Attach(prog *ebpf.Program, device string) error + func CreateLPMtrieKey(s string) *net.IPNet + func CreateMap(mapType int, keySize, valueSize, maxEntries, flags, innerID uint32) (int, error) + func DeleteElement(fd int, key unsafe.Pointer) error + func Detach(device string) error + func GetNextKey(fd int, key, nextKey unsafe.Pointer) error + func LoadElf(filepath string) (*ebpf.Collection, error) + func LookupElement(fd int, key, value unsafe.Pointer) error + func ObjGet(pathname string) (int, error) + func ObjPin(fd int, pathname string) error + func PossibleCpuInit() + func UpdateElement(fd int, key, value unsafe.Pointer, flags uint64) error + type Fd struct + Fd uint32