Home
last modified time | relevance | path

Searched refs:lhost_ifname (Results 1 – 25 of 37) sorted by relevance

12

/external/ltp/testcases/network/stress/route/
Droute6-change-if119 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`
274 route -A inet6 add ${dst_network}/64 gw $gateway dev $lhost_ifname
[all …]
Droute4-change-if119 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`
276 route add -net $dst_network netmask 255.255.255.0 gw $gateway dev $lhost_ifname
[all …]
Droute4-change-gw110 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
206 check_icmpv4_connectivity $lhost_ifname ${IPV4_NETWORK}.${rhost_part}
219 …oute 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 …oute add -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname
245 … 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
Droute6-change-gw106 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 change ${dst_network}/64 via ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
Droute4-change-dst123 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
Droute6-change-dst119 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
Droute6-rmmod144 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
Droute4-rmmod148 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
Droute4-redirect128 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
153 …-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
/external/ltp/testcases/network/stress/icmp/multi-diffip/
Dicmp4-multi-diffip01154 lhost_ifname=`get_ifname lhost $LINK_NUM`
193 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname
197 ip addr del ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 2>&1
198 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname
239 ip addr add ${lhost_addr}/${network_mask} dev $lhost_ifname
242 ip addr del ${lhost_addr}/${network_mask} dev $lhost_ifname 2>&1
243 ip addr add ${lhost_addr}/${network_mask} dev $lhost_ifname
/external/ltp/testcases/network/stress/udp/multi-diffip/
Dudp4-multi-diffip01149 lhost_ifname=`get_ifname lhost $LINK_NUM`
187 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname
191 ip addr del ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 2>&1
192 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname
231 ip addr add ${lhost_addr}/${network_mask} dev $lhost_ifname
234 ip addr del ${lhost_addr}/${network_mask} dev $lhost_ifname 2>&1
235 ip addr add ${lhost_addr}/${network_mask} dev $lhost_ifname
/external/ltp/testcases/network/stress/multicast/packet-flood/
Dmcast6-pktfld01117 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
Dmcast4-pktfld01120 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
/external/ltp/testcases/network/stress/multicast/query-flood/
Dmcast6-queryfld01114 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
Dmcast6-queryfld04117 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 $MCASTNUM_NORMAL -p $MCAST_ADDR_PREFIX >/dev/null
Dmcast6-queryfld02117 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
Dmcast6-queryfld05117 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 $MCASTNUM_NORMAL -p $MCAST_ADDR_PREFIX > /dev/null
Dmcast4-queryfld01117 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
Dmcast6-queryfld03123 lhost_ifname=`get_ifname lhost $LINK_NUM`
154 check_icmpv6_connectivity $lhost_ifname $rhost_addr
167 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null
184 ns-mcast_join -f 6 -I $lhost_ifname -n 1 -p $MCAST_ADDR_PREFIX -s $SRC_ADDR -F $FILTER_MODE >/dev/n…
Dmcast4-queryfld02120 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
Dmcast4-queryfld04120 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
Dmcast6-queryfld06123 lhost_ifname=`get_ifname lhost $LINK_NUM`
154 check_icmpv6_connectivity $lhost_ifname $rhost_addr
167 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null
184 ns-mcast_join -f 6 -I $lhost_ifname -n $MCASTNUM_NORMAL -p $MCAST_ADDR_PREFIX -s $SRC_ADDR -F $FILT…
Dmcast4-queryfld03126 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/n…
Dmcast4-queryfld06126 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 $FILT…
/external/ltp/testcases/network/stress/tcp/multi-diffip/
Dtcp4-multi-diffip01174 lhost_ifname=`get_ifname lhost $LINK_NUM`
221 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname
223 ip addr del ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 2>&1
224 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname
264 ip addr add ${lhost_addr}/${network_mask} dev $lhost_ifname
267 ip addr del ${lhost_addr}/${network_mask} dev $lhost_ifname 2>&1
268 ip addr add ${lhost_addr}/${network_mask} dev $lhost_ifname

12