Home | History | Annotate | only in /external/iproute2/examples/bpf
Up to higher level directory
NameDateSize
bpf_agent.c05-Oct-20176K
bpf_cyclic.c05-Oct-2017669
bpf_graft.c05-Oct-20171.8K
bpf_prog.c05-Oct-201714.7K
bpf_shared.c05-Oct-20171.3K
bpf_shared.h05-Oct-2017341
bpf_sys.h05-Oct-2017462
bpf_tailcall.c05-Oct-20172.5K
README05-Oct-2017492

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