aosp12/external/iproute2/examples/bpf
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
README init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
bpf_cyclic.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
bpf_graft.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
bpf_map_in_map.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
bpf_shared.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
bpf_tailcall.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README

eBPF toy code examples (running in kernel) to familiarize yourself
with syntax and features:

 - bpf_shared.c		-> Ingress/egress map sharing example
 - bpf_tailcall.c	-> Using tail call chains
 - bpf_cyclic.c		-> Simple cycle as tail calls
 - bpf_graft.c		-> Demo on altering runtime behaviour
 - bpf_map_in_map.c     -> Using map in map example