Home
last modified time | relevance | path

Searched refs:link_num (Results 1 – 10 of 10) sorted by relevance

/external/ltp/testcases/network/stress/icmp/multi-diffnic/
Dicmp4-multi-diffnic01108 link_num=0
109 while [ $link_num -lt $link_total ]; do
110 initialize_if lhost ${link_num}
111 initialize_if rhost ${link_num}
112 link_num=`expr $link_num + 1`
170 link_num=0
172 while [ $link_num -lt $link_total ]; do
174 lhost_ifname=`get_ifname lhost $link_num`
175 rhost_ifname=`get_ifname rhost $link_num`
180 network_part="10.0.${link_num}"
[all …]
/external/ltp/testcases/network/stress/udp/multi-diffnic/
Dudp4-multi-diffnic01107 link_num=0
108 while [ $link_num -lt $link_total ]; do
110 initialize_if lhost ${link_num}
111 initialize_if rhost ${link_num}
112 link_num=`expr $link_num + 1`
169 link_num=0
171 while [ $link_num -lt $link_total ]; do
173 lhost_ifname=`get_ifname lhost $link_num`
178 rhost_ifname=`get_ifname rhost $link_num`
187 network_part="10.0.${link_num}"
[all …]
/external/ltp/testcases/network/stress/tcp/multi-diffnic/
Dtcp4-multi-diffnic01117 link_num=0
118 while [ $link_num -lt $link_total ]; do
120 rhost_ifname=`get_ifname rhost $link_num`
124 initialize_if lhost ${link_num}
125 initialize_if rhost ${link_num}
127 link_num=`expr $link_num + 1`
194 link_num=0
196 while [ $link_num -lt $link_total ]; do
197 lhost_ifname=`get_ifname lhost $link_num`
203 rhost_ifname=`get_ifname rhost $link_num`
[all …]
/external/ltp/testcases/network/stress/route/
Droute-change-if.sh68 local link_num="$(($1 % $(tst_get_ifaces_cnt)))"
69 local iface="$(tst_iface lhost $link_num)"
73 tst_add_ipaddr -s -q -a $lhost lhost $link_num
74 tst_add_ipaddr -s -q -a $gw rhost $link_num
78 tst_del_ipaddr -s -q -a $lhost lhost $link_num
79 tst_del_ipaddr -s -q -a $gw rhost $link_num
/external/ltp/testcases/network/stress/ns-tools/
Dtst_net_stress.sh48 local link_num="${2:-0}"
49 local iface_loc=${3:-$(tst_iface lhost $link_num)}
50 local iface_rmt=${4:-$(tst_iface rhost $link_num)}
52 tst_restore_ipaddr $type $link_num || return $?
Dadd_ipv6addr66 link_num=$2
81 ifname=`get_ifname $host_type $link_num` || exit 1
Dset_ipv4addr66 link_num=$2
82 ifname=`get_ifname $host_type $link_num` || exit 1
Dinitialize_if61 link_num=$2
70 ifname=`get_ifname $host_type $link_num` || exit 1
Dget_ifname60 link_num=$2
79 field=`expr $link_num + 1`
/external/ltp/testcases/lib/
Dtst_net.sh332 local link_num="${2:-0}"
334 link_num=$(( $link_num + 1 ))
336 echo "$hwaddrs" | awk '{ print $'"$link_num"' }'
348 local link_num="${2:-0}"
349 link_num="$(( $link_num + 1 ))"
350 echo "$(tst_get_ifaces $type)" | awk '{ print $'"$link_num"' }'
491 local link_num="${2:-0}"
492 local iface="$(tst_iface $type $link_num)"
544 local link_num="${2:-0}"
545 local iface=$(tst_iface $type $link_num)
[all …]