Searched refs:bpf_tc_attach (Results 1 - 15 of 15) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_bpf.c | 37 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 D | decap_sanity.c | 49 err = bpf_tc_attach(&qdisc_hook, &tc_attach);
|
H A D | tcp_custom_syncookie.c | 60 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach),
|
H A D | xfrm_info.c | 86 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 D | btf_skc_cls_ingress.c | 43 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach),
|
H A D | xdp_do_redirect.c | 50 ret = bpf_tc_attach(hook, &opts); 51 if (!ASSERT_OK(ret, "bpf_tc_attach")) {
|
H A D | vrf_socket_lookup.c | 121 ret = bpf_tc_attach(&hook, &opts); 122 if (!ASSERT_OK(ret, "bpf_tc_attach")) {
|
H A D | assign_reuse.c | 137 ret = bpf_tc_attach(&tc_hook, &tc_opts); 138 if (!ASSERT_OK(ret, "bpf_tc_attach"))
|
H A D | test_tunnel.c | 381 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 D | tc_links.c | 565 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 D | tc_redirect.c | 342 err = bpf_tc_attach(qdisc_hook, &tc_attach);
|
H A D | tc_opts.c | 602 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 D | xdp_synproxy.c | 245 err = bpf_tc_attach(&hook, &opts); 247 fprintf(stderr, "Error: bpf_tc_attach: %s\n",
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.h | 1257 LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook,
|
H A D | netlink.c | 718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) function
|
Completed in 182 milliseconds