Lines Matching refs:ns2

131 ns2="ns2-$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"
183 ip link add ns2eth3 netns "$ns2" type veth peer name ns3eth2 netns "$ns3"
193 ip -net "$ns2" addr add 10.0.1.2/24 dev ns2eth1
194 ip -net "$ns2" addr add dead:beef:1::2/64 dev ns2eth1 nodad
195 ip -net "$ns2" link set ns2eth1 up
197 ip -net "$ns2" addr add 10.0.2.1/24 dev ns2eth3
198 ip -net "$ns2" addr add dead:beef:2::1/64 dev ns2eth3 nodad
199 ip -net "$ns2" link set ns2eth3 up
200 ip -net "$ns2" route add default via 10.0.2.2
201 ip -net "$ns2" route add default via dead:beef:2::2
202 ip netns exec "$ns2" sysctl -q net.ipv4.ip_forward=1
203 ip netns exec "$ns2" sysctl -q net.ipv6.conf.all.forwarding=1
224 for i in "$ns1" "$ns2" "$ns3" "$ns4";do
715 local listener_ns="$ns2"
823 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_fastopen=1
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"
832 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_fastopen=0
907 for sender in "$ns1" "$ns2" "$ns3" "$ns4";do
911 do_ping "$ns2" $sender 10.0.1.2
912 do_ping "$ns2" $sender dead:beef:1::2
913 do_ping "$ns2" $sender 10.0.2.1
914 do_ping "$ns2" $sender dead:beef:2::1
929 [ -n "$tc_loss" ] && tc -net "$ns2" qdisc add dev ns2eth3 root netem loss random $tc_loss delay ${t…
965 for sender in $ns1 $ns2 $ns3 $ns4;do
969 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_syncookies=2
971 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_syncookies=1
977 run_tests "$ns2" $sender 10.0.1.2
978 run_tests "$ns2" $sender dead:beef:1::2
979 run_tests "$ns2" $sender 10.0.2.1
980 run_tests "$ns2" $sender dead:beef:2::1