Searched refs:bpf_tc_opts (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | tc_bpf.c | 11 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_h, .handle = 1); \ 12 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1); \ 13 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_f, .prog_fd = __fd); \ 14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \ 15 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \ 16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \ 17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \ 18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \ 23 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_prio_max, .handle = 1, .priority = UINT16_MAX + 1); 27 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in test_tc_bpf_basic() [all …]
|
A D | test_tunnel.c | 216 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, in attach_tc_prog() 218 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in attach_tc_prog()
|
A D | xfrm_info.c | 89 LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, .priority = 1, in attach_tc_prog() 91 LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, .priority = 1, in attach_tc_prog()
|
A D | decap_sanity.c | 28 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in test_decap_sanity()
|
A D | btf_skc_cls_ingress.c | 27 LIBBPF_OPTS(bpf_tc_opts, tc_attach, in prepare_netns()
|
A D | xdp_do_redirect.c | 51 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in attach_tc_prog()
|
A D | tc_redirect.c | 270 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in xgress_filter_add()
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | netlink.c | 618 const struct bpf_tc_opts *opts, 641 struct bpf_tc_opts *opts; 707 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() 717 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach() 782 const struct bpf_tc_opts *opts, in __bpf_tc_detach() 791 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach() 843 const struct bpf_tc_opts *opts) in bpf_tc_detach() 854 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query() 863 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
|
A D | libbpf.h | 1086 struct bpf_tc_opts { struct 1100 struct bpf_tc_opts *opts); argument 1102 const struct bpf_tc_opts *opts); 1104 struct bpf_tc_opts *opts);
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | xdp_synproxy.c | 234 LIBBPF_OPTS(bpf_tc_opts, opts, in syncookie_attach()
|
Completed in 15 milliseconds