Lines Matching +full:2 +full:d
9 # 2. client, server, no-server
26 # 172.16.2.1/32, 2001:db8:2::1/128
31 # eth1: 172.16.1.2/24, 2001:db8:1::2/64
33 # 172.16.2.2/32, 2001:db8:2::2/128
57 NSB_IP6=2001:db8:1::2
63 NSA_LO_IP6=2001:db8:2::1
64 NSB_LO_IP6=2001:db8:2::2
82 which ping6 > /dev/null 2>&1 && ping6=$(which ping6) || ping6=$(which ping)
90 local expected=$2
122 local rc=$2
178 killall nettest ping ping6 >/dev/null 2>&1
191 out=$($cmd 2>&1)
322 local dev=$2
348 local vrf=$2
376 local addr=$2
402 local ns1_dev=$2
443 ip netns del ${NSC} >/dev/null 2>&1
452 cleanup 2>/dev/null
500 cleanup 2>/dev/null
602 log_test_addr ${a} $? 2 "ping out, blocked by rule"
630 log_test_addr ${a} $? 2 "ping out, blocked by route"
651 log_test_addr ${a} $? 2 "ping out, unreachable default route"
664 set_sysctl net.ipv4.raw_l3mdev_accept=1 2>/dev/null
736 log_test_addr ${a} $? 2 "ping out, vrf bind, blocked by rule"
740 log_test_addr ${a} $? 2 "ping out, device bind, blocked by rule"
760 log_test_addr ${a} $? 2 "ping out, vrf bind, unreachable route"
764 log_test_addr ${a} $? 2 "ping out, device bind, unreachable route"
779 set_sysctl net.ipv4.raw_l3mdev_accept=0 2>/dev/null
782 set_sysctl net.ipv4.raw_l3mdev_accept=1 2>/dev/null
815 log_test $? 2 "MD5: Server no config, client uses password"
823 log_test $? 2 "MD5: Client uses wrong password"
831 log_test $? 2 "MD5: Client address does not match address configured with password"
850 log_test $? 2 "MD5: Prefix config, client uses wrong password"
858 log_test $? 2 "MD5: Prefix config, client address not in configured prefix"
872 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP} &
880 run_cmd nettest -s -d ${VRF} &
883 log_test $? 2 "MD5: VRF: Server no config, client uses password"
888 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP} &
891 log_test $? 2 "MD5: VRF: Client uses wrong password"
896 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -r ${NSB_LO_IP} &
899 log_test $? 2 "MD5: VRF: Client address does not match address configured with password"
907 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET} &
915 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET} &
918 log_test $? 2 "MD5: VRF: Prefix config, client uses wrong password"
923 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET} &
926 log_test $? 2 "MD5: VRF: Prefix config, client address not in configured prefix"
933 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP} &
940 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP} &
948 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP} &
952 …log_test $? 2 "MD5: VRF: Single address config in default VRF and VRF, conn in default VRF with VR…
956 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP} &
960 …log_test $? 2 "MD5: VRF: Single address config in default VRF and VRF, conn in VRF with default VR…
963 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET} &
970 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET} &
978 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET} &
982 log_test $? 2 "MD5: VRF: Prefix config in default VRF and VRF, conn in default VRF with VRF pw"
986 run_cmd nettest -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET} &
990 log_test $? 2 "MD5: VRF: Prefix config in default VRF and VRF, conn in VRF with default VRF pw"
996 run_cmd nettest -s -d ${NSA_DEV} -M ${MD5_PW} -r ${NSB_IP}
1000 run_cmd nettest -s -d ${NSA_DEV} -M ${MD5_PW} -m ${NS_NET}
1023 run_cmd nettest -s -d ${NSA_DEV} &
1051 run_cmd nettest -r ${a} -d ${NSA_DEV}
1061 run_cmd nettest -r ${a} -d ${NSA_DEV}
1079 run_cmd nettest -s -d ${NSA_DEV} &
1088 run_cmd nettest -s -d ${NSA_DEV} &
1098 run_cmd nettest -r ${a} -0 ${a} -d ${NSA_DEV}
1107 run_cmd nettest -r ${a} -d ${NSA_DEV}
1113 run_cmd nettest -s -d ${NSA_DEV} -2 ${NSA_DEV} &
1115 run_cmd nettest -d ${NSA_DEV} -r ${a} -0 ${a}
1120 run_cmd nettest -d ${NSA_DEV} -r ${a}
1148 run_cmd nettest -s -d ${VRF} -2 ${VRF} &
1154 run_cmd nettest -s -d ${NSA_DEV} -2 ${NSA_DEV} &
1173 run_cmd nettest -r ${a} -d ${NSA_DEV}
1189 run_cmd nettest -s -2 ${VRF} &
1196 run_cmd nettest -s -d ${VRF} -2 ${VRF} &
1211 run_cmd nettest -s -d ${NSA_DEV} -2 ${NSA_DEV} &
1221 run_cmd nettest -s -d ${VRF} &
1235 run_cmd nettest -r ${a} -d ${VRF}
1241 run_cmd nettest -r ${a} -d ${NSA_DEV}
1246 run_cmd nettest -r ${a} -d ${VRF}
1251 run_cmd nettest -r ${a} -d ${NSA_DEV}
1258 run_cmd nettest -s -d ${VRF} -2 ${VRF} &
1260 run_cmd nettest -r ${a} -d ${VRF} -0 ${a}
1266 run_cmd nettest -s -d ${VRF} -2 ${VRF} &
1268 run_cmd nettest -r ${a} -d ${NSA_DEV} -0 ${a}
1273 run_cmd nettest -s -d ${VRF} &
1279 run_cmd nettest -s -d ${NSA_DEV} -2 ${NSA_DEV} &
1281 run_cmd nettest -r ${a} -d ${VRF} -0 ${a}
1285 run_cmd nettest -s -d ${NSA_DEV} -2 ${NSA_DEV} &
1287 run_cmd nettest -r ${a} -d ${NSA_DEV} -0 ${a}
1324 run_cmd nettest -D -s -2 ${NSA_DEV} &
1326 run_cmd_nsb nettest -D -r ${a}
1331 run_cmd_nsb nettest -D -r ${a}
1337 run_cmd nettest -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
1339 run_cmd_nsb nettest -D -r ${a}
1348 run_cmd_nsb nettest -D -s &
1350 run_cmd nettest -D -r ${a} -0 ${NSA_IP}
1354 run_cmd_nsb nettest -D -s &
1356 run_cmd nettest -D -r ${a} -d ${NSA_DEV} -0 ${NSA_IP}
1360 run_cmd_nsb nettest -D -s &
1362 run_cmd nettest -D -r ${a} -d ${NSA_DEV} -C -0 ${NSA_IP}
1366 run_cmd_nsb nettest -D -s &
1368 run_cmd nettest -D -r ${a} -d ${NSA_DEV} -S -0 ${NSA_IP}
1373 run_cmd nettest -D -r ${a}
1378 run_cmd nettest -D -r ${a} -d ${NSA_DEV}
1388 run_cmd nettest -D -s &
1390 run_cmd nettest -D -r ${a} -0 ${a} -1 ${a}
1396 run_cmd nettest -s -D -d ${NSA_DEV} -2 ${NSA_DEV} &
1398 run_cmd nettest -D -r ${a}
1405 run_cmd nettest -s -D -d ${NSA_DEV} &
1407 run_cmd nettest -D -r ${a}
1413 run_cmd nettest -s -D &
1415 run_cmd nettest -D -d ${NSA_DEV} -r ${a}
1419 run_cmd nettest -s -D &
1421 run_cmd nettest -D -d ${NSA_DEV} -C -r ${a}
1425 run_cmd nettest -s -D &
1427 run_cmd nettest -D -d ${NSA_DEV} -S -r ${a}
1437 run_cmd nettest -D -s &
1439 run_cmd nettest -D -r ${a} -d ${NSA_DEV}
1440 log_test_addr ${a} $? 2 "Global server, device client, local connection"
1444 run_cmd nettest -D -s &
1446 run_cmd nettest -D -r ${a} -d ${NSA_DEV} -C
1451 run_cmd nettest -D -s &
1453 run_cmd nettest -D -r ${a} -d ${NSA_DEV} -S
1459 run_cmd nettest -D -s -d ${NSA_DEV} -2 ${NSA_DEV} &
1461 run_cmd nettest -D -d ${NSA_DEV} -r ${a} -0 ${a}
1465 run_cmd nettest -D -d ${NSA_DEV} -r ${a}
1466 log_test_addr ${a} $? 2 "No server, device client, local conn"
1484 run_cmd nettest -D -s &
1486 run_cmd_nsb nettest -D -r ${a}
1490 run_cmd nettest -D -d ${VRF} -s -2 ${NSA_DEV} &
1492 run_cmd_nsb nettest -D -r ${a}
1496 run_cmd nettest -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
1498 run_cmd_nsb nettest -D -r ${a}
1503 run_cmd_nsb nettest -D -r ${a}
1508 run_cmd nettest -D -s &
1510 run_cmd nettest -D -d ${VRF} -r ${a}
1516 run_cmd nettest -s -D -d ${VRF} -2 ${NSA_DEV} &
1518 run_cmd nettest -D -d ${VRF} -r ${a}
1522 run_cmd nettest -s -D -d ${VRF} -2 ${NSA_DEV} &
1524 run_cmd nettest -D -d ${NSA_DEV} -r ${a}
1529 run_cmd nettest -s -D -d ${NSA_DEV} -2 ${NSA_DEV} &
1531 run_cmd nettest -D -d ${VRF} -r ${a}
1535 run_cmd nettest -s -D -d ${NSA_DEV} -2 ${NSA_DEV} &
1537 run_cmd nettest -D -d ${NSA_DEV} -r ${a}
1550 run_cmd nettest -D -s -2 ${NSA_DEV} &
1552 run_cmd_nsb nettest -D -r ${a}
1556 run_cmd nettest -D -d ${VRF} -s -2 ${NSA_DEV} &
1558 run_cmd_nsb nettest -D -r ${a}
1562 run_cmd nettest -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
1564 run_cmd_nsb nettest -D -r ${a}
1569 run_cmd_nsb nettest -D -r ${a}
1577 run_cmd_nsb nettest -D -s &
1579 run_cmd nettest -d ${VRF} -D -r ${NSB_IP} -1 ${NSA_IP}
1583 run_cmd_nsb nettest -D -s &
1585 run_cmd nettest -d ${NSA_DEV} -D -r ${NSB_IP} -1 ${NSA_IP}
1591 run_cmd nettest -D -d ${VRF} -r ${NSB_IP}
1596 run_cmd nettest -D -d ${NSA_DEV} -r ${NSB_IP}
1604 run_cmd nettest -D -s -2 ${NSA_DEV} &
1606 run_cmd nettest -D -d ${VRF} -r ${a}
1610 run_cmd nettest -s -D -d ${VRF} -2 ${NSA_DEV} &
1612 run_cmd nettest -D -d ${VRF} -r ${a}
1616 run_cmd nettest -s -D -d ${VRF} -2 ${NSA_DEV} &
1618 run_cmd nettest -D -d ${NSA_DEV} -r ${a}
1622 run_cmd nettest -s -D -d ${NSA_DEV} -2 ${NSA_DEV} &
1624 run_cmd nettest -D -d ${VRF} -r ${a}
1628 run_cmd nettest -s -D -d ${NSA_DEV} -2 ${NSA_DEV} &
1630 run_cmd nettest -D -d ${NSA_DEV} -r ${a}
1636 run_cmd nettest -D -s -2 ${VRF} &
1638 run_cmd nettest -D -d ${VRF} -r ${a}
1645 run_cmd nettest -s -D -d ${VRF} -2 ${VRF} &
1647 run_cmd nettest -D -d ${VRF} -r ${a}
1657 run_cmd nettest -D -d ${VRF} -r ${a}
1700 run_cmd nettest -s -R -P icmp -l ${a} -d ${NSA_DEV} -b
1713 run_cmd nettest -l ${a} -r ${NSB_IP} -d ${NSA_DEV} -t1 -b
1723 #run_cmd nettest -s -l ${a} -d ${NSA_DEV} -t1 -b
1739 run_cmd nettest -s -R -P icmp -l ${a} -d ${NSA_DEV} -b
1742 run_cmd nettest -s -R -P icmp -l ${a} -d ${VRF} -b
1749 run_cmd nettest -s -R -P icmp -l ${a} -d ${VRF} -b
1758 run_cmd nettest -s -l ${a} -d ${VRF} -t1 -b
1762 run_cmd nettest -s -l ${a} -d ${NSA_DEV} -t1 -b
1769 run_cmd nettest -s -l ${a} -d ${VRF} -t1 -b
1774 run_cmd nettest -s -l ${a} -d ${NSA_DEV} -t1 -b
1797 local varg="$2"
1821 run_cmd nettest ${varg} -s -d ${VRF} &
1834 run_cmd nettest ${varg} -s -d ${NSA_DEV} &
1850 run_cmd nettest ${varg} -d ${VRF} -r ${NSB_IP} &
1861 run_cmd nettest ${varg} -d ${NSA_DEV} -r ${NSB_IP} &
1877 run_cmd nettest ${varg} -d ${VRF} -r ${a} &
1889 run_cmd nettest ${varg} -d ${VRF} -s &
1891 run_cmd nettest ${varg} -d ${VRF} -r ${a} &
1904 run_cmd nettest ${varg} -d ${NSA_DEV} -r ${a} &
1913 run_cmd nettest ${varg} -d ${VRF} -s &
1915 run_cmd nettest ${varg} -d ${NSA_DEV} -r ${a} &
1924 run_cmd nettest ${varg} -d ${NSA_DEV} -s &
1926 run_cmd nettest ${varg} -d ${NSA_DEV} -r ${a} &
1981 set_sysctl net.ipv4.raw_l3mdev_accept=0 2>/dev/null
2036 log_test_addr ${a} $? 2 "ping local, device bind"
2050 log_test_addr ${a} $? 2 "ping out, blocked by rule"
2054 log_test_addr ${a} $? 2 "ping out, device bind, blocked by rule"
2077 log_test_addr ${a} $? 2 "ping out, blocked by route"
2081 log_test_addr ${a} $? 2 "ping out, device bind, blocked by route"
2099 log_test_addr ${a} $? 2 "ping out, unreachable route"
2103 log_test_addr ${a} $? 2 "ping out, device bind, unreachable route"
2111 set_sysctl net.ipv4.raw_l3mdev_accept=1 2>/dev/null
2128 log_test_addr ${a} $? 2 "ping out, VRF bind"
2204 log_test_addr ${a} $? 2 "ping out, blocked by rule"
2208 log_test_addr ${a} $? 2 "ping out, device bind, blocked by rule"
2228 log_test_addr ${a} $? 2 "ping out, unreachable route"
2232 log_test_addr ${a} $? 2 "ping out, device bind, unreachable route"
2238 log_test_addr ${a} $? 2 "ping in, unreachable route"
2279 log_test $? 2 "MD5: Server no config, client uses password"
2287 log_test $? 2 "MD5: Client uses wrong password"
2295 log_test $? 2 "MD5: Client address does not match address configured with password"
2314 log_test $? 2 "MD5: Prefix config, client uses wrong password"
2322 log_test $? 2 "MD5: Prefix config, client address not in configured prefix"
2336 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2344 run_cmd nettest -6 -s -d ${VRF} &
2347 log_test $? 2 "MD5: VRF: Server no config, client uses password"
2352 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2355 log_test $? 2 "MD5: VRF: Client uses wrong password"
2360 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_LO_IP6} &
2363 log_test $? 2 "MD5: VRF: Client address does not match address configured with password"
2371 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2379 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2382 log_test $? 2 "MD5: VRF: Prefix config, client uses wrong password"
2387 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2390 log_test $? 2 "MD5: VRF: Prefix config, client address not in configured prefix"
2397 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2404 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2412 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2416 …log_test $? 2 "MD5: VRF: Single address config in default VRF and VRF, conn in default VRF with VR…
2420 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2424 …log_test $? 2 "MD5: VRF: Single address config in default VRF and VRF, conn in VRF with default VR…
2427 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2434 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2442 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2446 log_test $? 2 "MD5: VRF: Prefix config in default VRF and VRF, conn in default VRF with VRF pw"
2450 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2454 log_test $? 2 "MD5: VRF: Prefix config in default VRF and VRF, conn in VRF with default VRF pw"
2460 run_cmd nettest -6 -s -d ${NSA_DEV} -M ${MD5_PW} -r ${NSB_IP6}
2464 run_cmd nettest -6 -s -d ${NSA_DEV} -M ${MD5_PW} -m ${NS_NET6}
2511 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2519 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2537 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2546 run_cmd nettest -6 -s -d ${NSA_DEV} &
2556 run_cmd nettest -6 -r ${a} -d ${NSA_DEV} -0 ${a}
2565 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2572 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2574 run_cmd nettest -6 -d ${NSA_DEV} -r ${a}
2582 run_cmd nettest -6 -d ${NSA_DEV} -r ${a}
2614 run_cmd nettest -6 -s -d ${VRF} -2 ${VRF} &
2623 run_cmd nettest -6 -s -d ${VRF} -2 ${NSA_DEV} &
2631 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2652 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2667 run_cmd nettest -6 -s -2 ${VRF} &
2676 run_cmd nettest -6 -s -d ${VRF} -2 ${VRF} &
2685 run_cmd nettest -6 -s -2 ${NSA_DEV} &
2691 run_cmd nettest -6 -s -d ${VRF} -2 ${NSA_DEV} &
2699 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2719 run_cmd nettest -6 -s -d ${VRF} &
2734 run_cmd nettest -6 -r ${a} -d ${VRF}
2743 run_cmd nettest -6 -r ${a} -d ${VRF}
2751 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2759 run_cmd nettest -6 -r ${a} -d ${VRF}
2767 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2774 run_cmd nettest -6 -s -d ${VRF} -2 ${VRF} &
2776 run_cmd nettest -6 -r ${a} -d ${VRF} -0 ${a}
2782 run_cmd nettest -6 -s -d ${VRF} -2 ${VRF} &
2784 run_cmd nettest -6 -r ${a} -d ${NSA_DEV} -0 ${a}
2790 run_cmd nettest -6 -s -d ${VRF} &
2796 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2798 run_cmd nettest -6 -r ${a} -d ${VRF} -0 ${a}
2804 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2806 run_cmd nettest -6 -r ${a} -d ${NSA_DEV} -0 ${a}
2844 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
2846 run_cmd_nsb nettest -6 -D -r ${a}
2850 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
2852 run_cmd_nsb nettest -6 -D -r ${a}
2858 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
2860 run_cmd_nsb nettest -6 -D -r ${a}
2868 #run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
2870 #run_cmd_nsb nettest -6 -D -r ${a}
2878 run_cmd_nsb nettest -6 -D -r ${a}
2888 run_cmd_nsb nettest -6 -D -s &
2890 run_cmd nettest -6 -D -r ${a} -0 ${NSA_IP6}
2894 run_cmd_nsb nettest -6 -D -s &
2896 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -0 ${NSA_IP6}
2900 run_cmd_nsb nettest -6 -D -s &
2902 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -C -0 ${NSA_IP6}
2906 run_cmd_nsb nettest -6 -D -s &
2908 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -S -0 ${NSA_IP6}
2913 run_cmd nettest -6 -D -r ${a}
2918 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV}
2928 run_cmd nettest -6 -D -s &
2930 run_cmd nettest -6 -D -r ${a} -0 ${a} -1 ${a}
2936 run_cmd nettest -6 -s -D -d ${NSA_DEV} -2 ${NSA_DEV} &
2938 run_cmd nettest -6 -D -r ${a}
2945 run_cmd nettest -6 -s -D -d ${NSA_DEV} &
2947 run_cmd nettest -6 -D -r ${a}
2953 run_cmd nettest -6 -s -D &
2955 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
2959 run_cmd nettest -6 -s -D &
2961 run_cmd nettest -6 -D -d ${NSA_DEV} -C -r ${a}
2965 run_cmd nettest -6 -s -D &
2967 run_cmd nettest -6 -D -d ${NSA_DEV} -S -r ${a}
2974 run_cmd nettest -6 -D -s &
2976 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV}
2981 run_cmd nettest -6 -D -s &
2983 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -C
2988 run_cmd nettest -6 -D -s &
2990 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -S
2996 run_cmd nettest -6 -D -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2998 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a} -0 ${a}
3003 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3010 run_cmd nettest -6 -s -D &
3012 run_cmd_nsb nettest -6 -D -r ${NSA_IP6}
3034 run_cmd nettest -6 -D -s &
3036 run_cmd_nsb nettest -6 -D -r ${a}
3043 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3045 run_cmd_nsb nettest -6 -D -r ${a}
3052 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3054 run_cmd_nsb nettest -6 -D -r ${a}
3063 run_cmd_nsb nettest -6 -D -r ${a}
3074 run_cmd nettest -6 -D -s &
3076 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3083 run_cmd nettest -6 -D -d ${VRF} -s &
3085 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3092 run_cmd nettest -6 -D -s &
3094 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3098 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3100 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3104 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3106 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3110 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3112 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3125 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
3127 run_cmd_nsb nettest -6 -D -r ${a}
3134 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3136 run_cmd_nsb nettest -6 -D -r ${a}
3143 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3145 run_cmd_nsb nettest -6 -D -r ${a}
3153 run_cmd_nsb nettest -6 -D -r ${a}
3161 run_cmd_nsb nettest -6 -D -s &
3163 run_cmd nettest -6 -D -d ${VRF} -r ${NSB_IP6}
3168 run_cmd nettest -6 -D -d ${VRF} -r ${NSB_IP6}
3172 run_cmd_nsb nettest -6 -D -s &
3174 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSB_IP6}
3179 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSB_IP6}
3187 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
3189 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3193 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3195 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3201 run_cmd nettest -6 -D -s -2 ${VRF} &
3203 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3207 run_cmd nettest -6 -D -d ${VRF} -s -2 ${VRF} &
3209 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3216 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3223 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
3225 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3229 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3231 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3235 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3237 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3241 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3243 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3247 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3253 run_cmd nettest -6 -D -s &
3255 run_cmd_nsb nettest -6 -D -d ${NSB_DEV} -r ${NSA_LINKIP6}
3259 run_cmd_nsb nettest -6 -D -d ${NSB_DEV} -r ${NSA_LINKIP6}
3264 run_cmd_nsb nettest -6 -D -s &
3266 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSB_LINKIP6}
3270 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSB_LINKIP6}
3275 run_cmd nettest -6 -D -s &
3277 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSA_LINKIP6}
3281 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSA_LINKIP6}
3288 run_cmd nettest -6 -s -D &
3290 run_cmd_nsb nettest -6 -D -r ${NSA_IP6}
3335 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -d ${NSA_DEV} -b
3348 run_cmd nettest -6 -s -l ${a} -d ${NSA_DEV} -t1 -b
3354 run_cmd nettest -6 -s -l ${a} -d ${NSA_DEV} -t1 -b
3366 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -d ${VRF} -b
3370 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -d ${NSA_DEV} -b
3377 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -d ${VRF} -b
3387 run_cmd nettest -6 -s -l ${a} -d ${VRF} -t1 -b
3393 run_cmd nettest -6 -s -l ${a} -d ${NSA_DEV} -t1 -b
3398 run_cmd nettest -6 -s -l ${a} -d ${NSA_DEV} -t1 -b
3404 run_cmd nettest -6 -s -l ${a} -d ${VRF} -t1 -b
3409 run_cmd nettest -6 -s -l ${a} -d ${NSA_DEV} -t1 -b
3433 local varg="-6 $2"
3457 run_cmd nettest ${varg} -d ${VRF} -s &
3471 run_cmd nettest ${varg} -d ${NSA_DEV} -s &
3488 run_cmd nettest ${varg} -d ${VRF} -r ${NSB_IP6} &
3499 run_cmd nettest ${varg} -d ${NSA_DEV} -r ${NSB_IP6} &
3516 run_cmd nettest ${varg} -d ${VRF} -r ${a} &
3528 run_cmd nettest ${varg} -d ${VRF} -s &
3530 run_cmd nettest ${varg} -d ${VRF} -r ${a} &
3543 run_cmd nettest ${varg} -d ${NSA_DEV} -r ${a} &
3552 run_cmd nettest ${varg} -d ${VRF} -s &
3554 run_cmd nettest ${varg} -d ${NSA_DEV} -r ${a} &
3563 run_cmd nettest ${varg} -d ${NSA_DEV} -s &
3565 run_cmd nettest ${varg} -d ${NSA_DEV} -r ${a} &
3609 ipv6_rt "UDP active socket" "-D -n -1"
3635 [ "${stype}" = "UDP" ] && arg="-D"
3692 [ "${stype}" = "UDP" ] && arg="$arg -D"
3751 rmmod br_netfilter 2>/dev/null
3797 setup_cmd_nsb ip -6 addr add dev vlan100 2001:db8:101::2/64 nodad
3801 rmmod br_netfilter 2>/dev/null
3808 run_cmd ${ping6} -c1 -w1 -I br0.100 2001:db8:101::2
3826 run_cmd ${ping6} -c1 -w1 -I br0.100 2001:db8:101::2
3838 setup_cmd ip li del br0 2>/dev/null
3839 setup_cmd_nsb ip li del vlan100 2>/dev/null
3982 cleanup 2>/dev/null
3984 printf "\nTests passed: %3d\n" ${nsuccess}
3985 printf "Tests failed: %3d\n" ${nfail}