13 lines
492 B
Text
13 lines
492 B
Text
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
|