Lines Matching full:local
26 local pid=
61 local pre_cmd=
62 local post_cmd=' || echo RTERR'
63 local out=
64 local user="root"
65 local cmd=
66 local safe=0
67 local bg=
94 local output=
95 local ret=0
138 # Get test interface names for local/remote host.
143 local type="${1:-lhost}"
156 local type="${1:-lhost}"
157 local addr=
158 local list=
162 local addr_path="/sys/class/net/${eth}/address"
180 local type="${1:-lhost}"
181 local link_num="${2:-0}"
182 local hwaddrs=
194 local type="${1:-lhost}"
195 local link_num="${2:-0}"
222 local type="${1:-lhost}"
242 local counter host_id net_id max_host_id max_net_id tmp type
243 local OPTIND
299 local type="${1:-lhost}"
300 local link_num="${2:-0}"
301 local iface="$(tst_iface $type $link_num)"
327 local type="${1:-lhost}"
328 local link_num="${2:-0}"
329 local mask
337 local iface=$(tst_iface $type $link_num)
340 tst_resm TINFO "set local addr $(tst_ipaddr)/$mask"
355 local type="${1:-lhost}"
356 local link_num="${2:-0}"
360 local ret=0
361 local backup_tst_ipv6=$TST_IPV6
373 local ret=
374 local i=
375 local iface_loc=${1:-$(tst_iface)}
376 local iface_rmt=${2:-$(tst_iface rhost)}
401 local rfile="tst_netload.res"
402 local expect_res="pass"
403 local ret=0
404 local type="tcp"
405 local hostopt=
406 local setup_srchost=0
408 local cs_opts=
410 local c_num="${TST_NETLOAD_CLN_NUMBER:-2}"
411 local c_requests="${TST_NETLOAD_CLN_REQUESTS:-500000}"
412 local c_opts=
415 local s_replies="${TST_NETLOAD_MAX_SRV_REPLIES:-500000}"
416 local s_opts=
447 local expect_ret=0
450 local ptype="stream"
453 local port=$(tst_rhost_run -c "tst_get_unused_port ipv6 $ptype")
465 local sec_waited=
467 local sock_cmd=
518 local src_iface="${1:-$(tst_iface)}"
519 local dst_addr="${2:-$(tst_ipaddr rhost)}"; shift $(( $# >= 2 ? 2 : 0 ))
520 local msg_sizes="$*"
521 local msg="tst_ping IPv${TST_IPV6:-4} iface $src_iface, msg_size"
522 local ret=0
544 local timeout=1
545 local msg_sizes=56
546 local opts=
547 local num=
548 local ret=0
549 local ver="${TST_IPV6:-4}"
561 local num=$(echo "$msg_sizes" | wc -w)
585 local name="$1"
586 local value="$2"
587 local safe=
590 local add_opt=
658 tst_resm TINFO "Network config (local -- remote):"