File: README

package info (click to toggle)
iproute2 6.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,180 kB
  • sloc: ansic: 124,139; sh: 1,313; cpp: 885; makefile: 682; yacc: 421; lex: 145; python: 43
file content (18 lines) | stat: -rw-r--r-- 765 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
eBPF toy code examples (running in kernel) to familiarize yourself
with syntax and features:

- BTF defined map examples
 - bpf_graft.c		-> Demo on altering runtime behaviour
 - bpf_shared.c 	-> Ingress/egress map sharing example
 - bpf_map_in_map.c	-> Using map in map example

- legacy struct bpf_elf_map defined map examples
 - legacy/bpf_shared.c		-> Ingress/egress map sharing example
 - legacy/bpf_tailcall.c	-> Using tail call chains
 - legacy/bpf_cyclic.c		-> Simple cycle as tail calls
 - legacy/bpf_graft.c		-> Demo on altering runtime behaviour
 - legacy/bpf_map_in_map.c	-> Using map in map example

Note: Users should use new BTF way to defined the maps, the examples
in legacy folder which is using struct bpf_elf_map defined maps is not
recommended.