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

..29-Aug-20174 KiB

bpf_agent.c29-Aug-20176 KiB

bpf_cyclic.c29-Aug-2017669

bpf_graft.c29-Aug-20171.8 KiB

bpf_prog.c29-Aug-201714.7 KiB

bpf_shared.c29-Aug-20171.3 KiB

bpf_shared.h29-Aug-2017341

bpf_sys.h29-Aug-2017462

bpf_tailcall.c29-Aug-20172.5 KiB

README29-Aug-2017492

README

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