Lines Matching +full:3 +full:ns
8 ns="ns1-$rndh"
21 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGUSR1 &>/dev/null
24 [ -z "$(ip netns pids "${ns}")" ] && break
31 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGKILL &>/dev/null
33 ip netns del $ns
51 ip netns exec $ns cat /proc/net/protocols | awk '$1~/^MPTCP$/{print $3}'
58 local msg="$3"
86 __chk_nr "ss -inmHMN $ns | $condition" "$@"
107 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)
189 # $1: ns, $2: port
216 __chk_nr "mptcp_lib_get_counter ${ns} MPTcpExtMPCurrEstab" \
235 ip netns add $ns
236 ip -n $ns link set dev lo up
240 ip netns exec $ns \
243 wait_local_port_listen $ns 10000
249 ip netns exec $ns \
252 wait_connected $ns 10000
265 ip netns exec $ns \
268 wait_local_port_listen $ns 10001
271 ip netns exec $ns \
274 wait_connected $ns 10001
287 ip netns exec $ns \
291 wait_local_port_listen $ns $((NR_CLIENTS + 10001))
296 ip netns exec $ns \