Searched refs:bpf_tc_opts (Results 1 – 6 of 6) sorted by relevance
| /Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
| 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); \ 19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \ 21 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \ [all …]
|
| 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()
|
| D | xdp_do_redirect.c | 49 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in attach_tc_prog()
|
| /Linux-v6.1/tools/lib/bpf/ |
| D | netlink.c | 522 const struct bpf_tc_opts *opts, 545 struct bpf_tc_opts *opts; 611 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() 621 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach() 685 const struct bpf_tc_opts *opts, in __bpf_tc_detach() 694 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach() 746 const struct bpf_tc_opts *opts) in bpf_tc_detach() 757 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query() 766 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
|
| D | libbpf.h | 994 struct bpf_tc_opts { struct 1008 struct bpf_tc_opts *opts); argument 1010 const struct bpf_tc_opts *opts); 1012 struct bpf_tc_opts *opts);
|
| /Linux-v6.1/tools/testing/selftests/bpf/ |
| D | xdp_synproxy.c | 231 LIBBPF_OPTS(bpf_tc_opts, opts, in syncookie_attach()
|