Lines Matching refs:ns1
130 ns1="ns1-$rndh"
148 for netns in "$ns1" "$ns2" "$ns3" "$ns4";do
172 for i in "$ns1" "$ns2" "$ns3" "$ns4";do
182 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
186 ip -net "$ns1" addr add 10.0.1.1/24 dev ns1eth2
187 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth2 nodad
189 ip -net "$ns1" link set ns1eth2 up
190 ip -net "$ns1" route add default via 10.0.1.2
191 ip -net "$ns1" route add default via dead:beef:1::2
224 for i in "$ns1" "$ns2" "$ns3" "$ns4";do
714 local connector_ns="$ns1"
807 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1 "-P ${peekmode}"
808 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1 "-P ${peekmode}"
822 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=2
825 run_tests_lo "$ns1" "$ns2" 10.0.1.1 0 "-o MPTFO"
826 run_tests_lo "$ns1" "$ns2" 10.0.1.1 0 "-o MPTFO"
828 run_tests_lo "$ns1" "$ns2" dead:beef:1::1 0 "-o MPTFO"
829 run_tests_lo "$ns1" "$ns2" dead:beef:1::1 0 "-o MPTFO"
831 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=0
858 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1 "-I 3 -i $old_cin"
859 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1 "-I 3 -i $old_cin"
907 for sender in "$ns1" "$ns2" "$ns3" "$ns4";do
908 do_ping "$ns1" $sender 10.0.1.1
909 do_ping "$ns1" $sender dead:beef:1::1
957 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1
961 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1
965 for sender in $ns1 $ns2 $ns3 $ns4;do
968 if [ $sender = $ns1 ]; then
974 run_tests "$ns1" $sender 10.0.1.1
975 run_tests "$ns1" $sender dead:beef:1::1