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;
192 local kind=$(ip -j -d link show dev ${NETIFS[p1]} |
212 local cmd=$1; shift
258 local i
261 local j=$((i+1))
295 local new_addr=
296 local dev=
311 local dev=
345 local err=$1
346 local msg=$2
356 local err=$1
357 local msg=$2
367 local should_fail=$1; shift
368 local err=$1; shift
369 local what=$1; shift
380 local test_name=$1
381 local opt_str=$2
407 local test_name=$1
408 local opt_str=$2
416 local msg=$1
429 local arr=("$@")
443 local addr=$1; shift
444 local word
445 local flag
474 local expr=$1; shift
475 local current=$("$@")
483 local timeout=$1; shift
484 local delta=$1; shift
486 local base=$("$@")
492 local dev=$1; shift
493 local wait_time=${1:-$WAIT_TIME}; shift
506 local dev=$1; shift
507 local max_iterations=${1:-$WAIT_TIMEOUT}; shift
508 local wait_time=${1:-$WAIT_TIME}; shift
509 local i
527 local num_netifs=${1:-$NUM_NETIFS}
528 local i
540 local cmd=$1
541 local jq_exp=$2
542 local jq_opts=$3
543 local ret
544 local output
576 ip -4 rule add pref 32765 table local
578 ip -6 rule add pref 32765 table local
584 ip -6 rule add pref 0 table local
586 ip -4 rule add pref 0 table local
595 local vrf_name=$1
604 local vrf_name=$1
611 local vrf_name=$1
612 local tb_id
624 local vrf_name=$1
625 local tb_id
637 local if_name=$1
638 local add_del=$2
639 local array
652 local if_name=$1; shift
653 local vrf_name=$1; shift
654 local addrs=("${@}")
664 local if_name=$1; shift
665 local addrs=("${@}")
675 local if_name=$1
676 local vrf_name
677 local array
690 local if_name=$1
691 local vrf_name
692 local array
704 local name=$1; shift
705 local type=$1; shift
706 local local=$1; shift
707 local remote=$1; shift
710 local $local remote $remote "$@"
716 local name=$1; shift
723 local if_name=$1; shift
724 local vid=$1; shift
725 local vrf=$1; shift
726 local ips=("${@}")
727 local name=$if_name.$vid
739 local if_name=$1; shift
740 local vid=$1; shift
741 local name=$if_name.$vid
748 local if_name=$1; shift
749 local mode=$1; shift
763 local if_name=$1; shift
770 local if_name=$1
777 local if_name=$1; shift
778 local dir=$1; shift
779 local stat=$1; shift
797 local dev=$1; shift
798 local pref=$1; shift
799 local dir=$1; shift
800 local selector=${1:-.packets}; shift
808 local id=$1; shift
809 local handle=$1; shift
810 local selector=${1:-.packets}; shift
811 local netns=${1:-""}; shift
820 local dev=$1; shift
821 local stat=$1; shift
828 local dev=$1; shift
829 local grp=$1; shift
830 local name=$1; shift
831 local src=$1; shift
839 local dev=$1; shift
840 local handle=$1; shift
841 local selector=$1; shift
849 local dev=$1; shift
850 local parent=$1; shift
851 local selector=$1; shift
859 local dev=$1; shift
860 local stat=$1; shift
867 local suite=$1; shift
868 local if_name=$1; shift
869 local dir=$1; shift
870 local stat=$1; shift
878 local speed=$1; shift
893 local t0=$1; shift
894 local t1=$1; shift
895 local interval=$1; shift
902 local t0=$1; shift
903 local t1=$1; shift
904 local interval=$1; shift
911 local if_name=$1
918 local if_name=$1
921 jq -r '.[]["addr_info"][] | select(.scope == "link").local' | \
927 local bridge=$1
928 local ageing_time
939 local key=$1; shift
940 local value=$1; shift
948 local key=$1; shift
968 local dev=$1; shift
969 local mtu=$1; shift
977 local dev=$1; shift
984 local num_netifs=${1:-$NUM_NETIFS}
999 local dev=$1; shift
1000 local direction=$1; shift
1015 local dev=$1; shift
1016 local direction=$1; shift
1039 local add_del=$1; shift
1040 local pref=$1; shift
1041 local vsuf=$1; shift
1042 local tundev=$1; shift
1043 local filter=$1; shift
1073 local add_del=$1; shift
1074 local pref=$1; shift
1075 local dev=$1; shift
1076 local filter=$1; shift
1096 local add_del=$1; shift
1097 local dev=$1; shift
1098 local base=$1; shift
1099 local dscp;
1110 local dev=$1; shift
1111 local base=$1; shift
1118 local dev=$1; shift
1119 local base=$1; shift
1126 local dev=$1; shift
1127 local base=$1; shift
1130 local dscp=$((base + prio))
1131 local t=$(tc_rule_stats_get $dev $((dscp + 100)))
1138 local dev=$1; shift
1149 local current_test
1158 local desc="$1"
1159 local weight_rp12=$2
1160 local weight_rp13=$3
1161 local packets_rp12=$4
1162 local packets_rp13=$5
1163 local weights_ratio packets_ratio diff
1201 local name=$1; shift
1215 local if_name=$1
1216 local dip=$2
1217 local args=$3
1218 local vrf_name
1246 local if_name=$1
1247 local dip=$2
1248 local args=$3
1249 local vrf_name
1277 local bridge=$1
1278 local br_port1=$2 # Connected to `host1_if`.
1279 local host1_if=$3
1280 local host2_if=$4
1281 local mac=de:ad:be:ef:13:37
1282 local ageing_time
1354 local should_flood=$1
1355 local mac=$2
1356 local ip=$3
1357 local host1_if=$4
1358 local host2_if=$5
1359 local err=0
1388 local br_port=$1
1389 local host1_if=$2
1390 local host2_if=$3
1391 local mac=de:ad:be:ef:13:37
1392 local ip=192.0.2.100
1411 local br_port=$1
1412 local host1_if=$2
1413 local host2_if=$3
1414 local mac=01:00:5e:00:00:01
1415 local ip=239.0.0.1
1435 local br_port=$1
1436 local host1_if=$2
1437 local host2_if=$3
1445 local pktsize=$1; shift
1446 local proto=$1; shift
1447 local h_in=$1; shift # Where the traffic egresses the host
1448 local sip=$1; shift
1449 local dip=$1; shift
1450 local dmac=$1; shift
1459 local pktsize=$1; shift
1466 local pktsize=$1; shift
1493 local if_name=$1; shift
1494 local ns=$1; shift
1521 local if_name=$1
1522 local pid=${cappid[$if_name]}
1530 local if_name=$1
1537 local if_name=$1
1545 local mac=$1
1546 local src_ip=$2
1547 local ip=$3
1548 local host1_if=$4
1549 local host2_if=$5
1550 local seen=0
1551 local tc_proto="ip"
1552 local mz_v6arg=""
1584 local report=$1; shift
1585 local slist=("$@")
1586 local sarg=""
1606 local should_fwd=$1; shift
1607 local sources=("$@")
1610 local retval=0
1624 local is_blocked=$1; shift
1625 local sources=("$@")
1626 local should_fail=1
1651 local if_name=$1
1652 local group=$2
1653 local vrf_name=$(master_name_get $if_name)
1672 local if_name=$1
1673 local groups=$2
1674 local vrf_name=$(master_name_get $if_name)
1682 local mtype=$1; shift
1683 local ip=${1-ip}; shift
1694 local mpid=$1; shift
1695 local tmpfile=$1; shift
1696 local el=$1; shift
1697 local what=$1; shift
1701 local lines=`grep '^\w' $tmpfile | wc -l`
1709 local dev=$1; shift
1710 local type=$1; shift
1711 local make_suitable=$1; shift
1712 local make_unsuitable=$1; shift
1713 local ip=${1-ip}; shift
1718 local ipmout=$(start_ip_monitor stats "$ip")
1723 local ipmout=$(start_ip_monitor stats "$ip")
1728 local ipmout=$(start_ip_monitor stats "$ip")
1733 local ipmout=$(start_ip_monitor stats "$ip")
1742 local IP=$1; shift
1754 local IP=$1; shift
1755 local bytesep=$1; shift
1757 local cvt_ip=${IP/::/_}
1758 local colons=${cvt_ip//[^:]/}
1759 local allcol=:::::::
1761 local allcol_ip=${cvt_ip/_/${allcol:${#colons}}}
1772 local IP=$1; shift
1779 local u16=$1; shift
1790 local payload=$1; shift
1817 local payload=$1; shift
1818 local checksum=$1; shift
1820 local ckbytes=$(u16_to_bytes $checksum)
1827 local payload=$1; shift
1835 local GRP=$1; shift
1836 local sources=("$@")
1838 local igmpv3
1839 local nsources=$(u16_to_bytes ${#sources[@]})
1857 local checksum=$(payload_template_calc_checksum "$igmpv3")
1864 local GRP=$1; shift
1866 local payload=$(:
1872 local checksum=$(payload_template_calc_checksum "$payload")
1879 local SIP=$1; shift
1880 local GRP=$1; shift
1881 local sources=("$@")
1883 local hbh
1884 local icmpv6
1885 local nsources=$(u16_to_bytes ${#sources[@]})
1909 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
1910 local sudohdr=$(:
1916 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
1923 local SIP=$1; shift
1924 local GRP=$1; shift
1926 local hbh
1927 local icmpv6
1944 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
1945 local sudohdr=$(:
1951 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
1958 local reason1="$1"; shift
1959 local reason2="$1"; shift