• Home
Name Date Size #Lines LOC

..--

READMED03-May-2024346 97

bpf_cyclic.cD03-May-2024786 3625

bpf_graft.cD03-May-20241.8 KiB6728

bpf_map_in_map.cD03-May-20241.1 KiB5746

bpf_shared.cD03-May-20241.4 KiB5427

bpf_tailcall.cD03-May-20242.8 KiB11775

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