Home
last modified time | relevance | path

Searched refs:tc_prog_attach (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_tunnel.c559 if (tc_prog_attach(VXLAN_TUNL_DEV1, get_src_prog_fd, set_src_prog_fd)) in test_vxlan_tunnel()
564 if (tc_prog_attach("veth1", set_dst_prog_fd, -1)) in test_vxlan_tunnel()
572 if (tc_prog_attach(VXLAN_TUNL_DEV0, -1, set_dst_prog_fd)) in test_vxlan_tunnel()
619 if (tc_prog_attach(IP6VXLAN_TUNL_DEV1, get_src_prog_fd, set_src_prog_fd)) in test_ip6vxlan_tunnel()
627 if (tc_prog_attach(IP6VXLAN_TUNL_DEV0, -1, set_dst_prog_fd)) in test_ip6vxlan_tunnel()
688 if (tc_prog_attach(IPIP_TUNL_DEV1, get_src_prog_fd, set_src_prog_fd)) in test_ipip_tunnel()
721 if (tc_prog_attach("veth1", tc_prog_fd, -1)) in test_xfrm_tunnel()
794 if (tc_prog_attach(GRE_TUNL_DEV1, get_fd, set_fd)) in test_gre_tunnel()
835 if (tc_prog_attach(IP6GRE_TUNL_DEV1, get_fd, set_fd)) in test_ip6gre_tunnel()
878 if (tc_prog_attach(ERSPAN_TUNL_DEV1, get_fd, set_fd)) in test_erspan_tunnel()
[all …]
H A Dtest_tc_edt.c66 ret = tc_prog_attach("veth2", -1, bpf_program__fd(skel->progs.tc_prog)); in setup()
H A Dtest_tc_tunnel.c315 ret = tc_prog_attach("veth1", -1, cfg->client_egress_prog_fd); in configure_encapsulation()
372 if (!ASSERT_OK(tc_prog_attach("veth2", cfg->server_ingress_prog_fd, -1), in configure_ebpf_decapsulation()
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h272 int tc_prog_attach(const char *dev, int ingress_fd, int egress_fd);
H A Dnetwork_helpers.c774 int tc_prog_attach(const char *dev, int ingress_fd, int egress_fd) in tc_prog_attach() function