Home
last modified time | relevance | path

Searched refs:bpf_tc_attach (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c37 ret = bpf_tc_attach(hook, &opts); in test_tc_bpf_basic()
48 ret = bpf_tc_attach(hook, &opts); in test_tc_bpf_basic()
89 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
113 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
138 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
162 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
187 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
284 ret = bpf_tc_attach(NULL, &opts_hp); in test_tc_bpf_api()
288 ret = bpf_tc_attach(hook, NULL); in test_tc_bpf_api()
293 ret = bpf_tc_attach(hook, &opts_hp); in test_tc_bpf_api()
[all …]
Ddecap_sanity.c49 err = bpf_tc_attach(&qdisc_hook, &tc_attach); in test_decap_sanity()
Dxfrm_info.c86 ret = bpf_tc_attach(hook, &opts1); in attach_tc_prog()
95 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
Dtest_tunnel.c289 ret = bpf_tc_attach(hook, &opts1); in attach_tc_prog()
298 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
Dbtf_skc_cls_ingress.c43 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach), in prepare_netns()
Dxdp_do_redirect.c50 ret = bpf_tc_attach(hook, &opts); in attach_tc_prog()
Dassign_reuse.c137 ret = bpf_tc_attach(&tc_hook, &tc_opts); in run_assign_reuse()
Dvrf_socket_lookup.c121 ret = bpf_tc_attach(&hook, &opts); in attach_progs()
Dtc_links.c565 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_classic()
1617 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed()
1725 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_links_ingress()
1874 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_links_dev_mixed()
Dtc_redirect.c269 err = bpf_tc_attach(qdisc_hook, &tc_attach); in xgress_filter_add()
Dtc_opts.c602 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_classic()
2311 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed()
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.map262 bpf_tc_attach;
Dlibbpf.h1223 LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook,
Dnetlink.c718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() function
/Linux-v6.6/tools/testing/selftests/bpf/
Dxdp_synproxy.c245 err = bpf_tc_attach(&hook, &opts); in syncookie_attach()