Lines Matching full:local
58 local dev=$1; shift
73 local dev=$1; shift
74 local ret;
151 local cmd=$1; shift
197 local i
200 local j=$((i+1))
229 local new_addr=
230 local dev=
245 local dev=
279 local err=$1
280 local msg=$2
290 local err=$1
291 local msg=$2
301 local should_fail=$1; shift
302 local err=$1; shift
303 local what=$1; shift
314 local test_name=$1
315 local opt_str=$2
341 local test_name=$1
342 local opt_str=$2
350 local msg=$1
357 local timeout=$1; shift
359 local start_time="$(date -u +%s%3N)"
362 local out
364 local ret=$?
370 local current_time="$(date -u +%s%3N)"
386 local arr=("$@")
400 local addr=$1; shift
401 local word
402 local flag
431 local expr=$1; shift
432 local current=$("$@")
440 local timeout=$1; shift
441 local delta=$1; shift
443 local base=$("$@")
449 local dev=$1; shift
450 local wait_time=${1:-$WAIT_TIME}; shift
463 local dev=$1; shift
464 local max_iterations=${1:-$WAIT_TIMEOUT}; shift
465 local wait_time=${1:-$WAIT_TIME}; shift
466 local i
484 local num_netifs=${1:-$NUM_NETIFS}
485 local i
497 local cmd=$1
498 local jq_exp=$2
499 local jq_opts=$3
500 local ret
501 local output
521 local dev=$1; shift
554 ip -4 rule add pref 32765 table local
556 ip -6 rule add pref 32765 table local
562 ip -6 rule add pref 0 table local
564 ip -4 rule add pref 0 table local
573 local vrf_name=$1
582 local vrf_name=$1
589 local vrf_name=$1
590 local tb_id
602 local vrf_name=$1
603 local tb_id
615 local if_name=$1
616 local add_del=$2
617 local array
630 local if_name=$1; shift
631 local vrf_name=$1; shift
632 local addrs=("${@}")
642 local if_name=$1; shift
643 local addrs=("${@}")
653 local if_name=$1
654 local vrf_name
655 local array
668 local if_name=$1
669 local vrf_name
670 local array
682 local name=$1; shift
683 local type=$1; shift
684 local local=$1; shift
685 local remote=$1; shift
688 local $local remote $remote "$@"
694 local name=$1; shift
701 local if_name=$1; shift
702 local vid=$1; shift
703 local vrf=$1; shift
704 local ips=("${@}")
705 local name=$if_name.$vid
717 local if_name=$1; shift
718 local vid=$1; shift
719 local name=$if_name.$vid
726 local if_name=$1; shift
727 local mode=$1; shift
741 local if_name=$1; shift
748 local if_name=$1
755 local if_name=$1; shift
756 local dir=$1; shift
757 local stat=$1; shift
775 local dev=$1; shift
776 local pref=$1; shift
777 local dir=$1; shift
778 local selector=${1:-.packets}; shift
786 local id=$1; shift
787 local handle=$1; shift
788 local selector=${1:-.packets}; shift
797 local dev=$1; shift
798 local stat=$1; shift
805 local dev=$1; shift
806 local handle=$1; shift
807 local selector=$1; shift
815 local dev=$1; shift
816 local parent=$1; shift
817 local selector=$1; shift
825 local dev=$1; shift
826 local stat=$1; shift
833 local suite=$1; shift
834 local if_name=$1; shift
835 local dir=$1; shift
836 local stat=$1; shift
844 local speed=$1; shift
859 local t0=$1; shift
860 local t1=$1; shift
861 local interval=$1; shift
868 local t0=$1; shift
869 local t1=$1; shift
870 local interval=$1; shift
877 local if_name=$1
884 local if_name=$1
887 jq -r '.[]["addr_info"][] | select(.scope == "link").local' | \
893 local bridge=$1
894 local ageing_time
905 local key=$1; shift
906 local value=$1; shift
914 local key=$1; shift
934 local dev=$1; shift
935 local mtu=$1; shift
943 local dev=$1; shift
950 local num_netifs=${1:-$NUM_NETIFS}
965 local dev=$1; shift
966 local direction=$1; shift
981 local dev=$1; shift
982 local direction=$1; shift
1005 local add_del=$1; shift
1006 local pref=$1; shift
1007 local vsuf=$1; shift
1008 local tundev=$1; shift
1009 local filter=$1; shift
1039 local add_del=$1; shift
1040 local pref=$1; shift
1041 local dev=$1; shift
1042 local filter=$1; shift
1062 local add_del=$1; shift
1063 local dev=$1; shift
1064 local base=$1; shift
1065 local dscp;
1076 local dev=$1; shift
1077 local base=$1; shift
1084 local dev=$1; shift
1085 local base=$1; shift
1092 local dev=$1; shift
1093 local base=$1; shift
1096 local dscp=$((base + prio))
1097 local t=$(tc_rule_stats_get $dev $((dscp + 100)))
1104 local dev=$1; shift
1115 local current_test
1124 local desc="$1"
1125 local weight_rp12=$2
1126 local weight_rp13=$3
1127 local packets_rp12=$4
1128 local packets_rp13=$5
1129 local weights_ratio packets_ratio diff
1167 local name=$1; shift
1181 local if_name=$1
1182 local dip=$2
1183 local args=$3
1184 local vrf_name
1203 local if_name=$1
1204 local dip=$2
1205 local args=$3
1206 local vrf_name
1225 local bridge=$1
1226 local br_port1=$2 # Connected to `host1_if`.
1227 local host1_if=$3
1228 local host2_if=$4
1229 local mac=de:ad:be:ef:13:37
1230 local ageing_time
1302 local should_flood=$1
1303 local mac=$2
1304 local ip=$3
1305 local host1_if=$4
1306 local host2_if=$5
1307 local err=0
1336 local br_port=$1
1337 local host1_if=$2
1338 local host2_if=$3
1339 local mac=de:ad:be:ef:13:37
1340 local ip=192.0.2.100
1359 local br_port=$1
1360 local host1_if=$2
1361 local host2_if=$3
1362 local mac=01:00:5e:00:00:01
1363 local ip=239.0.0.1
1383 local br_port=$1
1384 local host1_if=$2
1385 local host2_if=$3
1393 local pktsize=$1; shift
1394 local proto=$1; shift
1395 local h_in=$1; shift # Where the traffic egresses the host
1396 local sip=$1; shift
1397 local dip=$1; shift
1398 local dmac=$1; shift
1407 local pktsize=$1; shift
1414 local pktsize=$1; shift
1441 local if_name=$1; shift
1442 local ns=$1; shift
1469 local if_name=$1
1470 local pid=${cappid[$if_name]}
1478 local if_name=$1
1485 local if_name=$1
1493 local mac=$1
1494 local src_ip=$2
1495 local ip=$3
1496 local host1_if=$4
1497 local host2_if=$5
1498 local seen=0
1499 local tc_proto="ip"
1500 local mz_v6arg=""
1532 local report=$1; shift
1533 local slist=("$@")
1534 local sarg=""
1554 local should_fwd=$1; shift
1555 local sources=("$@")
1558 local retval=0
1572 local is_blocked=$1; shift
1573 local sources=("$@")
1574 local should_fail=1
1599 local if_name=$1
1600 local group=$2
1601 local vrf_name=$(master_name_get $if_name)
1620 local if_name=$1
1621 local groups=$2
1622 local vrf_name=$(master_name_get $if_name)
1630 local mtype=$1; shift
1631 local ip=${1-ip}; shift
1642 local mpid=$1; shift
1643 local tmpfile=$1; shift
1644 local el=$1; shift
1645 local what=$1; shift
1649 local lines=`grep '^\w' $tmpfile | wc -l`
1657 local dev=$1; shift
1658 local type=$1; shift
1659 local make_suitable=$1; shift
1660 local make_unsuitable=$1; shift
1661 local ip=${1-ip}; shift
1666 local ipmout=$(start_ip_monitor stats "$ip")
1671 local ipmout=$(start_ip_monitor stats "$ip")
1676 local ipmout=$(start_ip_monitor stats "$ip")
1681 local ipmout=$(start_ip_monitor stats "$ip")