kubernetes/vendor/github.com/vishvananda/netlink/bpf_linux.go

type BpfProgType

const BPF_PROG_TYPE_UNSPEC

const BPF_PROG_TYPE_SOCKET_FILTER

const BPF_PROG_TYPE_KPROBE

const BPF_PROG_TYPE_SCHED_CLS

const BPF_PROG_TYPE_SCHED_ACT

const BPF_PROG_TYPE_TRACEPOINT

const BPF_PROG_TYPE_XDP

const BPF_PROG_TYPE_PERF_EVENT

const BPF_PROG_TYPE_CGROUP_SKB

const BPF_PROG_TYPE_CGROUP_SOCK

const BPF_PROG_TYPE_LWT_IN

const BPF_PROG_TYPE_LWT_OUT

const BPF_PROG_TYPE_LWT_XMIT

const BPF_PROG_TYPE_SOCK_OPS

const BPF_PROG_TYPE_SK_SKB

const BPF_PROG_TYPE_CGROUP_DEVICE

const BPF_PROG_TYPE_SK_MSG

const BPF_PROG_TYPE_RAW_TRACEPOINT

const BPF_PROG_TYPE_CGROUP_SOCK_ADDR

const BPF_PROG_TYPE_LWT_SEG6LOCAL

const BPF_PROG_TYPE_LIRC_MODE2

const BPF_PROG_TYPE_SK_REUSEPORT

const BPF_PROG_TYPE_FLOW_DISSECTOR

const BPF_PROG_TYPE_CGROUP_SYSCTL

const BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE

const BPF_PROG_TYPE_CGROUP_SOCKOPT

const BPF_PROG_TYPE_TRACING

const BPF_PROG_TYPE_STRUCT_OPS

const BPF_PROG_TYPE_EXT

const BPF_PROG_TYPE_LSM

const BPF_PROG_TYPE_SK_LOOKUP

type BPFAttr

// loadSimpleBpf loads a trivial bpf program for testing purposes.
func loadSimpleBpf(progType BpfProgType, ret uint32) (int, error) {}