| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_bpf.c | 12 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); \ 24 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_prio_max, .handle = 1, .priority = UINT16_MAX + 1); 28 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in test_tc_bpf_basic() [all …]
|
| H A D | crypto_sanity.c | 83 LIBBPF_OPTS(bpf_tc_opts, tc_attach_enc); in test_crypto_sanity() 84 LIBBPF_OPTS(bpf_tc_opts, tc_attach_dec); in test_crypto_sanity()
|
| H A D | decap_sanity.c | 19 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in test_decap_sanity()
|
| H A D | xfrm_info.c | 74 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 D | xdp_context_test_run.c | 178 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_xdp_context_veth() 263 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_xdp_context_tuntap()
|
| H A D | tcp_custom_syncookie.c | 53 LIBBPF_OPTS(bpf_tc_opts, tc_attach, in setup_tc()
|
| H A D | cgroup_ancestor.c | 19 struct bpf_tc_opts tc_attach;
|
| H A D | xdp_vlan.c | 74 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in xdp_vlan()
|
| H A D | assign_reuse.c | 88 DECLARE_LIBBPF_OPTS(bpf_tc_opts, tc_opts, in run_assign_reuse()
|
| H A D | btf_skc_cls_ingress.c | 36 LIBBPF_OPTS(bpf_tc_opts, tc_attach, in prepare_netns()
|
| H A D | vrf_socket_lookup.c | 108 LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, in attach_progs()
|
| H A D | xdp_do_redirect.c | 44 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in attach_tc_prog()
|
| H A D | test_tunnel.c | 541 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, in attach_tc_prog() 543 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in attach_tc_prog()
|
| H A D | tc_links.c | 525 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 D | tc_redirect.c | 350 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in xgress_filter_add()
|
| H A D | tc_opts.c | 565 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()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | netlink.c | 629 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 D | libbpf.h | 1304 struct bpf_tc_opts { struct 1318 struct bpf_tc_opts *opts); argument 1320 const struct bpf_tc_opts *opts); 1322 struct bpf_tc_opts *opts);
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | xdp_synproxy.c | 234 LIBBPF_OPTS(bpf_tc_opts, opts, in syncookie_attach()
|