Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c36 ret = bpf_tc_attach(hook, &opts); in test_tc_bpf_basic()
47 ret = bpf_tc_attach(hook, &opts); in test_tc_bpf_basic()
88 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
112 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
137 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
161 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
186 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api()
283 ret = bpf_tc_attach(NULL, &opts_hp); in test_tc_bpf_api()
287 ret = bpf_tc_attach(hook, NULL); in test_tc_bpf_api()
292 ret = bpf_tc_attach(hook, &opts_hp); in test_tc_bpf_api()
[all …]
Dtest_tunnel.c228 ret = bpf_tc_attach(hook, &opts1); in attach_tc_prog()
237 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
Dxdp_do_redirect.c56 ret = bpf_tc_attach(hook, &opts); in attach_tc_prog()
/Linux-v6.1/tools/lib/bpf/
Dlibbpf.map262 bpf_tc_attach;
Dlibbpf.h1007 LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook,
Dnetlink.c611 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() function
/Linux-v6.1/tools/testing/selftests/bpf/
Dxdp_synproxy.c242 err = bpf_tc_attach(&hook, &opts); in syncookie_attach()