unplugged-system/external/iproute2/examples/bpf
2025-10-06 13:59:42 +00:00
..
bpf_cyclic.c Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
bpf_graft.c Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
bpf_map_in_map.c Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
bpf_shared.c Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
bpf_tailcall.c Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

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