Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dtc_bpf.c36 ret = bpf_tc_attach(hook, &opts); in test_tc_bpf_basic()
47 ret = bpf_tc_attach(hook, &opts); in test_tc_bpf_basic()
88 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
283 ret = bpf_tc_attach(NULL, &opts_hp); in test_tc_bpf_api()
287 ret = bpf_tc_attach(hook, NULL); in test_tc_bpf_api()
292 ret = bpf_tc_attach(hook, &opts_hp); in test_tc_bpf_api()
296 ret = bpf_tc_attach(hook, NULL); in test_tc_bpf_api()
300 ret = bpf_tc_attach(hook, &opts_hpi); in test_tc_bpf_api()
304 ret = bpf_tc_attach(hook, &opts_pf); in test_tc_bpf_api()
310 ret = bpf_tc_attach(hook, &opts_hf); in test_tc_bpf_api()
[all …]
A Dtest_tunnel.c228 ret = bpf_tc_attach(hook, &opts1); in attach_tc_prog()
237 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
A Dxfrm_info.c101 ret = bpf_tc_attach(hook, &opts1); in attach_tc_prog()
110 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
A Ddecap_sanity.c57 err = bpf_tc_attach(&qdisc_hook, &tc_attach); in test_decap_sanity()
A Dbtf_skc_cls_ingress.c43 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach), in prepare_netns()
A Dxdp_do_redirect.c58 ret = bpf_tc_attach(hook, &opts); in attach_tc_prog()
A Dtc_redirect.c277 err = bpf_tc_attach(qdisc_hook, &tc_attach); in xgress_filter_add()
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf.map262 bpf_tc_attach;
A Dlibbpf.h1099 LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook,
A Dnetlink.c707 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() function
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dxdp_synproxy.c245 err = bpf_tc_attach(&hook, &opts); in syncookie_attach()

Completed in 16 milliseconds