Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | D | 03-May-2024 | 492 | 14 | 10 | |
bpf_agent.c | D | 03-May-2024 | 6 KiB | 259 | 172 | |
bpf_cyclic.c | D | 03-May-2024 | 669 | 31 | 19 | |
bpf_graft.c | D | 03-May-2024 | 1.8 KiB | 68 | 25 | |
bpf_prog.c | D | 03-May-2024 | 14.7 KiB | 500 | 254 | |
bpf_shared.c | D | 03-May-2024 | 1.3 KiB | 49 | 22 | |
bpf_shared.h | D | 03-May-2024 | 341 | 23 | 18 | |
bpf_sys.h | D | 03-May-2024 | 462 | 24 | 18 | |
bpf_tailcall.c | D | 03-May-2024 | 2.5 KiB | 100 | 59 |
README
1eBPF toy code examples (running in kernel) to familiarize yourself 2with syntax and features: 3 4 - bpf_prog.c -> Classifier examples with using maps 5 - bpf_shared.c -> Ingress/egress map sharing example 6 - bpf_tailcall.c -> Using tail call chains 7 - bpf_cyclic.c -> Simple cycle as tail calls 8 - bpf_graft.c -> Demo on altering runtime behaviour 9 10User space code example: 11 12 - bpf_agent.c -> Counterpart to bpf_prog.c for user 13 space to transfer/read out map data 14