| .. | ||
| bpf_agent.c | ||
| bpf_cyclic.c | ||
| bpf_graft.c | ||
| bpf_prog.c | ||
| bpf_shared.c | ||
| bpf_shared.h | ||
| bpf_sys.h | ||
| bpf_tailcall.c | ||
| README | ||
eBPF toy code examples (running in kernel) to familiarize yourself
with syntax and features:
- bpf_prog.c -> Classifier examples with using maps
- bpf_shared.c -> Ingress/egress map sharing example
- bpf_tailcall.c -> Using tail call chains
- bpf_cyclic.c -> Simple cycle as tail calls
- bpf_graft.c -> Demo on altering runtime behaviour
User space code example:
- bpf_agent.c -> Counterpart to bpf_prog.c for user
space to transfer/read out map data