Lines Matching refs:ns1
129 ns1=""
145 mptcp_lib_ns_exit "${ns1}" "${ns2}" "${ns3}" "${ns4}"
161 mptcp_lib_ns_init ns1 ns2 ns3 ns4
168 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
172 ip -net "$ns1" addr add 10.0.1.1/24 dev ns1eth2
173 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth2 nodad
175 ip -net "$ns1" link set ns1eth2 up
176 ip -net "$ns1" route add default via 10.0.1.2
177 ip -net "$ns1" route add default via dead:beef:1::2
210 for i in "$ns1" "$ns2" "$ns3" "$ns4";do
673 local connector_ns="$ns1"
766 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1 "-P ${peekmode}"
767 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1 "-P ${peekmode}"
781 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=2
784 run_tests_lo "$ns1" "$ns2" 10.0.1.1 0 "-o MPTFO"
785 run_tests_lo "$ns1" "$ns2" 10.0.1.1 0 "-o MPTFO"
787 run_tests_lo "$ns1" "$ns2" dead:beef:1::1 0 "-o MPTFO"
788 run_tests_lo "$ns1" "$ns2" dead:beef:1::1 0 "-o MPTFO"
790 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=0
817 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1 "-I 3 -i $old_cin"
818 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1 "-I 3 -i $old_cin"
868 for sender in "$ns1" "$ns2" "$ns3" "$ns4";do
869 do_ping "$ns1" $sender 10.0.1.1
870 do_ping "$ns1" $sender dead:beef:1::1
919 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1
923 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1
927 for sender in $ns1 $ns2 $ns3 $ns4;do
930 if [ $sender = $ns1 ]; then
936 run_tests "$ns1" $sender 10.0.1.1
937 run_tests "$ns1" $sender dead:beef:1::1