Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A 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); \
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 Dtest_tunnel.c216 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 Dxfrm_info.c89 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 Ddecap_sanity.c28 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in test_decap_sanity()
A Dbtf_skc_cls_ingress.c27 LIBBPF_OPTS(bpf_tc_opts, tc_attach, in prepare_netns()
A Dxdp_do_redirect.c51 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in attach_tc_prog()
A Dtc_redirect.c270 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in xgress_filter_add()
/linux-6.3-rc2/tools/lib/bpf/
A Dnetlink.c618 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 Dlibbpf.h1086 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 Dxdp_synproxy.c234 LIBBPF_OPTS(bpf_tc_opts, opts, in syncookie_attach()

Completed in 15 milliseconds