BPF Documentation — The Linux Kernel 5.18.5-gnu-1 documentation

# BPF Documentation

This directory contains documentation for the BPF (Berkeley Packet Filter) facility, with a focus on the extended BPF version (eBPF).

This kernel side documentation is still work in progress. The Cilium project also maintains a BPF and XDP Reference Guide that goes into great technical depth about the BPF Architecture.

- eBPF Instruction Set
- eBPF verifier
- libbpf
- BPF Type Format (BTF)
- Frequently asked questions (FAQ)
- Syscall API
- Helper functions
- Program Types
- eBPF maps
- Running BPF programs from userspace
- Classic BPF vs eBPF
- BPF licensing
- Testing and debugging BPF
- Other