Home
last modified time | relevance | path

Searched refs:rhost (Results 1 – 25 of 58) sorted by relevance

123

/third_party/ltp/testcases/network/stress/route/
Droute-lib.sh54 [ "$new_riface" ] && add_macvlan -d $new_riface rhost
61 tst_restore_ipaddr rhost
68 rhost="$(tst_ipaddr_un 0 1)"
70 tst_add_ipaddr -s -q -a $rhost rhost
76 rhost="$(tst_ipaddr_un 0 1)"
77 tst_add_ipaddr -s -q -a $rhost rhost
85 if [ $(tst_get_ifaces_cnt rhost) -lt 2 ]; then
88 add_macvlan $new_riface rhost
Droute-change-dst.sh26 local rhost="$(tst_ipaddr_un $1 1)"
30 tst_add_ipaddr -s -q -a $rhost rhost
32 EXPECT_PASS_BRK ping$TST_IPV6 -c1 -I $(tst_ipaddr) $rhost \>/dev/null
34 tst_del_ipaddr -s -q -a $rhost rhost
Droute-change-netlink-dst.sh19 local gw rhost rhost_all rt
25 rhost="$(tst_ipaddr_un $cnt 1)"
26 rhost_all="$rhost$IP_ADDR_DELIM$rhost_all"
28 tst_add_ipaddr -s -q -a $rhost rhost
Droute-change-gw.sh30 tst_add_ipaddr -s -q -a $gw rhost
32 EXPECT_PASS_BRK ping$TST_IPV6 -c1 -I $lhost $rhost \>/dev/null
34 tst_del_ipaddr -s -q -a $gw rhost
Droute-change-if.sh33 tst_add_ipaddr -s -q -a $gw rhost $link_num
35 EXPECT_PASS_BRK ping$TST_IPV6 -c1 -I $lhost $rhost \>/dev/null
38 tst_del_ipaddr -s -q -a $gw rhost $link_num
Droute6-rmmod102 initialize_if rhost ${LINK_NUM}
139 add_ipv6addr rhost ${LINK_NUM} ${IPV6_NETWORK} ${RHOST_IPV6_HOST}
153 rhost_ifname=`get_ifname rhost ${LINK_NUM}`
Droute-change-netlink.c49 static struct ip_addr *dst, *gw, *rhost; variable
125 rhost_len = save_item((void **)&rhost, r_opt, save_ip); in setup()
143 struct ip_addr *p_rhost = rhost; in setup()
286 struct ip_addr *p_dst = dst, *p_gw = gw, *p_rhost = rhost; in run()
300 p_rhost = p_rhost->next ?: rhost; in run()
Droute4-rmmod106 initialize_if rhost ${LINK_NUM}
135 set_ipv4addr rhost ${LINK_NUM} ${IPV4_NETWORK} ${RHOST_IPV4_HOST}
157 rhost_ifname=`get_ifname rhost ${LINK_NUM}`
Droute-change-netlink-gw.sh26 tst_add_ipaddr -s -q -a $gw rhost
30 ROUTE_CHANGE_NETLINK_PARAMS="-d $(tst_iface) -g "$gw_all" -r $rhost"
/third_party/ltp/testcases/network/tcp_cmds/tracepath/
Dtracepath01.sh31 local rhost="$(tst_ipaddr rhost)"
33 tst_res TINFO "test $cmd with $rhost, pmtu is $len"
35 output=$($cmd $rhost -l $len | grep "pmtu $len")
44 tst_res TFAIL "failed to trace path to '$rhost'"
49 tst_res TFAIL "can't trace path to '$rhost' in 1+ hops"
53 tst_res TPASS "traced path to '$rhost' in $hops_num hops"
/third_party/ltp/testcases/network/virt/
Dmacsec_lib.sh29 local h1=$(tst_hwaddr rhost)
37 tst_ipsec lhost $(tst_ipaddr) $(tst_ipaddr rhost)
38 tst_ipsec rhost $(tst_ipaddr rhost) $(tst_ipaddr)
/third_party/ltp/testcases/network/stress/ipsec/
Dipsec_lib.sh111 tst_ipsec lhost $(tst_ipaddr) $(tst_ipaddr rhost)
112 tst_ipsec rhost $(tst_ipaddr rhost) $(tst_ipaddr)
200 elif [ $target = rhost ]; then
262 elif [ $target = rhost ]; then
286 if_rmt=$(tst_iface rhost)
289 ip_rmt=$(tst_ipaddr rhost)
299 tst_ipsec_vti rhost $ip_rmt $ip_loc $tst_vti
/third_party/ltp/testcases/network/stress/icmp/multi-diffnic/
Dicmp4-multi-diffnic01111 initialize_if rhost ${link_num}
175 rhost_ifname=`get_ifname rhost $link_num`
189 set_ipv4addr rhost $link_num $network_part $rhost_host_part
211 add_ipv6addr rhost $link_num $network_part $rhost_host_part
284 rhost_ifname=`get_ifname rhost $connection_num`
/third_party/ltp/testcases/network/dccp/
Ddccp01.sh15 tst_netload -H $(tst_ipaddr rhost) -T udp
21 tst_netload -H $(tst_ipaddr rhost) -T dccp
28 tst_netload -H $(tst_ipaddr rhost) -T udp_lite
/third_party/ltp/testcases/network/stress/ssh/
Dssh-stress.sh197 local port lport localhost rhost ret
201 rhost="$(tst_ipaddr)"
204 rhost="[$(tst_ipaddr)]"
219 tst_rhost_run -c "$RHOST_SSH -f -N -L $lport:$rhost:$port </dev/null >/dev/null 2>&1"
221 RHOST_PIDS=$(tst_rhost_run -c "pgrep -f '^ssh .*$lport:$rhost:$port'")
/third_party/ltp/testcases/network/stress/tcp/multi-diffnic/
Dtcp4-multi-diffnic01120 rhost_ifname=`get_ifname rhost $link_num`
125 initialize_if rhost ${link_num}
203 rhost_ifname=`get_ifname rhost $link_num`
221 set_ipv4addr rhost $link_num $network_part $rhost_host_part
243 add_ipv6addr rhost $link_num $network_part $rhost_host_part
/third_party/ltp/testcases/network/stress/tcp/multi-sameport/
Dtcp4-multi-sameport01118 rhost_ifname=`get_ifname rhost $LINK_NUM`
124 initialize_if rhost ${LINK_NUM}
180 rhost_ifname=`get_ifname rhost $LINK_NUM`
210 set_ipv4addr rhost $LINK_NUM $network_part $rhost_host_part
239 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
/third_party/ltp/testcases/network/stress/tcp/multi-diffport/
Dtcp4-multi-diffport01121 rhost_ifname=`get_ifname rhost $LINK_NUM`
127 initialize_if rhost ${LINK_NUM}
180 rhost_ifname=`get_ifname rhost $LINK_NUM`
211 set_ipv4addr rhost $LINK_NUM $network_part $rhost_host_part
240 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
/third_party/ltp/testcases/network/tcp_fastopen/
Dtcp_fastopen_run.sh52 tst_netload -H $(tst_ipaddr rhost) -t 0 -R $srv_replies
56 tst_netload -H $(tst_ipaddr rhost) -f -t 3 -R $srv_replies
68 tst_netload -H $(tst_ipaddr rhost) -F -t 3 -R $srv_replies
/third_party/ltp/testcases/network/stress/udp/uni-basic/
Dudp4-uni-basic01108 initialize_if rhost ${LINK_NUM}
150 rhost_ifname=`get_ifname rhost $LINK_NUM`
181 set_ipv4addr rhost $LINK_NUM $network_part $rhost_host_part
210 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
/third_party/ltp/testcases/network/stress/udp/multi-diffport/
Dudp4-multi-diffport01111 initialize_if rhost ${LINK_NUM}
155 rhost_ifname=`get_ifname rhost $LINK_NUM`
187 set_ipv4addr rhost $LINK_NUM $network_part $rhost_host_part
216 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
/third_party/ltp/testcases/network/stress/udp/multi-diffnic/
Dudp4-multi-diffnic01111 initialize_if rhost ${link_num}
178 rhost_ifname=`get_ifname rhost $link_num`
196 set_ipv4addr rhost $link_num $network_part $rhost_host_part
218 add_ipv6addr rhost $link_num $network_part $rhost_host_part
/third_party/ltp/testcases/network/stress/tcp/uni-basic/
Dtcp4-uni-basic01168 rhost_ifname=`get_ifname rhost $LINK_NUM`
174 initialize_if rhost ${LINK_NUM} || exit 1
243 rhost_ifname=`get_ifname rhost $LINK_NUM`
336 set_ipv4addr rhost $LINK_NUM $network_part $rhost_host_part
365 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
/third_party/ltp/testcases/network/sctp/
Dsctp01.sh20 tst_netload -H $(tst_ipaddr rhost) -T tcp -R 3 $opts
23 tst_netload -S $(tst_ipaddr) -H $(tst_ipaddr rhost) -T sctp -R 3 $opts
/third_party/ltp/testcases/network/sockets/
Dbind_noport01.sh19 tst_netload -T $type -S $(tst_ipaddr) -H $(tst_ipaddr rhost)
30 tst_netload -T $type -S $(tst_ipaddr) -H $(tst_ipaddr rhost) -A $rsize

123