• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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