OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rhost_part
(Results
1 - 2
of
2
) sorted by null
/external/ltp/testcases/network/stress/route/
route4-change-gw
127
rhost_part
=$RHOST_IPV4_HOST_TOP
128
while [ $
rhost_part
-le $RHOST_IPV4_HOST_LAST ]; do
129
ret=`$LTP_RSH $RHOST '( PATH=/sbin:/usr/sbin:$PATH ; ip addr add '${IPV4_NETWORK}.${
rhost_part
}/${IPV4_NETMASK_NUM}' broadcast '${IPV4_NETWORK}'.255 dev '$rhost_ifname' ) > /dev/null ; echo $?'`
134
rhost_part
=`expr $
rhost_part
+ 1`
205
rhost_part
=$RHOST_IPV4_HOST_TOP
206
check_icmpv4_connectivity $lhost_ifname ${IPV4_NETWORK}.${
rhost_part
}
219
route add -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${
rhost_part
} dev $lhost_ifname
222
ip route add ${dst_network}/24 via ${IPV4_NETWORK}.${
rhost_part
} dev $lhost_ifname
236
pre_rhost_part=$
rhost_part
[
all
...]
route6-change-gw
123
rhost_part
=$RHOST_IPV6_HOST_TOP
124
rhost_part_hex=`printf "%x" $
rhost_part
`
125
while [ $
rhost_part
-le $RHOST_IPV6_HOST_LAST ]; do
126
rhost_part_hex=":`printf "%x" $
rhost_part
`"
132
rhost_part
=`expr $
rhost_part
+ 1`
203
rhost_part
=$RHOST_IPV6_HOST_TOP
204
rhost_part_hex=":`printf "%x" $
rhost_part
`"
236
rhost_part
=`expr $
rhost_part
+ 1
[
all
...]
Completed in 254 milliseconds