Searched refs:bpf_tc_attach (Results 1 – 17 of 17) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_bpf.c | 37 ret = bpf_tc_attach(hook, &opts); in test_tc_bpf_basic() 48 ret = bpf_tc_attach(hook, &opts); in test_tc_bpf_basic() 89 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api() 113 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api() 138 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api() 162 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api() 187 ret = bpf_tc_attach(&inv_hook, &attach_opts); in test_tc_bpf_api() 284 ret = bpf_tc_attach(NULL, &opts_hp); in test_tc_bpf_api() 288 ret = bpf_tc_attach(hook, NULL); in test_tc_bpf_api() 293 ret = bpf_tc_attach(hook, &opts_hp); in test_tc_bpf_api() [all …]
|
| H A D | xdp_context_test_run.c | 251 ret = bpf_tc_attach(&tc_hook, &tc_opts); in test_xdp_context_veth() 327 ret = bpf_tc_attach(&tc_hook, &tc_opts); in test_tuntap() 335 ret = bpf_tc_attach(&tc_hook, &tc_opts); in test_tuntap() 391 ret = bpf_tc_attach(&tc_hook, &tc_opts); in test_tuntap_mirred()
|
| H A D | crypto_sanity.c | 143 err = bpf_tc_attach(&qdisc_hook, &tc_attach_enc); in test_crypto_sanity() 168 err = bpf_tc_attach(&qdisc_hook, &tc_attach_dec); in test_crypto_sanity()
|
| H A D | xfrm_info.c | 86 ret = bpf_tc_attach(hook, &opts1); in attach_tc_prog() 95 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
|
| H A D | decap_sanity.c | 48 err = bpf_tc_attach(&qdisc_hook, &tc_attach); in test_decap_sanity()
|
| H A D | tcp_custom_syncookie.c | 60 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach), in setup_tc()
|
| H A D | cgroup_ancestor.c | 70 if (!ASSERT_OK(bpf_tc_attach(&t->qdisc, &t->tc_attach), "filter add")) in setup_network()
|
| H A D | test_tunnel.c | |
| H A D | assign_reuse.c | 137 ret = bpf_tc_attach(&tc_hook, &tc_opts); in run_assign_reuse()
|
| H A D | vrf_socket_lookup.c | 121 ret = bpf_tc_attach(&hook, &opts); in attach_progs()
|
| H A D | xdp_do_redirect.c | 51 ret = bpf_tc_attach(hook, &opts); in attach_tc_prog()
|
| H A D | tc_links.c | 567 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_classic() 568 if (!ASSERT_OK(err, "bpf_tc_attach")) in test_tc_chain_classic() 1619 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed() 1620 if (!ASSERT_OK(err, "bpf_tc_attach")) in test_tc_chain_mixed() 1727 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_links_ingress() 1728 if (!ASSERT_OK(err, "bpf_tc_attach")) in test_tc_links_ingress() 1935 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_links_dev_mixed() 1936 if (!ASSERT_OK(err, "bpf_tc_attach")) in test_tc_links_dev_mixed()
|
| H A D | tc_redirect.c | 358 err = bpf_tc_attach(qdisc_hook, &tc_attach); in xgress_filter_add()
|
| H A D | tc_opts.c | 602 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_classic() 2309 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | xdp_synproxy.c | 245 err = bpf_tc_attach(&hook, &opts); in syncookie_attach()
|
| H A D | network_helpers.c | 799 ret = bpf_tc_attach(&hook, &opts1); in tc_prog_attach() 808 ret = bpf_tc_attach(&hook, &opts2); in tc_prog_attach()
|
| /linux/tools/lib/bpf/ |
| H A D | netlink.c | 734 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() function
|