Lines Matching full:local

46 	local timeout=$1; shift
48 local start_time="$(date -u +%s%3N)"
51 local out
53 local ret=$?
59 local current_time="$(date -u +%s%3N)"
82 local dev=$1; shift
97 local dev=$1; shift
98 local ret;
185 local dev=$1; shift
186 local grp=$1; shift
210 local kind=$(ip -j -d link show dev ${NETIFS[p1]} |
230 local cmd=$1; shift
276 local i
279 local j=$((i+1))
313 local new_addr=
314 local dev=
329 local dev=
363 local err=$1
364 local msg=$2
374 local err=$1
375 local msg=$2
385 local should_fail=$1; shift
386 local err=$1; shift
387 local what=$1; shift
398 local test_name=$1
399 local opt_str=$2
425 local test_name=$1
426 local opt_str=$2
434 local msg=$1
447 local arr=("$@")
461 local addr=$1; shift
462 local word
463 local flag
492 local expr=$1; shift
493 local current=$("$@")
501 local timeout=$1; shift
502 local delta=$1; shift
504 local base=$("$@")
510 local dev=$1; shift
511 local wait_time=${1:-$WAIT_TIME}; shift
524 local dev=$1; shift
525 local max_iterations=${1:-$WAIT_TIMEOUT}; shift
526 local wait_time=${1:-$WAIT_TIME}; shift
527 local i
545 local num_netifs=${1:-$NUM_NETIFS}
546 local i
558 local cmd=$1
559 local jq_exp=$2
560 local jq_opts=$3
561 local ret
562 local output
594 ip -4 rule add pref 32765 table local
596 ip -6 rule add pref 32765 table local
602 ip -6 rule add pref 0 table local
604 ip -4 rule add pref 0 table local
613 local vrf_name=$1
622 local vrf_name=$1
629 local vrf_name=$1
630 local tb_id
642 local vrf_name=$1
643 local tb_id
655 local if_name=$1
656 local add_del=$2
657 local array
670 local if_name=$1; shift
671 local vrf_name=$1; shift
672 local addrs=("${@}")
682 local if_name=$1; shift
683 local addrs=("${@}")
693 local if_name=$1
694 local vrf_name
695 local array
708 local if_name=$1
709 local vrf_name
710 local array
722 local name=$1; shift
723 local type=$1; shift
724 local local=$1; shift
725 local remote=$1; shift
728 local $local remote $remote "$@"
734 local name=$1; shift
741 local if_name=$1; shift
742 local vid=$1; shift
743 local vrf=$1; shift
744 local ips=("${@}")
745 local name=$if_name.$vid
757 local if_name=$1; shift
758 local vid=$1; shift
759 local name=$if_name.$vid
766 local if_name=$1; shift
767 local mode=$1; shift
781 local if_name=$1; shift
788 local if_name=$1
795 local if_name=$1; shift
796 local dir=$1; shift
797 local stat=$1; shift
815 local dev=$1; shift
816 local pref=$1; shift
817 local dir=$1; shift
818 local selector=${1:-.packets}; shift
826 local id=$1; shift
827 local handle=$1; shift
828 local selector=${1:-.packets}; shift
829 local netns=${1:-""}; shift
838 local dev=$1; shift
839 local stat=$1; shift
846 local dev=$1; shift
847 local grp=$1; shift
848 local name=$1; shift
849 local src=$1; shift
857 local dev=$1; shift
858 local handle=$1; shift
859 local selector=$1; shift
867 local dev=$1; shift
868 local parent=$1; shift
869 local selector=$1; shift
877 local dev=$1; shift
878 local stat=$1; shift
885 local suite=$1; shift
886 local if_name=$1; shift
887 local dir=$1; shift
888 local stat=$1; shift
896 local speed=$1; shift
911 local t0=$1; shift
912 local t1=$1; shift
913 local interval=$1; shift
920 local t0=$1; shift
921 local t1=$1; shift
922 local interval=$1; shift
929 local if_name=$1
936 local if_name=$1
939 jq -r '.[]["addr_info"][] | select(.scope == "link").local' | \
945 local bridge=$1
946 local ageing_time
957 local key=$1; shift
958 local value=$1; shift
966 local key=$1; shift
986 local dev=$1; shift
987 local mtu=$1; shift
995 local dev=$1; shift
1002 local num_netifs=${1:-$NUM_NETIFS}
1017 local dev=$1; shift
1018 local direction=$1; shift
1033 local dev=$1; shift
1034 local direction=$1; shift
1057 local add_del=$1; shift
1058 local pref=$1; shift
1059 local vsuf=$1; shift
1060 local tundev=$1; shift
1061 local filter=$1; shift
1091 local add_del=$1; shift
1092 local pref=$1; shift
1093 local dev=$1; shift
1094 local filter=$1; shift
1114 local add_del=$1; shift
1115 local dev=$1; shift
1116 local base=$1; shift
1117 local dscp;
1128 local dev=$1; shift
1129 local base=$1; shift
1136 local dev=$1; shift
1137 local base=$1; shift
1144 local dev=$1; shift
1145 local base=$1; shift
1148 local dscp=$((base + prio))
1149 local t=$(tc_rule_stats_get $dev $((dscp + 100)))
1156 local dev=$1; shift
1167 local current_test
1176 local desc="$1"
1177 local weight_rp12=$2
1178 local weight_rp13=$3
1179 local packets_rp12=$4
1180 local packets_rp13=$5
1181 local weights_ratio packets_ratio diff
1219 local name=$1; shift
1233 local if_name=$1
1234 local dip=$2
1235 local args=$3
1236 local vrf_name
1264 local if_name=$1
1265 local dip=$2
1266 local args=$3
1267 local vrf_name
1295 local bridge=$1
1296 local br_port1=$2 # Connected to `host1_if`.
1297 local host1_if=$3
1298 local host2_if=$4
1299 local mac=de:ad:be:ef:13:37
1300 local ageing_time
1372 local should_flood=$1
1373 local mac=$2
1374 local ip=$3
1375 local host1_if=$4
1376 local host2_if=$5
1377 local err=0
1406 local br_port=$1
1407 local host1_if=$2
1408 local host2_if=$3
1409 local mac=de:ad:be:ef:13:37
1410 local ip=192.0.2.100
1429 local br_port=$1
1430 local host1_if=$2
1431 local host2_if=$3
1432 local mac=01:00:5e:00:00:01
1433 local ip=239.0.0.1
1453 local br_port=$1
1454 local host1_if=$2
1455 local host2_if=$3
1463 local pktsize=$1; shift
1464 local proto=$1; shift
1465 local h_in=$1; shift # Where the traffic egresses the host
1466 local sip=$1; shift
1467 local dip=$1; shift
1468 local dmac=$1; shift
1477 local pktsize=$1; shift
1484 local pktsize=$1; shift
1511 local if_name=$1; shift
1512 local ns=$1; shift
1539 local if_name=$1
1540 local pid=${cappid[$if_name]}
1548 local if_name=$1
1555 local if_name=$1
1563 local mac=$1
1564 local src_ip=$2
1565 local ip=$3
1566 local host1_if=$4
1567 local host2_if=$5
1568 local seen=0
1569 local tc_proto="ip"
1570 local mz_v6arg=""
1602 local report=$1; shift
1603 local slist=("$@")
1604 local sarg=""
1624 local should_fwd=$1; shift
1625 local sources=("$@")
1628 local retval=0
1642 local is_blocked=$1; shift
1643 local sources=("$@")
1644 local should_fail=1
1669 local if_name=$1
1670 local group=$2
1671 local vrf_name=$(master_name_get $if_name)
1690 local if_name=$1
1691 local groups=$2
1692 local vrf_name=$(master_name_get $if_name)
1700 local mtype=$1; shift
1701 local ip=${1-ip}; shift
1712 local mpid=$1; shift
1713 local tmpfile=$1; shift
1714 local el=$1; shift
1715 local what=$1; shift
1719 local lines=`grep '^\w' $tmpfile | wc -l`
1727 local dev=$1; shift
1728 local type=$1; shift
1729 local make_suitable=$1; shift
1730 local make_unsuitable=$1; shift
1731 local ip=${1-ip}; shift
1736 local ipmout=$(start_ip_monitor stats "$ip")
1741 local ipmout=$(start_ip_monitor stats "$ip")
1746 local ipmout=$(start_ip_monitor stats "$ip")
1751 local ipmout=$(start_ip_monitor stats "$ip")
1760 local IP=$1; shift
1772 local IP=$1; shift
1773 local bytesep=$1; shift
1775 local cvt_ip=${IP/::/_}
1776 local colons=${cvt_ip//[^:]/}
1777 local allcol=:::::::
1779 local allcol_ip=${cvt_ip/_/${allcol:${#colons}}}
1790 local IP=$1; shift
1797 local u16=$1; shift
1808 local payload=$1; shift
1835 local payload=$1; shift
1836 local checksum=$1; shift
1838 local ckbytes=$(u16_to_bytes $checksum)
1845 local payload=$1; shift
1853 local GRP=$1; shift
1854 local sources=("$@")
1856 local igmpv3
1857 local nsources=$(u16_to_bytes ${#sources[@]})
1875 local checksum=$(payload_template_calc_checksum "$igmpv3")
1882 local GRP=$1; shift
1884 local payload=$(:
1890 local checksum=$(payload_template_calc_checksum "$payload")
1897 local SIP=$1; shift
1898 local GRP=$1; shift
1899 local sources=("$@")
1901 local hbh
1902 local icmpv6
1903 local nsources=$(u16_to_bytes ${#sources[@]})
1927 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
1928 local sudohdr=$(:
1934 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
1941 local SIP=$1; shift
1942 local GRP=$1; shift
1944 local hbh
1945 local icmpv6
1962 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
1963 local sudohdr=$(:
1969 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
1976 local reason1="$1"; shift
1977 local reason2="$1"; shift