Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | D | 22-Nov-2023 | 346 | 9 | 7 | |
bpf_cyclic.c | D | 22-Nov-2023 | 786 | 36 | 25 | |
bpf_graft.c | D | 22-Nov-2023 | 1.8 KiB | 67 | 28 | |
bpf_map_in_map.c | D | 22-Nov-2023 | 1.1 KiB | 57 | 46 | |
bpf_shared.c | D | 22-Nov-2023 | 1.4 KiB | 54 | 27 | |
bpf_tailcall.c | D | 22-Nov-2023 | 2.8 KiB | 117 | 75 |
README
1eBPF toy code examples (running in kernel) to familiarize yourself 2with syntax and features: 3 4 - bpf_shared.c -> Ingress/egress map sharing example 5 - bpf_tailcall.c -> Using tail call chains 6 - bpf_cyclic.c -> Simple cycle as tail calls 7 - bpf_graft.c -> Demo on altering runtime behaviour 8 - bpf_map_in_map.c -> Using map in map example 9