aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_socket_cookie.c
diff options
context:
space:
mode:
authorAndrey Ignatov <rdna@fb.com>2018-09-26 15:24:55 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-09-27 21:14:59 +0200
commitc6f6851b28ae26000352598f01968b3ff7dcf588 (patch)
tree4d6fd3dad1e90426b735d30d277a6699a772c554 /tools/testing/selftests/bpf/test_socket_cookie.c
parentlibbpf: Support cgroup_skb/{e,in}gress section names (diff)
downloadlinux-dev-c6f6851b28ae26000352598f01968b3ff7dcf588.tar.xz
linux-dev-c6f6851b28ae26000352598f01968b3ff7dcf588.zip
libbpf: Support sk_skb/stream_{parser, verdict} section names
Add section names for BPF_SK_SKB_STREAM_PARSER and BPF_SK_SKB_STREAM_VERDICT attach types to be able to identify them in libbpf_attach_type_by_name. "stream_parser" and "stream_verdict" are used instead of simple "parser" and "verdict" just to avoid possible confusion in a place where attach type is used alone (e.g. in bpftool's show sub-commands) since there is another attach point that can be named as "verdict": BPF_SK_MSG_VERDICT. Signed-off-by: Andrey Ignatov <rdna@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions