Searched refs:bpf_tc_detach (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ ! |
H A D | tc_bpf.c | 64 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 D | crypto_sanity.c | 163 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 D | cgroup_ancestor.c | 87 bpf_tc_detach(&t->qdisc, &t->tc_attach); in cleanup_network()
|
H A D | xdp_vlan.c | 116 bpf_tc_detach(&tc_hook, &tc_opts); in xdp_vlan()
|
H A D | assign_reuse.c | 163 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 D | tc_opts.c | 647 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 D | libbpf.map | 262 bpf_tc_detach;
|
H A D | libbpf.h | 1345 LIBBPF_API int bpf_tc_detach(const struct bpf_tc_hook *hook,
|
H A D | netlink.c | 867 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach() function
|