Lines Matching full:tunnel
4 # End-to-end eBPF tunnel test suite
5 # The script tests BPF network tunnel implementation.
24 # Root namespace with metadata-mode tunnel + BPF
27 # tunnel dev <type>11, ex: gre11, IPv4: 10.1.1.200, IPv6: 1::22 (overlay)
29 # Namespace at_ns0 with native tunnel
32 # tunnel dev <type>00, ex: gre00, IPv4: 10.1.1.100, IPv6: 1::11 (overlay)
41 # 2) Tnl device's egress BPF program is triggered and set the tunnel metadata,
43 # 3) Outer tunnel header is prepended and route the packet to veth1's egress
45 # 5) Tunnel protocol handler, ex: vxlan_rcv, decap the packet
48 BPF_PIN_TUNNEL_DIR="/sys/fs/bpf/tc/tunnel"
500 spi $spi_in_to_out reqid 1 mode tunnel \
505 mode tunnel
509 spi $spi_out_to_in reqid 2 mode tunnel \
514 mode tunnel
525 spi $spi_in_to_out reqid 1 mode tunnel \
529 mode tunnel
532 spi $spi_out_to_in reqid 2 mode tunnel \
536 mode tunnel
563 echo -e ${RED}"FAIL: xfrm tunnel"${NC}
566 echo -e ${GREEN}"PASS: xfrm tunnel"${NC}
639 echo "Testing GRE tunnel..."
643 echo "Testing IP6GRE tunnel..."
647 echo "Testing IP6GRETAP tunnel..."
651 echo "Testing ERSPAN tunnel..."
655 echo "Testing IP6ERSPAN tunnel..."
659 echo "Testing GENEVE tunnel..."
663 echo "Testing IP6GENEVE tunnel..."
667 echo "Testing IPIP tunnel..."
671 echo "Testing IPIP6 tunnel..."
675 echo "Testing IP6IP6 tunnel..."
679 echo "Testing IPSec tunnel..."