• Home
Name Date Size #Lines LOC

..--

READMED04-Jul-2025346 97

bpf_cyclic.cD04-Jul-2025786 3625

bpf_graft.cD04-Jul-20251.8 KiB6728

bpf_map_in_map.cD04-Jul-20251.1 KiB5746

bpf_shared.cD04-Jul-20251.4 KiB5427

bpf_tailcall.cD04-Jul-20252.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