linux_dsm_epyc7002/tools/testing/selftests/bpf
Andrey Ignatov 02f6ac7456 selftests/bpf: Add cgroup id helpers to bpf_helpers.h
Add bpf_skb_cgroup_id and bpf_skb_ancestor_cgroup_id helpers to
bpf_helpers.h to use them in tests and samples.

Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-08-13 01:02:39 +02:00
..
gnu
include/uapi/linux
.gitignore
bpf_endian.h
bpf_helpers.h selftests/bpf: Add cgroup id helpers to bpf_helpers.h 2018-08-13 01:02:39 +02:00
bpf_rand.h
bpf_rlimit.h
bpf_util.h bpf: Refactor ARRAY_SIZE macro to bpf_util.h 2018-08-11 01:58:46 +02:00
cgroup_helpers.c
cgroup_helpers.h
config
connect4_prog.c
connect6_prog.c
dev_cgroup.c
get_cgroup_id_kern.c
get_cgroup_id_user.c
Makefile bpf: Test BPF_PROG_TYPE_SK_REUSEPORT 2018-08-11 01:58:46 +02:00
sample_map_ret0.c
sample_ret0.c
sendmsg4_prog.c
sendmsg6_prog.c
socket_cookie_prog.c selftests/bpf: Test for get_socket_cookie 2018-07-31 09:33:48 +02:00
sockmap_parse_prog.c
sockmap_tcp_msg_prog.c
sockmap_verdict_prog.c
tcp_client.py bpf: Add Python 3 support to selftests scripts for bpf 2018-07-25 07:46:48 +02:00
tcp_server.py bpf: Add Python 3 support to selftests scripts for bpf 2018-07-25 07:46:48 +02:00
test_adjust_tail.c
test_align.c bpf: Refactor ARRAY_SIZE macro to bpf_util.h 2018-08-11 01:58:46 +02:00
test_btf_haskv.c bpf: Introduce BPF_ANNOTATE_KV_PAIR 2018-07-25 06:57:55 +02:00
test_btf_nokv.c
test_btf.c bpf: Refactor ARRAY_SIZE macro to bpf_util.h 2018-08-11 01:58:46 +02:00
test_cgroup_storage.c selftests/bpf: add a cgroup storage test 2018-08-03 00:47:33 +02:00
test_dev_cgroup.c
test_get_stack_rawtp.c
test_iptunnel_common.h
test_kmod.sh
test_l4lb_noinline.c
test_l4lb.c
test_libbpf_open.c
test_libbpf.sh
test_lirc_mode2_kern.c
test_lirc_mode2_user.c
test_lirc_mode2.sh
test_lpm_map.c
test_lru_map.c
test_lwt_seg6local.c
test_lwt_seg6local.sh selftests/bpf: update test_lwt_seg6local.sh according to iproute2 2018-08-03 10:19:33 +02:00
test_maps.c bpf: test BPF_MAP_TYPE_REUSEPORT_SOCKARRAY 2018-08-11 01:58:46 +02:00
test_obj_id.c
test_offload.py
test_pkt_access.c
test_pkt_md_access.c
test_progs.c
test_select_reuseport_common.h bpf: Test BPF_PROG_TYPE_SK_REUSEPORT 2018-08-11 01:58:46 +02:00
test_select_reuseport_kern.c bpf: Test BPF_PROG_TYPE_SK_REUSEPORT 2018-08-11 01:58:46 +02:00
test_select_reuseport.c bpf: Test BPF_PROG_TYPE_SK_REUSEPORT 2018-08-11 01:58:46 +02:00
test_sock_addr.c bpf: Refactor ARRAY_SIZE macro to bpf_util.h 2018-08-11 01:58:46 +02:00
test_sock_addr.sh
test_sock.c bpf: Refactor ARRAY_SIZE macro to bpf_util.h 2018-08-11 01:58:46 +02:00
test_socket_cookie.c selftests/bpf: Test for get_socket_cookie 2018-07-31 09:33:48 +02:00
test_sockhash_kern.c
test_sockmap_kern.c
test_sockmap_kern.h
test_sockmap.c
test_stacktrace_build_id.c
test_stacktrace_map.c
test_tag.c
test_tcp_estats.c
test_tcpbpf_kern.c
test_tcpbpf_user.c
test_tcpbpf.h
test_tracepoint.c
test_tunnel_kern.c
test_tunnel.sh
test_verifier_log.c
test_verifier.c bpf: Refactor ARRAY_SIZE macro to bpf_util.h 2018-08-11 01:58:46 +02:00
test_xdp_meta.c
test_xdp_meta.sh
test_xdp_noinline.c
test_xdp_redirect.c
test_xdp_redirect.sh
test_xdp.c
trace_helpers.c
trace_helpers.h
urandom_read.c