• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

READMED22-Nov-2023346 97

bpf_cyclic.cD22-Nov-2023786 3625

bpf_graft.cD22-Nov-20231.8 KiB6728

bpf_map_in_map.cD22-Nov-20231.1 KiB5746

bpf_shared.cD22-Nov-20231.4 KiB5427

bpf_tailcall.cD22-Nov-20232.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