You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sandy 99da0f2c72 pl286 release code 4 years ago
..
README pl286 release code 4 years ago
bpf_agent.c pl286 release code 4 years ago
bpf_cyclic.c pl286 release code 4 years ago
bpf_graft.c pl286 release code 4 years ago
bpf_prog.c pl286 release code 4 years ago
bpf_shared.c pl286 release code 4 years ago
bpf_shared.h pl286 release code 4 years ago
bpf_sys.h pl286 release code 4 years ago
bpf_tailcall.c pl286 release code 4 years ago

README

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

- bpf_prog.c -> Classifier examples with using maps
- 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

User space code example:

- bpf_agent.c -> Counterpart to bpf_prog.c for user
space to transfer/read out map data