mirror_iproute2/examples/bpf
Daniel Borkmann 23b2ed2d64 bpf: remove obsolete samples
Remove old samples that have been added in pre BPF fs days which were
using file descriptor passing. It's long obsolete and not encouraged
to use this method given BPF fs is the default way like in the other
samples.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2017-07-18 17:20:45 -07:00
..
bpf_cyclic.c tc, bpf: add support for map pre/allocation 2016-04-11 21:54:47 +00:00
bpf_graft.c tc, bpf: add support for map pre/allocation 2016-04-11 21:54:47 +00:00
bpf_shared.c tc, bpf: add support for map pre/allocation 2016-04-11 21:54:47 +00:00
bpf_tailcall.c tc, bpf: add support for map pre/allocation 2016-04-11 21:54:47 +00:00
README {f,m}_bpf: add more example code 2015-11-29 11:55:16 -08:00

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