Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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 …]
H A Dxfrm_info.c86 ret = bpf_tc_attach(hook, &opts1); in attach_tc_prog()
95 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
H A Ddecap_sanity.c48 err = bpf_tc_attach(&qdisc_hook, &tc_attach); in test_decap_sanity()
H A Dtest_tunnel.c289 ret = bpf_tc_attach(hook, &opts1); in attach_tc_prog()
298 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
H A Dbtf_skc_cls_ingress.c43 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach), in prepare_netns()
H A Dassign_reuse.c137 ret = bpf_tc_attach(&tc_hook, &tc_opts); in run_assign_reuse()
H A Dxdp_do_redirect.c50 ret = bpf_tc_attach(hook, &opts); in attach_tc_prog()
H A Dvrf_socket_lookup.c121 ret = bpf_tc_attach(&hook, &opts); in attach_progs()
H A Dtc_links.c567 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_classic()
1619 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed()
1727 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_links_ingress()
1935 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_links_dev_mixed()
H A Dtc_redirect.c292 err = bpf_tc_attach(qdisc_hook, &tc_attach); in xgress_filter_add()
H A 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()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.map262 bpf_tc_attach;
H A Dlibbpf.h1223 LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook,
H A Dnetlink.c718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() function
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c245 err = bpf_tc_attach(&hook, &opts); in syncookie_attach()