mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-02 22:52:50 +00:00
Improve example files further and add a more generic set of possible helpers for them that can be used. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> |
||
|---|---|---|
| .. | ||
| 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