Searched refs:rhost (Results 1 – 25 of 58) sorted by relevance
123
54 [ "$new_riface" ] && add_macvlan -d $new_riface rhost61 tst_restore_ipaddr rhost68 rhost="$(tst_ipaddr_un 0 1)"70 tst_add_ipaddr -s -q -a $rhost rhost76 rhost="$(tst_ipaddr_un 0 1)"77 tst_add_ipaddr -s -q -a $rhost rhost85 if [ $(tst_get_ifaces_cnt rhost) -lt 2 ]; then88 add_macvlan $new_riface rhost
26 local rhost="$(tst_ipaddr_un $1 1)"30 tst_add_ipaddr -s -q -a $rhost rhost32 EXPECT_PASS_BRK ping$TST_IPV6 -c1 -I $(tst_ipaddr) $rhost \>/dev/null34 tst_del_ipaddr -s -q -a $rhost rhost
19 local gw rhost rhost_all rt25 rhost="$(tst_ipaddr_un $cnt 1)"26 rhost_all="$rhost$IP_ADDR_DELIM$rhost_all"28 tst_add_ipaddr -s -q -a $rhost rhost
30 tst_add_ipaddr -s -q -a $gw rhost32 EXPECT_PASS_BRK ping$TST_IPV6 -c1 -I $lhost $rhost \>/dev/null34 tst_del_ipaddr -s -q -a $gw rhost
33 tst_add_ipaddr -s -q -a $gw rhost $link_num35 EXPECT_PASS_BRK ping$TST_IPV6 -c1 -I $lhost $rhost \>/dev/null38 tst_del_ipaddr -s -q -a $gw rhost $link_num
102 initialize_if rhost ${LINK_NUM}139 add_ipv6addr rhost ${LINK_NUM} ${IPV6_NETWORK} ${RHOST_IPV6_HOST}153 rhost_ifname=`get_ifname rhost ${LINK_NUM}`
49 static struct ip_addr *dst, *gw, *rhost; variable125 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()
106 initialize_if rhost ${LINK_NUM}135 set_ipv4addr rhost ${LINK_NUM} ${IPV4_NETWORK} ${RHOST_IPV4_HOST}157 rhost_ifname=`get_ifname rhost ${LINK_NUM}`
26 tst_add_ipaddr -s -q -a $gw rhost30 ROUTE_CHANGE_NETLINK_PARAMS="-d $(tst_iface) -g "$gw_all" -r $rhost"
31 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"
29 local h1=$(tst_hwaddr rhost)37 tst_ipsec lhost $(tst_ipaddr) $(tst_ipaddr rhost)38 tst_ipsec rhost $(tst_ipaddr rhost) $(tst_ipaddr)
111 tst_ipsec lhost $(tst_ipaddr) $(tst_ipaddr rhost)112 tst_ipsec rhost $(tst_ipaddr rhost) $(tst_ipaddr)200 elif [ $target = rhost ]; then262 elif [ $target = rhost ]; then286 if_rmt=$(tst_iface rhost)289 ip_rmt=$(tst_ipaddr rhost)299 tst_ipsec_vti rhost $ip_rmt $ip_loc $tst_vti
111 initialize_if rhost ${link_num}175 rhost_ifname=`get_ifname rhost $link_num`189 set_ipv4addr rhost $link_num $network_part $rhost_host_part211 add_ipv6addr rhost $link_num $network_part $rhost_host_part284 rhost_ifname=`get_ifname rhost $connection_num`
15 tst_netload -H $(tst_ipaddr rhost) -T udp21 tst_netload -H $(tst_ipaddr rhost) -T dccp28 tst_netload -H $(tst_ipaddr rhost) -T udp_lite
197 local port lport localhost rhost ret201 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'")
120 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_part243 add_ipv6addr rhost $link_num $network_part $rhost_host_part
118 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_part239 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
121 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_part240 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
52 tst_netload -H $(tst_ipaddr rhost) -t 0 -R $srv_replies56 tst_netload -H $(tst_ipaddr rhost) -f -t 3 -R $srv_replies68 tst_netload -H $(tst_ipaddr rhost) -F -t 3 -R $srv_replies
108 initialize_if rhost ${LINK_NUM}150 rhost_ifname=`get_ifname rhost $LINK_NUM`181 set_ipv4addr rhost $LINK_NUM $network_part $rhost_host_part210 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
111 initialize_if rhost ${LINK_NUM}155 rhost_ifname=`get_ifname rhost $LINK_NUM`187 set_ipv4addr rhost $LINK_NUM $network_part $rhost_host_part216 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
111 initialize_if rhost ${link_num}178 rhost_ifname=`get_ifname rhost $link_num`196 set_ipv4addr rhost $link_num $network_part $rhost_host_part218 add_ipv6addr rhost $link_num $network_part $rhost_host_part
168 rhost_ifname=`get_ifname rhost $LINK_NUM`174 initialize_if rhost ${LINK_NUM} || exit 1243 rhost_ifname=`get_ifname rhost $LINK_NUM`336 set_ipv4addr rhost $LINK_NUM $network_part $rhost_host_part365 add_ipv6addr rhost $LINK_NUM $network_part $rhost_host_part
20 tst_netload -H $(tst_ipaddr rhost) -T tcp -R 3 $opts23 tst_netload -S $(tst_ipaddr) -H $(tst_ipaddr rhost) -T sctp -R 3 $opts
19 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