/
githubmirror
/
iproute2
ОбзорДокументацияВойти
/
githubmirror
/
iproute2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
iproute2/
examples/bpf/
..
legacy

examples/bpf: move struct bpf_elf_map defined maps to legacy folder

6 лет назад
README

spelling fixes

3 года назад
bpf_graft.c

examples/bpf: add bpf examples with BTF defined maps

6 лет назад
bpf_map_in_map.c

examples/bpf: add bpf examples with BTF defined maps

6 лет назад
bpf_shared.c

examples/bpf: add bpf examples with BTF defined maps

6 лет назад
README
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.