Lines Matching full:ns2
54 ns2=""
110 mptcp_lib_ns_exit "${ns1}" "${ns2}"
120 mptcp_lib_ns_init ns1 ns2
121 for i in "$ns1" "$ns2" ;do
125 # "$ns1" ns2
128 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
137 ip -net "$ns2" addr add 10.0.1.2/24 dev ns2eth1
138 ip -net "$ns2" addr add 10.0.2.2/24 dev ns2eth1
139 ip -net "$ns2" addr add dead:beef:1::2/64 dev ns2eth1 nodad
140 ip -net "$ns2" addr add dead:beef:2::2/64 dev ns2eth1 nodad
141 ip -net "$ns2" link set ns2eth1 up
149 mptcp_lib_events "${ns2}" "${client_evts}" client_evts_pid
156 print_test "Created network namespaces ns1, ns2"
187 ip netns exec "$ns2" \
207 print_test "Established IP${is_v6} MPTCP Connection ns2 => ns1"
286 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token $invalid_token id\
291 print_test "ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token"
301 ip netns exec "$ns2"\
304 print_test "ADD_ADDR id:client 10.0.2.2 (ns2) => ns1, reuse port"
311 ip netns exec "$ns2" ./pm_nl_ctl ann\
313 print_test "ADD_ADDR6 id:client dead:beef:2::2 (ns2) => ns1, reuse port"
321 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token "$client4_token" id\
323 print_test "ADD_ADDR id:client+1 10.0.2.2 (ns2) => ns1, new port"
334 print_test "ADD_ADDR id:server 10.0.2.1 (ns1) => ns2, reuse port"
343 print_test "ADD_ADDR6 id:server dead:beef:2::1 (ns1) => ns2, reuse port"
353 print_test "ADD_ADDR id:server+1 10.0.2.1 (ns1) => ns2, new port"
385 ip netns exec "$ns2" ./pm_nl_ctl rem token $invalid_token id\
387 print_test "RM_ADDR id:client ns2 => ns1, invalid token"
399 ip netns exec "$ns2" ./pm_nl_ctl rem token "$client4_token" id\
401 print_test "RM_ADDR id:client+1 ns2 => ns1, invalid id"
412 ip netns exec "$ns2" ./pm_nl_ctl rem token "$client4_token" id\
414 print_test "RM_ADDR id:client ns2 => ns1"
421 ip netns exec "$ns2" ./pm_nl_ctl rem token "$client4_token" id\
423 print_test "RM_ADDR id:client-1 ns2 => ns1"
429 ip netns exec "$ns2" ./pm_nl_ctl rem token "$client6_token" id\
431 print_test "RM_ADDR6 id:client-1 ns2 => ns1"
441 print_test "RM_ADDR id:server ns1 => ns2"
450 print_test "RM_ADDR id:server-1 ns1 => ns2"
458 print_test "RM_ADDR6 id:server-1 ns1 => ns2"
538 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\
543 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token "$client4_token" id\
553 "10.0.2.2" "$client4_port" "23" "$client_addr_id" "ns1" "ns2"
567 "10.0.2.2" "$client4_port" "23" "$client_addr_id" "ns1" "ns2"
570 ip netns exec "$ns2" ./pm_nl_ctl rem id $client_addr_id token\
575 ip netns exec "$ns2" ./pm_nl_ctl listen dead:beef:2::2\
581 ip netns exec "$ns2" ./pm_nl_ctl ann dead:beef:2::2 token "$client6_token" id\
592 "$client_addr_id" "ns1" "ns2"
606 "$client_addr_id" "ns1" "ns2"
609 ip netns exec "$ns2" ./pm_nl_ctl rem id $client_addr_id token\
614 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\
620 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token "$client4_token" id\
631 "$client_addr_id" "ns1" "ns2"
644 "10.0.2.2" "$new4_port" "23" "$client_addr_id" "ns1" "ns2"
647 ip netns exec "$ns2" ./pm_nl_ctl rem id $client_addr_id token\
665 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\
669 "10.0.2.1" "$app4_port" "23" "$server_addr_id" "ns2" "ns1"
678 ip netns exec "$ns2" ./pm_nl_ctl dsf lip 10.0.2.2 lport "$sport" rip 10.0.2.1 rport\
682 "10.0.2.1" "$app4_port" "23" "$server_addr_id" "ns2" "ns1"
702 ip netns exec "$ns2" ./pm_nl_ctl csf lip dead:beef:2::2 lid 23 rip\
708 "$server_addr_id" "ns2" "ns1"
717 ip netns exec "$ns2" ./pm_nl_ctl dsf lip dead:beef:2::2 lport "$sport" rip\
721 "dead:beef:2::1" "$app6_port" "23" "$server_addr_id" "ns2" "ns1"
741 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\
745 "10.0.2.2" "10.0.2.1" "$new4_port" "23" "$server_addr_id" "ns2" "ns1"
754 ip netns exec "$ns2" ./pm_nl_ctl dsf lip 10.0.2.2 lport "$sport" rip 10.0.2.1 rport\
758 "10.0.2.1" "$new4_port" "23" "$server_addr_id" "ns2" "ns1"
779 print_test "ADD_ADDR4 id:server 10.0.2.1 (ns1) => ns2, reuse port"
786 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\
791 "$server_addr_id" "ns2" "ns1"
800 ip netns exec "$ns2" ./pm_nl_ctl dsf lip 10.0.2.2 lport "$sport" rip 10.0.2.1 rport\
805 "$server_addr_id" "ns2" "ns1"
820 …ip netns exec "$ns2" ./pm_nl_ctl set 10.0.1.2 port "$client4_port" flags backup token "$client4_to…
825 count=$(mptcp_lib_get_counter "$ns2" "MPTcpExtMPPrioTx")
869 ip netns exec $ns2 ./pm_nl_ctl listen 10.0.2.2\
878 ip netns exec $ns2 ./pm_nl_ctl ann 10.0.2.2 token $client4_token id\