linux-sg2042/tools/lib/bpf
Andrey Ignatov c6f6851b28 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>
2018-09-27 21:14:59 +02:00
..
.gitignore tools lib bpf: Change FEATURE-DUMP to FEATURE-DUMP.libbpf 2015-11-05 12:47:51 -03:00
Build Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2018-09-25 20:29:38 -07:00
Makefile tools: libbpf: remove libelf-getphdrnum feature detection 2018-07-16 16:36:49 -07:00
bpf.c tools/bpf: move bpf/lib netlink related functions into a new file 2018-09-06 22:34:08 -07:00
bpf.h bpf: Test BPF_PROG_TYPE_SK_REUSEPORT 2018-08-11 01:58:46 +02:00
btf.c Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-08-11 17:52:00 -07:00
btf.h Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-08-11 17:52:00 -07:00
libbpf.c libbpf: Support sk_skb/stream_{parser, verdict} section names 2018-09-27 21:14:59 +02:00
libbpf.h libbpf: Introduce libbpf_attach_type_by_name 2018-09-27 21:14:59 +02:00
libbpf_errno.c tools/bpf: add more netlink functionalities in lib/bpf 2018-09-06 22:34:08 -07:00
netlink.c tools/bpf: fix a netlink recv issue 2018-09-11 14:26:30 -07:00
nlattr.c tools/bpf: add more netlink functionalities in lib/bpf 2018-09-06 22:34:08 -07:00
nlattr.h tools/bpf: add more netlink functionalities in lib/bpf 2018-09-06 22:34:08 -07:00
str_error.c tools lib bpf: Provide wrapper for strerror_r to build in !_GNU_SOURCE systems 2018-09-18 10:16:18 -03:00
str_error.h tools lib bpf: Provide wrapper for strerror_r to build in !_GNU_SOURCE systems 2018-09-18 10:16:18 -03:00