Searched refs:bpf_tc_hook_destroy (Results 1 - 12 of 12) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtc_bpf.c85 ret = bpf_tc_hook_destroy(&inv_hook);
86 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_hook_destroy invalid hook ifindex == 0"))
109 ret = bpf_tc_hook_destroy(&inv_hook);
110 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_hook_destroy invalid hook ifindex < 0"))
134 ret = bpf_tc_hook_destroy(&inv_hook);
135 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_hook_destroy invalid hook.attach_point"))
158 ret = bpf_tc_hook_destroy(&inv_hook);
159 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_hook_destroy invalid hook parent"))
183 ret = bpf_tc_hook_destroy(&inv_hook);
184 if (!ASSERT_EQ(ret, -EOPNOTSUPP, "bpf_tc_hook_destroy invali
[all...]
H A Ddecap_sanity.c72 bpf_tc_hook_destroy(&qdisc_hook);
H A Dxfrm_info.c88 bpf_tc_hook_destroy(hook);
97 bpf_tc_hook_destroy(hook);
H A Dxdp_do_redirect.c52 bpf_tc_hook_destroy(hook);
242 bpf_tc_hook_destroy(&tc_hook);
H A Dvrf_socket_lookup.c123 bpf_tc_hook_destroy(&hook);
128 bpf_tc_hook_destroy(&hook);
H A Dassign_reuse.c168 bpf_tc_hook_destroy(&tc_hook);
H A Dtest_tunnel.c383 bpf_tc_hook_destroy(hook);
392 bpf_tc_hook_destroy(hook);
H A Dtc_links.c612 bpf_tc_hook_destroy(&tc_hook);
1668 bpf_tc_hook_destroy(&tc_hook);
H A Dtc_opts.c652 bpf_tc_hook_destroy(&tc_hook);
2263 bpf_tc_hook_destroy(&tc_hook);
2369 bpf_tc_hook_destroy(&tc_hook);
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c37 err = bpf_tc_hook_destroy(&hook);
39 fprintf(stderr, "Error: bpf_tc_hook_destroy: %s\n", strerror(-err));
/linux-master/tools/lib/bpf/
H A Dlibbpf.h1256 LIBBPF_API int bpf_tc_hook_destroy(struct bpf_tc_hook *hook);
H A Dnetlink.c632 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) function

Completed in 133 milliseconds