Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_bpf.c12 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_h, .handle = 1); \
13 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1); \
14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_f, .prog_fd = __fd); \
15 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \
16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \
17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \
18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \
19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \
20 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \
22 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \
[all …]
H A Dxfrm_info.c74 LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, .priority = 1, in attach_tc_prog()
76 LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, .priority = 1, in attach_tc_prog()
H A Ddecap_sanity.c19 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in test_decap_sanity()
H A Dtest_tunnel.c277 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, in attach_tc_prog()
279 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in attach_tc_prog()
H A Dbtf_skc_cls_ingress.c27 LIBBPF_OPTS(bpf_tc_opts, tc_attach, in prepare_netns()
H A Dassign_reuse.c88 DECLARE_LIBBPF_OPTS(bpf_tc_opts, tc_opts, in run_assign_reuse()
H A Dxdp_do_redirect.c43 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in attach_tc_prog()
H A Dvrf_socket_lookup.c108 LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, in attach_progs()
H A Dtc_links.c525 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_classic()
1579 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_mixed()
1684 LIBBPF_OPTS(bpf_tc_opts, tc_opts, in test_tc_links_ingress()
1853 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_links_dev_mixed()
H A Dtc_redirect.c285 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in xgress_filter_add()
H A Dtc_opts.c565 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_classic()
2278 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_mixed()
/openbmc/linux/tools/lib/bpf/
H A Dnetlink.c629 const struct bpf_tc_opts *opts,
652 struct bpf_tc_opts *opts;
718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
728 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach()
793 const struct bpf_tc_opts *opts, in __bpf_tc_detach()
802 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach()
854 const struct bpf_tc_opts *opts) in bpf_tc_detach()
865 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
874 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
H A Dlibbpf.h1210 struct bpf_tc_opts { struct
1224 struct bpf_tc_opts *opts); argument
1226 const struct bpf_tc_opts *opts);
1228 struct bpf_tc_opts *opts);
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c234 LIBBPF_OPTS(bpf_tc_opts, opts, in syncookie_attach()