Home
last modified time | relevance | path

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

/third_party/ltp/testcases/network/stress/route/
Droute6-rmmod147 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
160 lhost_module=`ethtool -i $lhost_ifname | grep driver | sed "s/driver:[[:blank:]]*//"`
164 if [ $lhost_ifname = $ifname ]; then
219 check_icmpv6_connectivity $lhost_ifname $rhost_ipv6addr
228 route -A inet6 add ${dst_network}/64 gw $rhost_ipv6addr dev $lhost_ifname
231 ip -f inet6 route add ${dst_network}/64 via $rhost_ipv6addr dev $lhost_ifname
Droute4-rmmod151 lhost_ifname=`get_ifname lhost ${LINK_NUM}`
164 lhost_module=`ethtool -i $lhost_ifname | grep driver | sed "s/driver:[[:blank:]]*//"`
168 if [ $lhost_ifname = $ifname ]; then
223 check_icmpv4_connectivity $lhost_ifname $rhost_ipv4addr
232 route add -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
235 ip route add ${dst_network}/24 via $rhost_ipv4addr dev $lhost_ifname
Droute-redirect.sh22 local lhost_ifname=$(tst_iface lhost)
32 ip route add $rhost_net dev $lhost_ifname
35 sysctl -w net.ipv${TST_IPVER}.conf.${lhost_ifname}.accept_redirects=1 > /dev/null
36 [ ! "$TST_IPV6" ] && sysctl -w net.ipv4.conf.${lhost_ifname}.secure_redirects=0 > /dev/null
/third_party/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
/third_party/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
/third_party/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
/third_party/ltp/testcases/network/stress/tcp/uni-basic/
Dtcp4-uni-basic01159 ethtool -K $lhost_ifname tso $tso_orig
238 lhost_ifname=`get_ifname lhost $LINK_NUM`
297 ethtool -k $lhost_ifname > $offload_info 2>/dev/null
301 tst_resm TCONF "The device at $lhost_ifname does not support TSO."
309 ethtool -K $lhost_ifname tso on
311 ethtool -K $lhost_ifname tso off
/third_party/ltp/testcases/network/stress/icmp/multi-diffnic/
Dicmp4-multi-diffnic01174 lhost_ifname=`get_ifname lhost $link_num`
283 lhost_ifname=`get_ifname lhost $connection_num`
/third_party/ltp/testcases/network/stress/udp/uni-basic/
Dudp4-uni-basic01145 lhost_ifname=`get_ifname lhost $LINK_NUM`
/third_party/ltp/testcases/network/stress/udp/multi-diffport/
Dudp4-multi-diffport01149 lhost_ifname=`get_ifname lhost $LINK_NUM`
/third_party/ltp/testcases/network/stress/udp/multi-diffnic/
Dudp4-multi-diffnic01173 lhost_ifname=`get_ifname lhost $link_num`
/third_party/ltp/testcases/network/stress/tcp/multi-diffport/
Dtcp4-multi-diffport01174 lhost_ifname=`get_ifname lhost $LINK_NUM`
/third_party/ltp/testcases/network/stress/tcp/multi-sameport/
Dtcp4-multi-sameport01174 lhost_ifname=`get_ifname lhost $LINK_NUM`
/third_party/ltp/testcases/network/stress/tcp/multi-diffnic/
Dtcp4-multi-diffnic01197 lhost_ifname=`get_ifname lhost $link_num`