Home
last modified time | relevance | path

Searched refs:bpf_tc_opts (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c11 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 …]
/tools/lib/bpf/
Dnetlink.c517 const struct bpf_tc_opts *opts,
540 struct bpf_tc_opts *opts;
605 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
615 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach()
679 const struct bpf_tc_opts *opts, in __bpf_tc_detach()
688 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach()
740 const struct bpf_tc_opts *opts) in bpf_tc_detach()
751 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
760 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
Dlibbpf.h623 struct bpf_tc_opts { struct
637 struct bpf_tc_opts *opts); argument
639 const struct bpf_tc_opts *opts);
641 struct bpf_tc_opts *opts);