diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-06-27 13:38:54 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-06-27 15:25:17 -0700 |
commit | 0c51b3697a446e904e9e9fb70bbd7d08606a329a (patch) | |
tree | 6d9738d6738dba5c9f353b6503a7fd9907d1b2ed /Documentation/bpf/index.rst | |
parent | 65b4414a05ebf51966c4a28a2a1b156ab5a01b0f (diff) | |
download | linux-0c51b3697a446e904e9e9fb70bbd7d08606a329a.tar.bz2 |
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 |