Searched refs:tc_loss (Results 1 – 1 of 1) sorted by relevance
23 tc_loss=$((RANDOM%101))33 if [ $tc_loss -eq 100 ];then34 tc_loss=1%35 elif [ $tc_loss -ge 10 ]; then36 tc_loss=0.$tc_loss%37 elif [ $tc_loss -ge 1 ]; then38 tc_loss=0.0$tc_loss%40 tc_loss=""78 tc_loss="$OPTARG"920 [ -n "$tc_loss" ] && tc -net "$ns2" qdisc add dev ns2eth3 root netem loss random $tc_loss delay ${t…[all …]