Lines Matching full:local
92 local dev=$1; shift
93 local driver_path="/sys/class/net/$dev/device/driver"
102 local ifnames=`ip -j link show | jq -r ".[].ifname"`
103 local count=0
107 local driver_name=`driver_name_get $ifname`
147 local dev=$1; shift
162 local dev=$1; shift
163 local ret;
250 local dev=$1; shift
251 local grp=$1; shift
280 local dev=$1; shift
281 local expected=$1; shift
282 local driver_name=`driver_name_get $dev`
297 local version="$(msend -v)"
298 local major
362 local i
365 local j=$((i+1))
399 local new_addr=
400 local dev=
415 local dev=
450 local arr=("$@")
464 local addr=$1; shift
465 local word
466 local flag
495 local dev=$1; shift
496 local wait_time=${1:-$WAIT_TIME}; shift
509 local dev=$1; shift
510 local max_iterations=${1:-$WAIT_TIMEOUT}; shift
511 local wait_time=${1:-$WAIT_TIME}; shift
512 local i
530 local num_netifs=${1:-$NUM_NETIFS}
531 local i
543 local dev=$1; shift
544 local timeout=${1:-$WAIT_TIMEOUT}; shift
556 local cmd=$1
557 local jq_exp=$2
558 local jq_opts=$3
559 local ret
560 local output
592 ip -4 rule add pref 32765 table local
594 ip -6 rule add pref 32765 table local
600 ip -6 rule add pref 0 table local
602 ip -4 rule add pref 0 table local
611 local vrf_name=$1
620 local vrf_name=$1
627 local vrf_name=$1
628 local tb_id
640 local vrf_name=$1
641 local tb_id
653 local if_name=$1
654 local add_del=$2
655 local array
668 local if_name=$1; shift
669 local vrf_name=$1; shift
670 local addrs=("${@}")
680 local if_name=$1; shift
681 local addrs=("${@}")
691 local if_name=$1
692 local vrf_name
693 local array
706 local if_name=$1
707 local vrf_name
708 local array
720 local name=$1; shift
721 local type=$1; shift
722 local local=$1; shift
723 local remote=$1; shift
726 local $local remote $remote "$@"
732 local name=$1; shift
739 local if_name=$1; shift
740 local vid=$1; shift
741 local vrf=$1; shift
742 local ips=("${@}")
743 local name=$if_name.$vid
755 local if_name=$1; shift
756 local vid=$1; shift
757 local name=$if_name.$vid
764 local if_name=$1; shift
765 local mode=$1; shift
779 local if_name=$1; shift
786 local if_name=$1
793 local if_name=$1; shift
794 local dir=$1; shift
795 local stat=$1; shift
813 local dev=$1; shift
814 local stat=$1; shift
821 local dev=$1; shift
822 local grp=$1; shift
823 local name=$1; shift
824 local src=$1; shift
832 local dev=$1; shift
833 local handle=$1; shift
834 local selector=$1; shift
842 local dev=$1; shift
843 local parent=$1; shift
844 local selector=$1; shift
852 local dev=$1; shift
853 local stat=$1; shift
860 local suite=$1; shift
861 local if_name=$1; shift
862 local dir=$1; shift
863 local stat=$1; shift
871 local key=$1; shift
872 local group_id=$1; shift
873 local member_id=$1; shift
882 local group_id=$1; shift
883 local member_id=$1; shift
890 local group_id=$1; shift
891 local member_id=$1; shift
898 local speed=$1; shift
913 local t0=$1; shift
914 local t1=$1; shift
915 local interval=$1; shift
922 local t0=$1; shift
923 local t1=$1; shift
924 local interval=$1; shift
931 local addr="$1"
932 local order="$((1 << 40))"
933 local val=0
934 local byte
949 local val=$1
950 local byte
951 local i
964 local if_name=$1
967 jq -r '.[]["addr_info"][] | select(.scope == "link").local' | \
973 local bridge=$1
974 local ageing_time
985 local key=$1; shift
992 local key=$1; shift
993 local value=$1; shift
1001 local key=$1; shift
1021 local dev=$1; shift
1022 local mtu=$1; shift
1030 local dev=$1; shift
1037 local num_netifs=${1:-$NUM_NETIFS}
1052 local dev=$1; shift
1053 local direction=$1; shift
1068 local dev=$1; shift
1069 local direction=$1; shift
1076 local add_del=$1; shift
1077 local pref=$1; shift
1078 local vsuf=$1; shift
1079 local tundev=$1; shift
1080 local filter=$1; shift
1090 local tundev=$1; shift
1091 local filter=$1; shift
1098 local tundev=$1; shift
1099 local filter=$1; shift
1106 local tundev=$1; shift
1107 local filter=$1; shift
1114 local tundev=$1; shift
1115 local filter=$1; shift
1122 local add_del=$1; shift
1123 local pref=$1; shift
1124 local dev=$1; shift
1125 local filter=$1; shift
1135 local dev=$1; shift
1136 local filter=$1; shift
1143 local dev=$1; shift
1144 local filter=$1; shift
1151 local add_del=$1; shift
1152 local dev=$1; shift
1153 local base=$1; shift
1154 local dscp;
1165 local dev=$1; shift
1166 local base=$1; shift
1173 local dev=$1; shift
1174 local base=$1; shift
1181 local dev=$1; shift
1182 local base=$1; shift
1185 local dscp=$((base + prio))
1186 local t=$(tc_rule_stats_get $dev $((dscp + 100)))
1193 local dev=$1; shift
1210 local desc="$1"
1211 local weight_rp12=$2
1212 local weight_rp13=$3
1213 local packets_rp12=$4
1214 local packets_rp13=$5
1215 local weights_ratio packets_ratio diff
1253 local name=$1; shift
1267 local if_name=$1
1268 local dip=$2
1269 local args=$3
1270 local vrf_name
1298 local if_name=$1
1299 local dip=$2
1300 local args=$3
1301 local vrf_name
1329 local bridge=$1
1330 local br_port1=$2 # Connected to `host1_if`.
1331 local host1_if=$3
1332 local host2_if=$4
1333 local mac=de:ad:be:ef:13:37
1334 local ageing_time
1406 local should_flood=$1
1407 local mac=$2
1408 local ip=$3
1409 local host1_if=$4
1410 local host2_if=$5
1411 local err=0
1440 local br_port=$1
1441 local host1_if=$2
1442 local host2_if=$3
1443 local mac=de:ad:be:ef:13:37
1444 local ip=192.0.2.100
1463 local br_port=$1
1464 local host1_if=$2
1465 local host2_if=$3
1466 local mac=01:00:5e:00:00:01
1467 local ip=239.0.0.1
1487 local br_port=$1
1488 local host1_if=$2
1489 local host2_if=$3
1497 local pktsize=$1; shift
1498 local proto=$1; shift
1499 local h_in=$1; shift # Where the traffic egresses the host
1500 local sip=$1; shift
1501 local dip=$1; shift
1502 local dmac=$1; shift
1503 local -a mz_args=("$@")
1512 local pktsize=$1; shift
1513 local h_in=$1; shift
1514 local sip=$1; shift
1515 local dip=$1; shift
1516 local dmac=$1; shift
1517 local -a mz_args=("$@")
1525 local pktsize=$1; shift
1526 local h_in=$1; shift
1527 local sip=$1; shift
1528 local dip=$1; shift
1529 local dmac=$1; shift
1530 local -a mz_args=("$@")
1538 local h_in=$1; shift
1539 local sip=$1; shift
1540 local dip=$1; shift
1541 local dmac=$1; shift
1542 local -a mz_args=("$@")
1550 local h_in=$1; shift
1551 local sip=$1; shift
1552 local dip=$1; shift
1553 local dmac=$1; shift
1554 local -a mz_args=("$@")
1562 local pid=${1-%%}; shift
1573 local if_name=$1; shift
1574 local ns=$1; shift
1601 local if_name=$1
1602 local pid=${cappid[$if_name]}
1610 local if_name=$1
1617 local if_name=$1
1625 local mac=$1
1626 local src_ip=$2
1627 local ip=$3
1628 local host1_if=$4
1629 local host2_if=$5
1630 local seen=0
1631 local tc_proto="ip"
1632 local mz_v6arg=""
1664 local report=$1; shift
1665 local slist=("$@")
1666 local sarg=""
1686 local should_fwd=$1; shift
1687 local sources=("$@")
1690 local retval=0
1704 local is_blocked=$1; shift
1705 local sources=("$@")
1706 local should_fail=1
1731 local if_name=$1
1732 local group=$2
1733 local vrf_name=$(master_name_get $if_name)
1752 local if_name=$1
1753 local groups=$2
1754 local vrf_name=$(master_name_get $if_name)
1762 local mtype=$1; shift
1763 local ip=${1-ip}; shift
1774 local mpid=$1; shift
1775 local tmpfile=$1; shift
1776 local el=$1; shift
1777 local what=$1; shift
1781 local lines=`grep '^\w' $tmpfile | wc -l`
1789 local dev=$1; shift
1790 local type=$1; shift
1791 local make_suitable=$1; shift
1792 local make_unsuitable=$1; shift
1793 local ip=${1-ip}; shift
1798 local ipmout=$(start_ip_monitor stats "$ip")
1803 local ipmout=$(start_ip_monitor stats "$ip")
1808 local ipmout=$(start_ip_monitor stats "$ip")
1813 local ipmout=$(start_ip_monitor stats "$ip")
1822 local IP=$1; shift
1834 local IP=$1; shift
1835 local bytesep=$1; shift
1837 local cvt_ip=${IP/::/_}
1838 local colons=${cvt_ip//[^:]/}
1839 local allcol=:::::::
1841 local allcol_ip=${cvt_ip/_/${allcol:${#colons}}}
1852 local IP=$1; shift
1859 local u16=$1; shift
1870 local payload=$1; shift
1897 local payload=$1; shift
1898 local checksum=$1; shift
1900 local ckbytes=$(u16_to_bytes $checksum)
1907 local payload=$1; shift
1915 local GRP=$1; shift
1916 local sources=("$@")
1918 local igmpv3
1919 local nsources=$(u16_to_bytes ${#sources[@]})
1937 local checksum=$(payload_template_calc_checksum "$igmpv3")
1944 local GRP=$1; shift
1946 local payload=$(:
1952 local checksum=$(payload_template_calc_checksum "$payload")
1959 local SIP=$1; shift
1960 local GRP=$1; shift
1961 local sources=("$@")
1963 local hbh
1964 local icmpv6
1965 local nsources=$(u16_to_bytes ${#sources[@]})
1989 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
1990 local sudohdr=$(:
1996 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
2003 local SIP=$1; shift
2004 local GRP=$1; shift
2006 local hbh
2007 local icmpv6
2024 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
2025 local sudohdr=$(:
2031 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
2038 local reason1="$1"; shift
2039 local reason2="$1"; shift
2040 local caller=${FUNCNAME[1]}
2041 local src=${BASH_SOURCE[1]}
2072 local v=$1; shift
2079 local dev=$1; shift
2080 local mac_addr=$(mac_get $dev)
2081 local tmp=$(ether_addr_to_u64 $mac_addr)
2082 local promisc