Skip to content

Commit

Permalink
docs: Document the hooks that Cilium uses
Browse files Browse the repository at this point in the history
Technically we also have the following, but their use is deprecated so I
have omitted them from this commit:
- ``BPF_PROG_TYPE_SOCK_OPS``
- ``BPF_PROG_TYPE_SK_MSG``

Signed-off-by: Joe Stringer <joe@cilium.io>
  • Loading branch information
joestringer committed Feb 15, 2023
1 parent 7ab3303 commit 192dea5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Documentation/internals/hooks.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.. only:: not (epub or latex or html)

WARNING: You are looking at unreleased Cilium documentation.
Please use the official rendered version released here:
https://docs.cilium.io

eBPF Program Types
==================

Cilium uses the following eBPF program types to attach programs to the kernel:

- ``BPF_PROG_TYPE_XDP``
- ``BPF_PROG_TYPE_SCHED_ACT``
- ``BPF_PROG_TYPE_CGROUP_SOCK_ADDR``
1 change: 1 addition & 0 deletions Documentation/internals/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ Internals
../contributing/development/codeoverview
hubble
cilium_operator
hooks
security-identities

0 comments on commit 192dea5

Please sign in to comment.