Searched refs:bpf_tc_opts (Results 1 - 15 of 15) sorted by relevance

/linux-master/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_hpf
[all...]
H A Ddecap_sanity.c20 LIBBPF_OPTS(bpf_tc_opts, tc_attach);
H A Dtcp_custom_syncookie.c53 LIBBPF_OPTS(bpf_tc_opts, tc_attach,
H A Dxfrm_info.c74 LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, .priority = 1,
76 LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, .priority = 1,
H A Dbtf_skc_cls_ingress.c27 LIBBPF_OPTS(bpf_tc_opts, tc_attach,
H A Dxdp_do_redirect.c43 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd);
H A Dvrf_socket_lookup.c108 LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1,
H A Dassign_reuse.c88 DECLARE_LIBBPF_OPTS(bpf_tc_opts, tc_opts,
H A Dtest_tunnel.c369 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1,
371 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1,
H A Dtc_links.c523 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
1577 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
1682 LIBBPF_OPTS(bpf_tc_opts, tc_opts,
1792 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
H A Dtc_redirect.c335 LIBBPF_OPTS(bpf_tc_opts, tc_attach);
H A Dtc_opts.c565 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
2278 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
/linux-master/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)
728 !OPTS_VALID(opts, bpf_tc_opts))
793 const struct bpf_tc_opts *opts,
802 !OPTS_VALID(opts, bpf_tc_opts))
854 const struct bpf_tc_opts *opts)
865 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts)
874 !OPTS_VALID(opts, bpf_tc_opts))
H A Dlibbpf.h1244 struct bpf_tc_opts { struct
1258 struct bpf_tc_opts *opts);
1260 const struct bpf_tc_opts *opts);
1262 struct bpf_tc_opts *opts);
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c234 LIBBPF_OPTS(bpf_tc_opts, opts,

Completed in 1080 milliseconds