Home | History | Annotate | only in /external/iproute2/examples/bpf
Up to higher level directory
NameDateSize
bpf_agent.c21-Oct-20166K
bpf_cyclic.c21-Oct-2016669
bpf_graft.c21-Oct-20161.8K
bpf_prog.c21-Oct-201614.7K
bpf_shared.c21-Oct-20161.3K
bpf_shared.h21-Oct-2016341
bpf_sys.h21-Oct-2016462
bpf_tailcall.c21-Oct-20162.5K
README21-Oct-2016492

README

      1 eBPF toy code examples (running in kernel) to familiarize yourself
      2 with 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 
     10 User space code example:
     11 
     12  - bpf_agent.c		-> Counterpart to bpf_prog.c for user
     13                            space to transfer/read out map data
     14