• Home
  • Raw
  • Download

Lines Matching refs:ns1

50 	ns1="ns1-$rndh"
53 for netns in "$ns1" "$ns2";do
71 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
72 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i
73 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad
74 ip -net "$ns1" link set ns1eth$i up
89 tc -n $ns1 qdisc add dev ns1eth$i root netem rate 20mbit delay 1
98 for netns in "$ns1" "$ns2"; do
121 for netns in "$ns1" "$ns2";do
138 ip netns exec $ns1 sysctl -q net.mptcp.add_addr_timeout=1
153 ip netns exec $ns1 sysctl -q net.mptcp.checksum_enabled=$ns1_enable
164 ip netns exec $ns1 sysctl -q net.mptcp.allow_join_initial_addr_port=$ns1_enable
360 ip netns exec $ns1 ./pm_nl_ctl add $addr flags signal
449 for netns in "$ns1" "$ns2"; do
576 count=$(get_counter ${ns1} "MPTcpExtDataCsumErr")
599 ip netns exec $ns1 nstat -as | grep MPTcp
613 count=$(get_counter ${ns1} "MPTcpExtMPFailTx")
638 ip netns exec $ns1 nstat -as | grep MPTcp
655 count=$(get_counter ${ns1} "MPTcpExtMPJoinSynRx")
687 count=$(get_counter ${ns1} "MPTcpExtMPJoinAckRx")
699 ip netns exec $ns1 nstat -as | grep MPTcp
774 count=$(get_counter ${ns1} "MPTcpExtEchoAdd")
799 count=$(get_counter ${ns1} "MPTcpExtMPJoinPortSynRx")
825 count=$(get_counter ${ns1} "MPTcpExtMPJoinPortAckRx")
838 count=$(get_counter ${ns1} "MPTcpExtMismatchPortSynRx")
851 count=$(get_counter ${ns1} "MPTcpExtMismatchPortAckRx")
868 ip netns exec $ns1 nstat -as | grep MPTcp
885 addr_ns=$ns1
889 subflow_ns=$ns1
918 ip netns exec $ns1 nstat -as | grep MPTcp
932 count=$(get_counter ${ns1} "MPTcpExtMPPrioTx")
944 count=$(get_counter ${ns1} "MPTcpExtMPPrioRx")
957 ip netns exec $ns1 nstat -as | grep MPTcp
987 run_tests $ns1 $ns2 10.0.1.1
993 run_tests $ns1 $ns2 10.0.1.1
1000 run_tests $ns1 $ns2 10.0.1.1
1005 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1008 run_tests $ns1 $ns2 10.0.1.1
1013 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1017 run_tests $ns1 $ns2 10.0.1.1
1022 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1026 run_tests $ns1 $ns2 10.0.1.1
1031 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1034 run_tests $ns1 $ns2 10.0.1.1
1042 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1043 run_tests $ns1 $ns2 10.0.1.1
1049 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1051 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1052 run_tests $ns1 $ns2 10.0.1.1
1061 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1062 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1065 run_tests $ns1 $ns2 10.0.1.1
1071 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
1072 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1076 run_tests $ns1 $ns2 10.0.1.1
1082 ip netns exec $ns1 ./pm_nl_ctl limits 3 3
1083 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1084 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1085 ip netns exec $ns1 ./pm_nl_ctl add 10.0.4.1 flags signal
1087 run_tests $ns1 $ns2 10.0.1.1
1093 ip netns exec $ns1 ./pm_nl_ctl limits 3 3
1094 ip netns exec $ns1 ./pm_nl_ctl add 10.0.12.1 flags signal
1095 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1096 ip netns exec $ns1 ./pm_nl_ctl add 10.0.14.1 flags signal
1098 run_tests $ns1 $ns2 10.0.1.1
1104 ip netns exec $ns1 ./pm_nl_ctl limits 4 4
1106 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.1 flags signal
1107 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1108 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1109 ip netns exec $ns1 ./pm_nl_ctl add 10.0.4.1 flags signal
1114 run_tests $ns1 $ns2 10.0.1.1
1130 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
1131 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 dev ns1eth2 flags signal
1135 run_tests $ns1 $ns2 10.0.1.1 1
1144 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
1145 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 dev ns1eth2 flags signal
1149 run_tests $ns1 $ns2 10.0.1.1 2
1158 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1159 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 dev ns1eth2 flags signal
1163 run_tests $ns1 $ns2 10.0.1.1 1
1172 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1173 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 dev ns1eth2 flags signal
1177 run_tests $ns1 $ns2 10.0.1.1 1
1187 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1188 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 dev ns1eth2 flags signal
1191 run_tests $ns1 $ns2 10.0.1.1 2
1202 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1204 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1205 run_tests $ns1 $ns2 10.0.1.1 0 0 0 slow
1211 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1213 ip netns exec $ns1 ./pm_nl_ctl add dead:beef:2::1 flags signal
1214 run_tests $ns1 $ns2 dead:beef:1::1 0 0 0 slow
1220 ip netns exec $ns1 ./pm_nl_ctl limits 2 2
1221 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1222 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1224 run_tests $ns1 $ns2 10.0.1.1 0 0 0 least
1230 ip netns exec $ns1 ./pm_nl_ctl limits 2 2
1231 ip netns exec $ns1 ./pm_nl_ctl add 10.0.12.1 flags signal
1232 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1234 run_tests $ns1 $ns2 10.0.1.1 0 0 0 least
1243 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1246 run_tests $ns1 $ns2 10.0.1.1 0 0 -1 slow
1252 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1256 run_tests $ns1 $ns2 10.0.1.1 0 0 -2 slow
1262 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1263 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1265 run_tests $ns1 $ns2 10.0.1.1 0 -1 0 slow
1272 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1273 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1276 run_tests $ns1 $ns2 10.0.1.1 0 -1 -1 slow
1283 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
1284 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1288 run_tests $ns1 $ns2 10.0.1.1 0 -1 -2 slow
1295 ip netns exec $ns1 ./pm_nl_ctl limits 3 3
1296 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal id 250
1297 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1298 ip netns exec $ns1 ./pm_nl_ctl add 10.0.4.1 flags signal
1300 run_tests $ns1 $ns2 10.0.1.1 0 -3 0 slow
1307 ip netns exec $ns1 ./pm_nl_ctl limits 3 3
1308 ip netns exec $ns1 ./pm_nl_ctl add 10.0.12.1 flags signal
1309 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1310 ip netns exec $ns1 ./pm_nl_ctl add 10.0.14.1 flags signal
1312 run_tests $ns1 $ns2 10.0.1.1 0 -3 0 slow
1319 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
1320 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1324 run_tests $ns1 $ns2 10.0.1.1 0 -8 -8 slow
1331 ip netns exec $ns1 ./pm_nl_ctl limits 3 3
1336 run_tests $ns1 $ns2 10.0.1.1 0 -8 -8 slow
1342 ip netns exec $ns1 ./pm_nl_ctl limits 3 3
1343 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal id 250
1344 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1345 ip netns exec $ns1 ./pm_nl_ctl add 10.0.4.1 flags signal
1347 run_tests $ns1 $ns2 10.0.1.1 0 -8 -8 slow
1354 ip netns exec $ns1 ./pm_nl_ctl limits 3 3
1355 ip netns exec $ns1 ./pm_nl_ctl add 10.0.12.1 flags signal
1356 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal
1357 ip netns exec $ns1 ./pm_nl_ctl add 10.0.14.1 flags signal
1359 run_tests $ns1 $ns2 10.0.1.1 0 -8 0 slow
1366 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1369 run_tests $ns1 $ns2 10.0.1.1 0 0 -9 slow
1375 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1376 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1378 run_tests $ns1 $ns2 10.0.1.1 0 -9 0 slow
1388 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1390 run_tests $ns1 $ns2 10.0.1.1 0 0 1 slow
1395 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1397 run_tests $ns1 $ns2 10.0.1.1 0 1 0 slow
1403 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1405 run_tests $ns1 $ns2 10.0.1.1 0 0 2 slow
1410 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1412 run_tests $ns1 $ns2 dead:beef:1::1 0 0 2 slow
1417 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1419 run_tests $ns1 $ns2 dead:beef:1::1 0 2 0 slow
1428 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1431 run_tests $ns1 $ns2 dead:beef:1::1 0 0 0 slow
1436 ip netns exec $ns1 ./pm_nl_ctl add dead:beef:2::1 flags signal
1437 run_tests $ns1 $ns2 dead:beef:1::1 0 0 0 slow
1443 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1444 ip netns exec $ns1 ./pm_nl_ctl add dead:beef:2::1 flags signal
1446 run_tests $ns1 $ns2 dead:beef:1::1 0 0 0 slow
1452 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1453 ip netns exec $ns1 ./pm_nl_ctl add dead:beef:2::1 flags signal
1455 run_tests $ns1 $ns2 dead:beef:1::1 0 -1 0 slow
1462 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1463 ip netns exec $ns1 ./pm_nl_ctl add dead:beef:2::1 flags signal
1466 run_tests $ns1 $ns2 dead:beef:1::1 0 -1 -1 slow
1476 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1479 run_tests $ns1 $ns2 "::ffff:10.0.1.1"
1484 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1486 ip netns exec $ns1 ./pm_nl_ctl add "::ffff:10.0.2.1" flags signal
1487 run_tests $ns1 $ns2 "::ffff:10.0.1.1"
1493 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1496 run_tests $ns1 $ns2 "::ffff:10.0.1.1"
1501 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1503 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1504 run_tests $ns1 $ns2 "::ffff:10.0.1.1"
1510 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1513 run_tests $ns1 $ns2 10.0.1.1
1518 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1520 ip netns exec $ns1 ./pm_nl_ctl add "::ffff:10.0.2.1" flags signal
1521 run_tests $ns1 $ns2 10.0.1.1
1527 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1530 run_tests $ns1 $ns2 10.0.1.1
1535 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1538 run_tests $ns1 $ns2 10.0.1.1
1543 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1546 run_tests $ns1 $ns2 dead:beef:1::1
1554 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1557 run_tests $ns1 $ns2 10.0.1.1 0 0 0 slow nobackup
1563 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1564 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1566 run_tests $ns1 $ns2 10.0.1.1 0 0 0 slow backup
1576 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1578 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal port 10100
1579 run_tests $ns1 $ns2 10.0.1.1
1585 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal port 10100
1586 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1589 run_tests $ns1 $ns2 10.0.1.1
1595 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1596 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal port 10100
1598 run_tests $ns1 $ns2 10.0.1.1 0 -1 0 slow
1605 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1606 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal port 10100
1609 run_tests $ns1 $ns2 10.0.1.1 0 -1 -1 slow
1616 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
1617 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal port 10100
1621 run_tests $ns1 $ns2 10.0.1.1 0 -8 -8 slow
1628 ip netns exec $ns1 ./pm_nl_ctl limits 2 2
1629 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal port 10100
1630 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal port 10100
1632 run_tests $ns1 $ns2 10.0.1.1
1638 ip netns exec $ns1 ./pm_nl_ctl limits 2 2
1639 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal port 10100
1640 ip netns exec $ns1 ./pm_nl_ctl add 10.0.3.1 flags signal port 10101
1642 run_tests $ns1 $ns2 10.0.1.1
1651 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1654 run_tests $ns1 $ns2 10.0.1.1
1659 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1663 run_tests $ns1 $ns2 10.0.1.1
1668 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1672 run_tests $ns1 $ns2 10.0.1.1
1677 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1679 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1680 run_tests $ns1 $ns2 10.0.1.1
1686 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1687 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
1690 run_tests $ns1 $ns2 10.0.1.1
1696 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
1697 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1701 run_tests $ns1 $ns2 10.0.1.1
1710 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1712 run_tests $ns1 $ns2 10.0.1.1
1717 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1719 run_tests $ns1 $ns2 10.0.1.1
1724 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1726 run_tests $ns1 $ns2 10.0.1.1
1731 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
1733 run_tests $ns1 $ns2 10.0.1.1
1741 ip netns exec $ns1 ./pm_nl_ctl limits 1 1
1744 run_tests $ns1 $ns2 10.0.1.1
1749 ip netns exec $ns1 ./pm_nl_ctl limits 1 1
1752 run_tests $ns1 $ns2 10.0.1.1
1758 ip netns exec $ns1 ./pm_nl_ctl limits 1 1
1760 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1761 run_tests $ns1 $ns2 10.0.1.1
1768 ip netns exec $ns1 ./pm_nl_ctl limits 1 1
1770 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1771 run_tests $ns1 $ns2 10.0.1.1
1777 ip netns exec $ns1 ./pm_nl_ctl limits 2 2
1779 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1781 run_tests $ns1 $ns2 10.0.1.1
1786 ip netns exec $ns1 ./pm_nl_ctl limits 2 2
1788 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1790 run_tests $ns1 $ns2 10.0.1.1
1800 ip netns exec $ns1 ./pm_nl_ctl limits 0 4
1804 run_tests $ns1 $ns2 10.0.1.1 0 1 0 slow
1812 ip netns exec $ns1 ./pm_nl_ctl limits 1 3
1814 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1815 run_tests $ns1 $ns2 10.0.1.1 0 0 fullmesh_1 slow
1823 ip netns exec $ns1 ./pm_nl_ctl limits 2 5
1825 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1826 run_tests $ns1 $ns2 10.0.1.1 0 0 fullmesh_2 slow
1835 ip netns exec $ns1 ./pm_nl_ctl limits 2 4
1837 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
1838 run_tests $ns1 $ns2 10.0.1.1 0 0 fullmesh_2 slow