• Home
  • Raw
  • Download

Lines Matching full:local

53 	local pre_cmd=
54 local post_cmd=' || echo RTERR'
55 local out=
56 local user="root"
57 local cmd=
58 local safe=0
84 local output=
85 local ret=0
108 # Get test interface names for local/remote host.
113 local type="${1:-lhost}"
126 local type="${1:-lhost}"
127 local addr=
128 local list=
132 local addr_path="/sys/class/net/${eth}/address"
150 local type="${1:-lhost}"
151 local link_num="${2:-0}"
152 local hwaddrs=
164 local type="${1:-lhost}"
165 local link_num="${2:-0}"
192 local type="${1:-lhost}"
193 local ipv="${TST_IPV6:-4}"
194 local tst_host=
214 local type="${1:-lhost}"
215 local link_num="${2:-0}"
216 local iface="$(tst_iface $type $link_num)"
242 local type="${1:-lhost}"
243 local link_num="${2:-0}"
245 local mask=24
248 local iface=$(tst_iface $type $link_num)
251 tst_resm TINFO "set local addr $(tst_ipaddr)/$mask"
266 local type="${1:-lhost}"
267 local link_num="${2:-0}"
271 local ret=0
272 local backup_tst_ipv6=$TST_IPV6
284 local ret=
285 local i=
286 local iface_loc=${1:-$(tst_iface)}
287 local iface_rmt=${2:-$(tst_iface rhost)}
307 local rfile="tst_netload.res"
308 local expect_res="pass"
309 local ret=0
312 local cs_opts=
314 local c_num="${TST_NETLOAD_CLN_NUMBER:-2}"
315 local c_requests="${TST_NETLOAD_CLN_REQUESTS:-500000}"
316 local c_opts=
319 local s_replies="${TST_NETLOAD_MAX_SRV_REPLIES:-500000}"
320 local s_opts=
343 local expect_ret=0
346 local port="$(tst_rhost_run -c 'tst_get_unused_port ipv6 stream')"
358 local sec_waited=
400 local src_iface="${1:-$(tst_iface)}"
401 local dst_addr="${2:-$(tst_ipaddr rhost)}"; shift $(( $# >= 2 ? 2 : 0 ))
402 local msg_sizes="$*"
403 local ret=0
425 local timeout=1
426 local msg_sizes=56
427 local opts=
428 local num=
429 local ret=0
430 local ver="${TST_IPV6:-4}"
442 local num=$(echo "$msg_sizes" | wc -w)
466 local name="$1"
467 local value="$2"
468 local safe=
471 local add_opt=
493 # Set local host last octet, default is '2'
501 # Set local host last octet, default is '2'