diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-06-27 22:38:54 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-06-28 00:25:17 +0200 |
commit | 0c51b3697a446e904e9e9fb70bbd7d08606a329a (patch) | |
tree | 6d9738d6738dba5c9f353b6503a7fd9907d1b2ed /Documentation/bpf/index.rst | |
parent | selftests/bpf: add sockopt test that exercises BPF_F_ALLOW_MULTI (diff) | |
download | linux-0c51b3697a446e904e9e9fb70bbd7d08606a329a.tar.xz linux-0c51b3697a446e904e9e9fb70bbd7d08606a329a.zip |
bpf: add sockopt documentation
Provide user documentation about sockopt prog type and cgroup hooks.
v9:
* add details about setsockopt context and inheritance
v7:
* add description for retval=0 and optlen=-1
v6:
* describe cgroup chaining, add example
v2:
* use return code 2 for kernel bypass
Cc: Andrii Nakryiko <andriin@fb.com>
Cc: Martin Lau <kafai@fb.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/bpf/index.rst')
-rw-r--r-- | Documentation/bpf/index.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/bpf/index.rst b/Documentation/bpf/index.rst index d3fe4cac0c90..801a6ed3f2e5 100644 --- a/Documentation/bpf/index.rst +++ b/Documentation/bpf/index.rst @@ -42,6 +42,7 @@ Program types .. toctree:: :maxdepth: 1 + prog_cgroup_sockopt prog_cgroup_sysctl prog_flow_dissector |