Lines Matching +full:3 +full:ns
11 ns=""
22 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGUSR1 &>/dev/null
25 [ -z "$(ip netns pids "${ns}")" ] && break
34 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGKILL &>/dev/null
36 mptcp_lib_ns_exit "${ns}"
44 ip netns exec $ns cat /proc/net/protocols | awk '$1~/^MPTCP$/{print $3}'
51 local msg="$3"
78 __chk_nr "ss -inmHMN $ns | $condition" "$@"
91 __chk_nr "ss -nlHMON $ns | wc -l" "$expected" "$msg - mptcp" 0
92 __chk_nr "ss -nlHtON $ns | wc -l" "$expected" "$msg - subflows"
108 nr=$(ss -inmHMN $ns | $condition)
144 local msg="$3"
146 __chk_nr "ss -N $ns -Ml '$filter' | grep -c LISTEN" "$expected" "$msg" 0
176 listen_nr=$(ss -N "${ns}" -Ml | grep -c LISTEN)
199 __chk_nr "mptcp_lib_get_counter ${ns} MPTcpExtMPCurrEstab" \
208 ss -N "${ns}" -inHM dport "${port}" | \
216 local cnt="${3}"
270 mptcp_lib_ns_init ns
274 ip netns exec $ns \
277 mptcp_lib_wait_local_port_listen $ns 10000
283 ip netns exec $ns \
286 wait_connected $ns 10000
300 ip netns exec $ns \
303 mptcp_lib_wait_local_port_listen $ns 10001
306 ip netns exec $ns \
309 wait_connected $ns 10001
322 ip netns exec $ns \
326 mptcp_lib_wait_local_port_listen $ns $((NR_CLIENTS + 10001))
331 ip netns exec $ns \
347 ip netns exec $ns ./mptcp_connect -p $((I + 20001)) \
350 mptcp_lib_wait_local_port_listen $ns $((NR_SERVERS + 20001))
356 echo a | ip netns exec $ns ./mptcp_connect -p $((I + 20001)) 127.0.0.1 >/dev/null 2>&1 &