Lines Matching full:local
31 local pre_cmd=
32 local post_cmd=' || echo RTERR'
33 local out=
34 local user="root"
35 local cmd=
36 local safe=0
65 local output=
66 local ret=0
86 # Get test interface names for local/remote host.
91 local type=${1:-"lhost"}
104 local type=${1:-"lhost"}
105 local addr=
106 local list=
110 local addr_path="/sys/class/net/${eth}/address"
128 local type=${1:-"lhost"}
129 local link_num=${2:-"0"}
130 local hwaddrs=
142 local type=${1:-"lhost"}
143 local link_num=${2:-"0"}
170 local type=${1:-"lhost"}
171 local ipv=${TST_IPV6:-"4"}
172 local tst_host=
192 local type=${1:-"lhost"}
193 local link_num=${2:-"0"}
194 local iface=$(tst_iface $type $link_num)
216 local type=${1:-"lhost"}
217 local link_num=${2:-"0"}
219 local mask=24
222 local iface=$(tst_iface $type $link_num)
225 tst_resm TINFO "set local addr $(tst_ipaddr)/$mask"
240 local type=${1:-"lhost"}
241 local link_num=${2:-"0"}
245 local ret=0
246 local backup_tst_ipv6=$TST_IPV6
262 local ip_addr="$1"
263 local rfile=${2:-"netload.res"}
264 local type=${3:-"TFO"}
265 local addopts=${@:4}
266 local ret=0
273 local ipv6=
277 local res=
283 local port=
292 local sec_waited=
302 # run local tcp client
328 local src_iface=${1:-"$(tst_iface)"}
329 local dst_addr=${2:-"$(tst_ipaddr rhost)"}; shift 2
330 local msg_sizes=$@
331 local ret=0
367 # Set local host last octet, default is '2'
375 # Set local host last octet, default is '2'
381 # Reverse host portion of the IPv6 address of the local host