Home
last modified time | relevance | path

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

/external/ltp/testcases/network/stress/route/
Droute6-change-if116 link_num=0
117 while [ $link_num -lt $link_total ]; do
119 lhost_ifname=`get_ifname lhost ${link_num}`
127 rhost_ifname=`get_ifname rhost ${link_num}`
135 initialize_if rhost ${link_num}
138 add_ipv6addr rhost ${link_num} "${IPV6_NETWORK_PRE}:${link_num}" ${RHOST_IPV6_HOST}
144 link_num=`expr $link_num + 1`
164 link_num=0
165 while [ $link_num -lt $link_total ]; do
166 initialize_if lhost ${link_num}
[all …]
Droute4-change-if116 link_num=0
117 while [ $link_num -lt $link_total ]; do
119 lhost_ifname=`get_ifname lhost ${link_num}`
127 rhost_ifname=`get_ifname rhost ${link_num}`
135 initialize_if rhost ${link_num}
138 set_ipv4addr rhost ${link_num} "${IPV4_NETWORK_PRE}.${link_num}" ${RHOST_IPV4_HOST}
144 link_num=`expr $link_num + 1`
166 link_num=0
167 while [ $link_num -lt $link_total ]; do
168 initialize_if lhost ${link_num}
[all …]
/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/lib/
Dtst_net.sh315 local link_num="${2:-0}"
317 link_num=$(( $link_num + 1 ))
319 echo "$hwaddrs" | awk '{ print $'"$link_num"' }'
331 local link_num="${2:-0}"
332 link_num="$(( $link_num + 1 ))"
333 echo "$(tst_get_ifaces $type)" | awk '{ print $'"$link_num"' }'
419 local link_num="${2:-0}"
420 local iface="$(tst_iface $type $link_num)"
447 local link_num="${2:-0}"
457 local iface=$(tst_iface $type $link_num)
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Dtst_net_stress.sh61 local link_num="${2:-0}"
62 local iface_loc=${3:-$(tst_iface lhost $link_num)}
63 local iface_rmt=${4:-$(tst_iface rhost $link_num)}
65 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/u-boot/arch/x86/cpu/
Dirq.c34 for (i = 0; i < priv->link_num; i++) { in pirq_reg_to_linkno()
63 for (i = 0; i < priv->link_num; i++) { in pirq_linkno_to_reg()
180 priv->link_num = fdt_addr_to_cpu(cell[1]); in create_pirq_routing_table()
181 if (priv->link_num > CONFIG_MAX_PIRQ_LINKS) { in create_pirq_routing_table()
183 priv->link_num, CONFIG_MAX_PIRQ_LINKS); in create_pirq_routing_table()
184 priv->link_num = CONFIG_MAX_PIRQ_LINKS; in create_pirq_routing_table()
193 if (count < priv->link_num) { in create_pirq_routing_table()
198 count = priv->link_num; in create_pirq_routing_table()
/external/u-boot/arch/x86/include/asm/
Dirq.h49 int link_num; member