• Home
  • Raw
  • Download

Lines Matching refs:count

138 	local count
140 count=$(ip netns exec ${ns} nstat -asz "${counter}" | awk 'NR==1 {next} {print $2}')
141 if [ -z "${count}" ]; then
146 echo "${count}"
262 dd if=/dev/urandom of="$name" bs=1024 count=$SIZE 2> /dev/null
306 local count
310 count=$(get_counter ${ns1} "MPTcpExtMPJoinSynRx")
311 if [ -z "$count" ]; then
313 elif [ "$count" != "$syn_nr" ]; then
314 echo "[fail] got $count JOIN[s] syn expected $syn_nr"
322 count=$(get_counter ${ns2} "MPTcpExtMPJoinSynAckRx")
323 if [ -z "$count" ]; then
325 elif [ "$count" != "$syn_ack_nr" ]; then
326 echo "[fail] got $count JOIN[s] synack expected $syn_ack_nr"
334 count=$(get_counter ${ns1} "MPTcpExtMPJoinAckRx")
335 if [ -z "$count" ]; then
337 elif [ "$count" != "$ack_nr" ]; then
338 echo "[fail] got $count JOIN[s] ack expected $ack_nr"
356 local count
360 count=$(get_counter ${ns2} "MPTcpExtAddAddr")
361 if [ -z "$count" ]; then
363 elif [ "$count" != "$add_nr" ]; then
364 echo "[fail] got $count ADD_ADDR[s] expected $add_nr"
372 count=$(get_counter ${ns1} "MPTcpExtEchoAdd")
373 if [ -z "$count" ]; then
375 elif [ "$count" != "$echo_nr" ]; then
376 echo "[fail] got $count ADD_ADDR echo[s] expected $echo_nr"
395 local count
399 count=$(get_counter ${ns1} "MPTcpExtRmAddr")
400 if [ -z "$count" ]; then
402 elif [ "$count" != "$rm_addr_nr" ]; then
403 echo "[fail] got $count RM_ADDR[s] expected $rm_addr_nr"
411 count=$(get_counter ${ns2} "MPTcpExtRmSubflow")
412 if [ -z "$count" ]; then
414 elif [ "$count" != "$rm_subflow_nr" ]; then
415 echo "[fail] got $count RM_SUBFLOW[s] expected $rm_subflow_nr"