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" \
209 ss_token="$(ss -inmHMN $ns |
212 token="$(ip netns exec $ns ./mptcp_diag -t $ss_token |\
236 ss_output=$(ss -tniN $ns)
243 inet_diag_token=$(ip netns exec $ns ./mptcp_diag -s "$subflow_line" | \
264 ss -N "${ns}" -inHM dport "${port}" | \
272 local cnt="${3}"
326 mptcp_lib_ns_init ns
330 ip netns exec $ns \
333 mptcp_lib_wait_local_port_listen $ns 10000
339 ip netns exec $ns \
342 wait_connected $ns 10000
358 ip netns exec $ns \
361 mptcp_lib_wait_local_port_listen $ns 10001
364 ip netns exec $ns \
367 wait_connected $ns 10001
380 ip netns exec $ns \
384 mptcp_lib_wait_local_port_listen $ns $((NR_CLIENTS + 10001))
389 ip netns exec $ns \
405 ip netns exec $ns ./mptcp_connect -p $((I + 20001)) \
408 mptcp_lib_wait_local_port_listen $ns $((NR_SERVERS + 20001))
414 echo a | ip netns exec $ns ./mptcp_connect -p $((I + 20001)) 127.0.0.1 >/dev/null 2>&1 &