Searched refs:bpf_tc_attach (Results 1 - 15 of 15) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtc_bpf.c37 ret = bpf_tc_attach(hook, &opts);
38 if (!ASSERT_OK(ret, "bpf_tc_attach"))
48 ret = bpf_tc_attach(hook, &opts);
49 if (!ASSERT_OK(ret, "bpf_tc_attach replace mode"))
89 ret = bpf_tc_attach(&inv_hook, &attach_opts);
90 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_attach invalid hook ifindex == 0"))
113 ret = bpf_tc_attach(&inv_hook, &attach_opts);
114 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_attach invalid hook ifindex < 0"))
138 ret = bpf_tc_attach(&inv_hook, &attach_opts);
139 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_attach invali
[all...]
H A Ddecap_sanity.c49 err = bpf_tc_attach(&qdisc_hook, &tc_attach);
H A Dtcp_custom_syncookie.c60 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach),
H A Dxfrm_info.c86 ret = bpf_tc_attach(hook, &opts1);
87 if (!ASSERT_OK(ret, "bpf_tc_attach")) {
95 ret = bpf_tc_attach(hook, &opts2);
96 if (!ASSERT_OK(ret, "bpf_tc_attach")) {
H A Dbtf_skc_cls_ingress.c43 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach),
H A Dxdp_do_redirect.c50 ret = bpf_tc_attach(hook, &opts);
51 if (!ASSERT_OK(ret, "bpf_tc_attach")) {
H A Dvrf_socket_lookup.c121 ret = bpf_tc_attach(&hook, &opts);
122 if (!ASSERT_OK(ret, "bpf_tc_attach")) {
H A Dassign_reuse.c137 ret = bpf_tc_attach(&tc_hook, &tc_opts);
138 if (!ASSERT_OK(ret, "bpf_tc_attach"))
H A Dtest_tunnel.c381 ret = bpf_tc_attach(hook, &opts1);
382 if (!ASSERT_OK(ret, "bpf_tc_attach")) {
390 ret = bpf_tc_attach(hook, &opts2);
391 if (!ASSERT_OK(ret, "bpf_tc_attach")) {
H A Dtc_links.c565 err = bpf_tc_attach(&tc_hook, &tc_opts);
566 if (!ASSERT_OK(err, "bpf_tc_attach"))
1617 err = bpf_tc_attach(&tc_hook, &tc_opts);
1618 if (!ASSERT_OK(err, "bpf_tc_attach"))
1725 err = bpf_tc_attach(&tc_hook, &tc_opts);
1726 if (!ASSERT_OK(err, "bpf_tc_attach"))
1874 err = bpf_tc_attach(&tc_hook, &tc_opts);
1875 if (!ASSERT_OK(err, "bpf_tc_attach"))
H A Dtc_redirect.c342 err = bpf_tc_attach(qdisc_hook, &tc_attach);
H A Dtc_opts.c602 err = bpf_tc_attach(&tc_hook, &tc_opts);
603 if (!ASSERT_OK(err, "bpf_tc_attach"))
2311 err = bpf_tc_attach(&tc_hook, &tc_opts);
2312 if (!ASSERT_OK(err, "bpf_tc_attach"))
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c245 err = bpf_tc_attach(&hook, &opts);
247 fprintf(stderr, "Error: bpf_tc_attach: %s\n",
/linux-master/tools/lib/bpf/
H A Dlibbpf.h1257 LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook,
H A Dnetlink.c718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) function

Completed in 182 milliseconds