diff options
author | 2018-04-17 10:28:45 -0700 | |
---|---|---|
committer | 2018-04-18 14:39:24 +0200 | |
commit | 81efee75c4a8210cac6eb791892f974dfcfc24b0 (patch) | |
tree | 076439a7ce9ba2a3c925e72f44c8265b40f11aa5 /scripts/bpf_helpers_doc.py | |
parent | bpftool: Support new prog types and attach types (diff) | |
download | wireguard-linux-81efee75c4a8210cac6eb791892f974dfcfc24b0.tar.xz wireguard-linux-81efee75c4a8210cac6eb791892f974dfcfc24b0.zip |
libbpf: Support guessing post_bind{4,6} progs
libbpf can guess prog type and expected attach type based on section
name. Add hints for "cgroup/post_bind4" and "cgroup/post_bind6" section
names.
Existing "cgroup/sock" is not changed, i.e. expected_attach_type for it
is not set to `BPF_CGROUP_INET_SOCK_CREATE`, for backward compatibility.
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions