You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| .. | ||
| README | 4 years ago | |
| bpf_agent.c | 4 years ago | |
| bpf_cyclic.c | 4 years ago | |
| bpf_graft.c | 4 years ago | |
| bpf_prog.c | 4 years ago | |
| bpf_shared.c | 4 years ago | |
| bpf_shared.h | 4 years ago | |
| bpf_sys.h | 4 years ago | |
| bpf_tailcall.c | 4 years ago | |
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