Lines Matching refs:ns1
22 ns1="ns1-$rndh"
25 for netns in "$ns1" "$ns2";do
40 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
41 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i
42 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad
43 ip -net "$ns1" link set ns1eth$i up
58 for netns in "$ns1" "$ns2"; do
80 for netns in "$ns1" "$ns2";do
290 count=`ip netns exec $ns1 nstat -as | grep MPTcpExtMPJoinSynRx | awk '{print $2}'`
312 count=`ip netns exec $ns1 nstat -as | grep MPTcpExtMPJoinAckRx | awk '{print $2}'`
323 ip netns exec $ns1 nstat -as | grep MPTcp
348 count=`ip netns exec $ns1 nstat -as | grep MPTcpExtEchoAdd | awk '{print $2}'`
360 ip netns exec $ns1 nstat -as | grep MPTcp
374 count=`ip netns exec $ns1 nstat -as | grep MPTcpExtRmAddr | awk '{print $2}'`
397 ip netns exec $ns1 nstat -as | grep MPTcp
412 run_tests $ns1 $ns2 10.0.1.1
418 run_tests $ns1 $ns2 10.0.1.1
425 run_tests $ns1 $ns2 10.0.1.1
430 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
433 run_tests $ns1 $ns2 10.0.1.1
438 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
442 run_tests $ns1 $ns2 10.0.1.1
447 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
451 run_tests $ns1 $ns2 10.0.1.1
456 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
457 run_tests $ns1 $ns2 10.0.1.1
463 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
465 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
466 run_tests $ns1 $ns2 10.0.1.1
475 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
476 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
479 run_tests $ns1 $ns2 10.0.1.1
485 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
486 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
490 run_tests $ns1 $ns2 10.0.1.1
496 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
499 run_remove_tests $ns1 $ns2 10.0.1.1 0 1
505 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
509 run_remove_tests $ns1 $ns2 10.0.1.1 0 2
515 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
516 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
518 run_remove_tests $ns1 $ns2 10.0.1.1 1 0
525 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
526 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
529 run_remove_tests $ns1 $ns2 10.0.1.1 1 1
536 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
537 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
541 run_remove_tests $ns1 $ns2 10.0.1.1 1 2
548 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
551 run_tests $ns1 $ns2 10.0.1.1
556 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
560 run_tests $ns1 $ns2 10.0.1.1
565 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
569 run_tests $ns1 $ns2 10.0.1.1
574 ip netns exec $ns1 ./pm_nl_ctl limits 0 1
576 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
577 run_tests $ns1 $ns2 10.0.1.1
583 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
584 ip netns exec $ns1 ./pm_nl_ctl limits 0 2
587 run_tests $ns1 $ns2 10.0.1.1
593 ip netns exec $ns1 ./pm_nl_ctl limits 0 3
594 ip netns exec $ns1 ./pm_nl_ctl add 10.0.2.1 flags signal
598 run_tests $ns1 $ns2 10.0.1.1