/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_bpf.c | 12 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_h, .handle = 1); \ 13 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1); \ 14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_f, .prog_fd = __fd); \ 15 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \ 16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \ 17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \ 18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \ 19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \ 20 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \ 22 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \ [all …]
|
H A D | xfrm_info.c | 74 LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, .priority = 1, in attach_tc_prog() 76 LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, .priority = 1, in attach_tc_prog()
|
H A D | decap_sanity.c | 19 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in test_decap_sanity()
|
H A D | test_tunnel.c | 277 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, in attach_tc_prog() 279 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in attach_tc_prog()
|
H A D | btf_skc_cls_ingress.c | 27 LIBBPF_OPTS(bpf_tc_opts, tc_attach, in prepare_netns()
|
H A D | assign_reuse.c | 88 DECLARE_LIBBPF_OPTS(bpf_tc_opts, tc_opts, in run_assign_reuse()
|
H A D | xdp_do_redirect.c | 43 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in attach_tc_prog()
|
H A D | vrf_socket_lookup.c | 108 LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, in attach_progs()
|
H A D | tc_links.c | 525 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_classic() 1579 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_mixed() 1684 LIBBPF_OPTS(bpf_tc_opts, tc_opts, in test_tc_links_ingress() 1853 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_links_dev_mixed()
|
H A D | tc_redirect.c | 285 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in xgress_filter_add()
|
H A D | tc_opts.c | 565 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_classic() 2278 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_mixed()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 629 const struct bpf_tc_opts *opts, 652 struct bpf_tc_opts *opts; 718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() 728 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach() 793 const struct bpf_tc_opts *opts, in __bpf_tc_detach() 802 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach() 854 const struct bpf_tc_opts *opts) in bpf_tc_detach() 865 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query() 874 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
|
H A D | libbpf.h | 1210 struct bpf_tc_opts { struct 1224 struct bpf_tc_opts *opts); argument 1226 const struct bpf_tc_opts *opts); 1228 struct bpf_tc_opts *opts);
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 234 LIBBPF_OPTS(bpf_tc_opts, opts, in syncookie_attach()
|