index.rst (2e7199bd773bff3220184d071ed9c9cd34950e51) | index.rst (2324d50d051ec0f14a548e78554fb02513d6dcef) |
---|---|
1================= 2BPF Documentation 3================= 4 5This directory contains documentation for the BPF (Berkeley Packet 6Filter) facility, with a focus on the extended BPF version (eBPF). 7 | 1================= 2BPF Documentation 3================= 4 5This directory contains documentation for the BPF (Berkeley Packet 6Filter) facility, with a focus on the extended BPF version (eBPF). 7 |
8This kernel side documentation is still work in progress. The main | 8This kernel side documentation is still work in progress. The main |
9textual documentation is (for historical reasons) described in | 9textual documentation is (for historical reasons) described in |
10:ref:`networking-filter`, which describe both classical and extended 11BPF instruction-set. | 10`Documentation/networking/filter.rst`_, which describe both classical 11and extended BPF instruction-set. |
12The Cilium project also maintains a `BPF and XDP Reference Guide`_ 13that goes into great technical depth about the BPF Architecture. 14 15The primary info for the bpf syscall is available in the `man-pages`_ 16for `bpf(2)`_. 17 18BPF Type Format (BTF) 19===================== --- 23 unchanged lines hidden (view full) --- 43 :maxdepth: 1 44 45 prog_cgroup_sockopt 46 prog_cgroup_sysctl 47 prog_flow_dissector 48 bpf_lsm 49 50 | 12The Cilium project also maintains a `BPF and XDP Reference Guide`_ 13that goes into great technical depth about the BPF Architecture. 14 15The primary info for the bpf syscall is available in the `man-pages`_ 16for `bpf(2)`_. 17 18BPF Type Format (BTF) 19===================== --- 23 unchanged lines hidden (view full) --- 43 :maxdepth: 1 44 45 prog_cgroup_sockopt 46 prog_cgroup_sysctl 47 prog_flow_dissector 48 bpf_lsm 49 50 |
51Map types 52========= | 51Testing and debugging BPF 52========================= |
53 54.. toctree:: 55 :maxdepth: 1 56 | 53 54.. toctree:: 55 :maxdepth: 1 56 |
57 map_cgroup_storage | 57 drgn 58 s390 |
58 59 | 59 60 |
60Testing and debugging BPF 61========================= | 61Other 62===== |
62 63.. toctree:: 64 :maxdepth: 1 65 | 63 64.. toctree:: 65 :maxdepth: 1 66 |
66 drgn 67 s390 | 67 ringbuf |
68 | 68 |
69 | |
70.. Links: | 69.. Links: |
71.. _networking-filter: ../networking/filter.rst | 70.. _Documentation/networking/filter.rst: ../networking/filter.txt |
72.. _man-pages: https://www.kernel.org/doc/man-pages/ | 71.. _man-pages: https://www.kernel.org/doc/man-pages/ |
73.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html 74.. _BPF and XDP Reference Guide: https://docs.cilium.io/en/latest/bpf/ | 72.. _bpf(2): http://man7.org/linux/man-pages/man2/bpf.2.html 73.. _BPF and XDP Reference Guide: http://cilium.readthedocs.io/en/latest/bpf/ |