Home
last modified time | relevance | path

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

/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 Dxdp_context_test_run.c251 ret = bpf_tc_attach(&tc_hook, &tc_opts); in test_xdp_context_veth()
327 ret = bpf_tc_attach(&tc_hook, &tc_opts); in test_tuntap()
335 ret = bpf_tc_attach(&tc_hook, &tc_opts); in test_tuntap()
391 ret = bpf_tc_attach(&tc_hook, &tc_opts); in test_tuntap_mirred()
H A Dcrypto_sanity.c143 err = bpf_tc_attach(&qdisc_hook, &tc_attach_enc); in test_crypto_sanity()
168 err = bpf_tc_attach(&qdisc_hook, &tc_attach_dec); in test_crypto_sanity()
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 Dtcp_custom_syncookie.c60 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach), in setup_tc()
H A Dcgroup_ancestor.c70 if (!ASSERT_OK(bpf_tc_attach(&t->qdisc, &t->tc_attach), "filter add")) in setup_network()
H A Dtest_tunnel.c
H A Dassign_reuse.c137 ret = bpf_tc_attach(&tc_hook, &tc_opts); in run_assign_reuse()
H A Dvrf_socket_lookup.c121 ret = bpf_tc_attach(&hook, &opts); in attach_progs()
H A Dxdp_do_redirect.c51 ret = bpf_tc_attach(hook, &opts); in attach_tc_prog()
H A Dtc_links.c567 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_classic()
568 if (!ASSERT_OK(err, "bpf_tc_attach")) in test_tc_chain_classic()
1619 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed()
1620 if (!ASSERT_OK(err, "bpf_tc_attach")) in test_tc_chain_mixed()
1727 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_links_ingress()
1728 if (!ASSERT_OK(err, "bpf_tc_attach")) in test_tc_links_ingress()
1935 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_links_dev_mixed()
1936 if (!ASSERT_OK(err, "bpf_tc_attach")) in test_tc_links_dev_mixed()
H A Dtc_redirect.c358 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()
2309 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed()
/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c245 err = bpf_tc_attach(&hook, &opts); in syncookie_attach()
H A Dnetwork_helpers.c799 ret = bpf_tc_attach(&hook, &opts1); in tc_prog_attach()
808 ret = bpf_tc_attach(&hook, &opts2); in tc_prog_attach()
/linux/tools/lib/bpf/
H A Dnetlink.c734 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() function