• Home
  • History
  • Annotate
  • only in /external/iproute2/examples/bpf/
NameDateSize

..10-Aug-20184 KiB

bpf_cyclic.c10-Aug-2018786

bpf_graft.c10-Aug-20181.8 KiB

bpf_map_in_map.c10-Aug-20181.1 KiB

bpf_shared.c10-Aug-20181.4 KiB

bpf_tailcall.c10-Aug-20182.8 KiB

README10-Aug-2018346

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