Lines Matching full:tunnel
4 * End-to-end eBPF tunnel test suite
5 * The file tests BPF network tunnel implementation.
24 * root namespace with metadata-mode tunnel + BPF
28 * tunnel dev <type>11, ex: gre11, IPv4: 10.1.1.200, IPv6: 1::22 (overlay)
30 * Namespace at_ns0 with native tunnel
33 * tunnel dev <type>00, ex: gre00, IPv4: 10.1.1.100, IPv6: 1::11 (overlay)
42 * 2) Tnl device's egress BPF program is triggered and set the tunnel metadata,
44 * the primary or secondary ip of veth1 as the local ip of tunnel. The
46 * 3) Outer tunnel header is prepended and route the packet to veth1's egress.
48 * 5) Tunnel protocol handler, ex: vxlan_rcv, decap the packet.
281 "spi %d reqid 1 mode tunnel replay-window 42 " in add_xfrm_tunnel()
288 "mode tunnel", in add_xfrm_tunnel()
295 "spi %d reqid 2 mode tunnel " in add_xfrm_tunnel()
302 "mode tunnel", in add_xfrm_tunnel()
316 "spi %d reqid 1 mode tunnel replay-window 42 " in add_xfrm_tunnel()
322 "mode tunnel", in add_xfrm_tunnel()
328 "spi %d reqid 2 mode tunnel " in add_xfrm_tunnel()
334 "mode tunnel", in add_xfrm_tunnel()
413 /* add vxlan tunnel */ in test_vxlan_tunnel()
415 if (!ASSERT_OK(err, "add vxlan tunnel")) in test_vxlan_tunnel()
418 /* load and attach bpf prog to tunnel dev tc hook point */ in test_vxlan_tunnel()
446 /* load and attach prog set_md to tunnel dev tc hook point at_ns0 */ in test_vxlan_tunnel()
461 /* use veth1 ip 2 as tunnel source ip */ in test_vxlan_tunnel()
476 /* delete vxlan tunnel */ in test_vxlan_tunnel()
497 /* add vxlan tunnel */ in test_ip6vxlan_tunnel()
502 /* load and attach bpf prog to tunnel dev tc hook point */ in test_ip6vxlan_tunnel()
519 /* load and attach prog set_md to tunnel dev tc hook point at_ns0 */ in test_ip6vxlan_tunnel()
534 /* use veth1 ip 2 as tunnel source ip */ in test_ip6vxlan_tunnel()
549 /* delete ipv6 vxlan tunnel */ in test_ip6vxlan_tunnel()
567 /* add ipip tunnel */ in test_ipip_tunnel()
572 /* load and attach bpf prog to tunnel dev tc hook point */ in test_ipip_tunnel()
623 /* delete ipip tunnel */ in test_ipip_tunnel()
653 /* attach tc prog to tunnel dev */ in test_xfrm_tunnel()
661 /* attach xdp prog to tunnel dev */ in test_xfrm_tunnel()