Searched refs:bpf_tc_opts (Results 1 – 3 of 3) sorted by relevance
/linux/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 …]
|
/linux/tools/lib/bpf/ |
A D | netlink.c | 468 const struct bpf_tc_opts *opts, 491 struct bpf_tc_opts *opts; 556 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() 566 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach() 630 const struct bpf_tc_opts *opts, in __bpf_tc_detach() 639 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach() 691 const struct bpf_tc_opts *opts) in bpf_tc_detach() 702 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query() 711 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
|
A D | libbpf.h | 728 struct bpf_tc_opts { struct 742 struct bpf_tc_opts *opts); argument 744 const struct bpf_tc_opts *opts); 746 struct bpf_tc_opts *opts);
|
Completed in 9 milliseconds