Home
last modified time | relevance | path

Searched refs:bpf_tc_detach (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/ !
H A Dtc_bpf.c64 ret = bpf_tc_detach(hook, &opts); in test_tc_bpf_basic()
65 ASSERT_OK(ret, "bpf_tc_detach"); in test_tc_bpf_basic()
94 ret = bpf_tc_detach(&inv_hook, &opts); in test_tc_bpf_api()
95 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_detach invalid hook ifindex == 0")) in test_tc_bpf_api()
118 ret = bpf_tc_detach(&inv_hook, &opts); in test_tc_bpf_api()
119 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_detach invalid hook ifindex < 0")) in test_tc_bpf_api()
142 ret = bpf_tc_detach(&inv_hook, &opts); in test_tc_bpf_api()
143 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_detach invalid hook.attach_point")) in test_tc_bpf_api()
166 ret = bpf_tc_detach(&inv_hook, &opts); in test_tc_bpf_api()
167 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_detach invali in test_tc_bpf_api()
[all...]
H A Dcrypto_sanity.c163 err = bpf_tc_detach(&qdisc_hook, &tc_attach_enc); in test_crypto_sanity()
164 if (!ASSERT_OK(err, "bpf_tc_detach encrypt")) in test_crypto_sanity()
188 err = bpf_tc_detach(&qdisc_hook, &tc_attach_dec); in test_crypto_sanity()
189 ASSERT_OK(err, "bpf_tc_detach decrypt"); in test_crypto_sanity()
H A Dcgroup_ancestor.c87 bpf_tc_detach(&t->qdisc, &t->tc_attach); in cleanup_network()
H A Dxdp_vlan.c116 bpf_tc_detach(&tc_hook, &tc_opts); in xdp_vlan()
H A Dassign_reuse.c163 ret = bpf_tc_detach(&tc_hook, &tc_opts); in run_assign_reuse()
164 ASSERT_OK(ret, "bpf_tc_detach"); in run_assign_reuse()
H A Dtc_opts.c647 err = bpf_tc_detach(&tc_hook, &tc_opts); in test_tc_chain_classic()
648 ASSERT_OK(err, "bpf_tc_detach"); in test_tc_chain_classic()
2364 err = bpf_tc_detach(&tc_hook, &tc_opts); in test_tc_chain_mixed()
2365 ASSERT_OK(err, "bpf_tc_detach"); in test_tc_chain_mixed()
/linux/tools/lib/bpf/ !
H A Dlibbpf.map262 bpf_tc_detach;
H A Dlibbpf.h1345 LIBBPF_API int bpf_tc_detach(const struct bpf_tc_hook *hook,
H A Dnetlink.c867 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach() function