HomeSort by relevance Sort by last modified time
    Searched refs:lhost_ifname (Results 1 - 25 of 40) sorted by null

1 2

  /external/ltp/testcases/network/stress/route/
route4-change-if 93 # lhost_ifname - Interface name of the local host
119 lhost_ifname=`get_ifname lhost ${link_num}`
124 lhost_ifname_array="$lhost_ifname_array $lhost_ifname"
225 lhost_ifname=`echo $lhost_ifname_array | cut -d ' ' -f $field`
226 check_icmpv4_connectivity $lhost_ifname "${IPV4_NETWORK_PRE}.${link_num}.${LHOST_IPV4_HOST}"
241 lhost_ifname=`echo $lhost_ifname_array | cut -d ' ' -f $field`
245 route add -net $dst_network netmask 255.255.255.0 gw $gateway dev $lhost_ifname
248 ip route add ${dst_network}/24 via $gateway dev $lhost_ifname
267 pre_lhost_ifname=$lhost_ifname
271 lhost_ifname=`echo $lhost_ifname_array | cut -d ' ' -f $field
    [all...]
route4-ifdown 115 # lhost_ifname - Interface name of the local host
141 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
197 check_icmpv4_connectivity $lhost_ifname $rhost_ipv4addr
206 route add -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
209 ip route add ${dst_network}/24 via $rhost_ipv4addr dev $lhost_ifname
227 ifconfig $lhost_ifname down && ifconfig $lhost_ifname up
230 ip link set down dev $lhost_ifname && ip link set up dev $lhost_ifname
route6-ifdown 111 # lhost_ifname - Interface name of the local host
132 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
195 check_icmpv6_connectivity $lhost_ifname $rhost_ipv6addr
204 route -A inet6 add ${dst_network}/64 gw $rhost_ipv6addr dev $lhost_ifname
207 ip -f inet6 route add ${dst_network}/64 via $rhost_ipv6addr dev $lhost_ifname
225 ifconfig $lhost_ifname down && ifconfig $lhost_ifname up
228 ip link set down dev $lhost_ifname && ip link set up dev $lhost_ifname
route4-redirect 118 # lhost_ifname - Interface name of the local host
128 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
153 route add -net ${DST_NETWORK}.0 netmask 255.255.255.0 gw ${IPV4_NETWORK}.${RHOST_IPV4_HOST} dev $lhost_ifname
156 sysctl -w net.ipv4.conf.${lhost_ifname}.accept_redirects=1 >/dev/null
157 sysctl -w net.ipv4.conf.${lhost_ifname}.secure_redirects=0 >/dev/null
route6-change-if 93 # lhost_ifname - Interface name of the local host
119 lhost_ifname=`get_ifname lhost ${link_num}`
124 lhost_ifname_array="$lhost_ifname_array $lhost_ifname"
223 lhost_ifname=`echo $lhost_ifname_array | cut -d ' ' -f $field`
224 check_icmpv6_connectivity $lhost_ifname "${IPV6_NETWORK_PRE}:${link_num}:${LHOST_IPV6_HOST}"
239 lhost_ifname=`echo $lhost_ifname_array | cut -d ' ' -f $field`
243 route -A inet6 add ${dst_network}/64 gw $gateway dev $lhost_ifname
246 ip -f inet6 route add ${dst_network}/64 via $gateway dev $lhost_ifname
265 pre_lhost_ifname=$lhost_ifname
269 lhost_ifname=`echo $lhost_ifname_array | cut -d ' ' -f $field
    [all...]
route6-change-gw 96 # lhost_ifname - Interface name of the local host
106 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
205 check_icmpv6_connectivity $lhost_ifname ${IPV6_NETWORK}:${rhost_part_hex}
218 route -A inet6 add ${dst_network}/64 gw ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
221 ip -f inet6 route add ${dst_network}/64 via ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
244 route -A inet6 add ${dst_network}/64 gw ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
245 route -A inet6 del ${dst_network}/64 gw ${IPV6_NETWORK}:${pre_rhost_part_hex} dev $lhost_ifname
248 ip -f inet6 route add ${dst_network}/64 via ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
249 ip -f inet6 route del ${dst_network}/64 via ${IPV6_NETWORK}:${pre_rhost_part_hex} dev $lhost_ifname
route4-change-dst 100 # lhost_ifname - Interface name of the local host
123 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
204 check_icmpv4_connectivity $lhost_ifname $rhost_ipv4addr
221 route add -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
224 ip route add ${dst_network}/24 via $rhost_ipv4addr dev $lhost_ifname
242 route del -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
245 ip route del ${dst_network}/24 via $rhost_ipv4addr dev $lhost_ifname
route4-rmmod 148 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
161 lhost_module=`ethtool -i $lhost_ifname | grep driver | sed "s/driver:[[:blank:]]*//"`
165 if [ $lhost_ifname = $ifname ]; then
220 check_icmpv4_connectivity $lhost_ifname $rhost_ipv4addr
229 route add -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
232 ip route add ${dst_network}/24 via $rhost_ipv4addr dev $lhost_ifname
route6-change-dst 96 # lhost_ifname - Interface name of the local host
119 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
199 check_icmpv6_connectivity $lhost_ifname $rhost_ipv6addr
217 route -A inet6 add ${dst_network}/64 gw $rhost_ipv6addr dev $lhost_ifname
220 ip -f inet6 route add ${dst_network}/64 via $rhost_ipv6addr dev $lhost_ifname
238 route -A inet6 del ${dst_network}/64 gw $rhost_ipv6addr dev $lhost_ifname
241 ip -f inet6 route del ${dst_network}/64 via $rhost_ipv6addr dev $lhost_ifname
route6-rmmod 144 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
157 lhost_module=`ethtool -i $lhost_ifname | grep driver | sed "s/driver:[[:blank:]]*//"`
161 if [ $lhost_ifname = $ifname ]; then
216 check_icmpv6_connectivity $lhost_ifname $rhost_ipv6addr
225 route -A inet6 add ${dst_network}/64 gw $rhost_ipv6addr dev $lhost_ifname
228 ip -f inet6 route add ${dst_network}/64 via $rhost_ipv6addr dev $lhost_ifname
route4-change-gw 100 # lhost_ifname - Interface name of the local host
110 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
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
244 route add -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname
245 route del -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${pre_rhost_part} dev $lhost_ifname
248 ip route change ${dst_network}/24 via ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname
route6-redirect 115 # lhost_ifname - Interface name of the local host
125 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
150 route -A inet6 add ${DST_NETWORK}::/64 gw fe80:${RHOST_IPV6_HOST} dev $lhost_ifname
153 sysctl -w net.ipv6.conf.${lhost_ifname}.accept_redirects=1 >/dev/null
  /external/ltp/testcases/network/stress/icmp/
icmp-uni-basic.sh 46 lhost_ifname=$(tst_iface lhost $LINK_NUM)
60 tst_ping $lhost_ifname $rhost_addr $IPSEC_SIZE_ARRAY
  /external/ltp/testcases/network/stress/multicast/packet-flood/
mcast4-pktfld01 120 lhost_ifname=`get_ifname lhost $LINK_NUM`
150 check_icmpv4_connectivity $lhost_ifname $rhost_addr
164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
188 ns-mcast_receiver -f 4 -I $lhost_ifname -m $MCAST_ADDR -p $mcast_port -b
mcast4-pktfld02 123 lhost_ifname=`get_ifname lhost $LINK_NUM`
153 check_icmpv4_connectivity $lhost_ifname $rhost_addr
167 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
204 ns-mcast_receiver -f 4 -I $lhost_ifname -m $mcast_addr -p $mcast_port -b
mcast6-pktfld01 117 lhost_ifname=`get_ifname lhost $LINK_NUM`
147 check_icmpv6_connectivity $lhost_ifname $rhost_addr
160 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null
184 ns-mcast_receiver -f 6 -I $lhost_ifname -m $MCAST_ADDR -p $mcast_port -b
mcast6-pktfld02 120 lhost_ifname=`get_ifname lhost $LINK_NUM`
150 check_icmpv6_connectivity $lhost_ifname $rhost_addr
163 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null
199 ns-mcast_receiver -f 6 -I $lhost_ifname -m $mcast_addr -p $mcast_port -b
  /external/ltp/testcases/network/stress/multicast/query-flood/
mcast4-queryfld01 117 lhost_ifname=`get_ifname lhost $LINK_NUM`
147 check_icmpv4_connectivity $lhost_ifname $rhost_addr
161 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
178 ns-mcast_join -f 4 -I $lhost_ifname -n 1 -p $MCAST_ADDR_PREFIX >/dev/null
mcast4-queryfld02 120 lhost_ifname=`get_ifname lhost $LINK_NUM`
150 check_icmpv4_connectivity $lhost_ifname $rhost_addr
164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
181 ns-mcast_join -f 4 -I $lhost_ifname -n 1 -p $MCAST_ADDR_PREFIX >/dev/null
mcast4-queryfld03 126 lhost_ifname=`get_ifname lhost $LINK_NUM`
156 check_icmpv4_connectivity $lhost_ifname $rhost_addr
170 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
187 ns-mcast_join -f 4 -I $lhost_ifname -n 1 -p $MCAST_ADDR_PREFIX -s $SRC_ADDR -F $FILTER_MODE >/dev/null
mcast4-queryfld04 120 lhost_ifname=`get_ifname lhost $LINK_NUM`
150 check_icmpv4_connectivity $lhost_ifname $rhost_addr
164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
181 ns-mcast_join -f 4 -I $lhost_ifname -n $MCASTNUM_NORMAL -p $MCAST_ADDR_PREFIX >/dev/null
mcast4-queryfld05 120 lhost_ifname=`get_ifname lhost $LINK_NUM`
150 check_icmpv4_connectivity $lhost_ifname $rhost_addr
164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
181 ns-mcast_join -f 4 -I $lhost_ifname -n $MCASTNUM_NORMAL -p $MCAST_ADDR_PREFIX > /dev/null
mcast4-queryfld06 126 lhost_ifname=`get_ifname lhost $LINK_NUM`
156 check_icmpv4_connectivity $lhost_ifname $rhost_addr
170 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
187 ns-mcast_join -f 4 -I $lhost_ifname -n $MCASTNUM_NORMAL -p $MCAST_ADDR_PREFIX -s $SRC_ADDR -F $FILTER_MODE > /dev/null
mcast6-queryfld01 114 lhost_ifname=`get_ifname lhost $LINK_NUM`
145 check_icmpv6_connectivity $lhost_ifname $rhost_addr
158 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null
175 ns-mcast_join -f 6 -I $lhost_ifname -n 1 -p $MCAST_ADDR_PREFIX >/dev/null
mcast6-queryfld02 117 lhost_ifname=`get_ifname lhost $LINK_NUM`
148 check_icmpv6_connectivity $lhost_ifname $rhost_addr
161 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null
178 ns-mcast_join -f 6 -I $lhost_ifname -n 1 -p $MCAST_ADDR_PREFIX >/dev/null

Completed in 214 milliseconds

1 2