Lines Matching full:local
93 local dev=$1; shift
94 local driver_path="/sys/class/net/$dev/device/driver"
103 local ifnames=`ip -j link show | jq -r ".[].ifname"`
104 local count=0
108 local driver_name=`driver_name_get $ifname`
147 local dev=$1; shift
162 local dev=$1; shift
177 local dev=$1; shift
178 local ret;
265 local dev=$1; shift
266 local grp=$1; shift
295 local dev=$1; shift
296 local expected=$1; shift
297 local driver_name=`driver_name_get $dev`
312 local version="$(msend -v)"
313 local major
377 local i
380 local j=$((i+1))
414 local new_addr=
415 local dev=
430 local dev=
465 local arr=("$@")
479 local addr=$1; shift
480 local word
481 local flag
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; shift
546 local i
563 local dev=$1; shift
564 local timeout=${1:-$WAIT_TIMEOUT}; shift
588 ip -4 rule add pref 32765 table local
590 ip -6 rule add pref 32765 table local
596 ip -6 rule add pref 0 table local
598 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
728 local name=$1; shift
729 local type=$1; shift
730 local local=$1; shift
731 local remote=$1; shift
734 local $local remote $remote "$@"
740 local name=$1; shift
747 local if_name=$1; shift
748 local vid=$1; shift
749 local vrf=$1; shift
750 local ips=("${@}")
751 local name=$if_name.$vid
763 local if_name=$1; shift
764 local vid=$1; shift
765 local name=$if_name.$vid
772 local if_name=$1; shift
773 local mode=$1; shift
787 local if_name=$1; shift
794 local if_name=$1
801 local if_name=$1; shift
802 local dir=$1; shift
803 local stat=$1; shift
821 local dev=$1; shift
822 local stat=$1; shift
829 local dev=$1; shift
830 local grp=$1; shift
831 local name=$1; shift
832 local src=$1; shift
840 local dev=$1; shift
841 local handle=$1; shift
842 local selector=$1; shift
850 local dev=$1; shift
851 local parent=$1; shift
852 local selector=$1; shift
860 local dev=$1; shift
861 local stat=$1; shift
868 local suite=$1; shift
869 local if_name=$1; shift
870 local dir=$1; shift
871 local stat=$1; shift
879 local key=$1; shift
880 local group_id=$1; shift
881 local member_id=$1; shift
890 local group_id=$1; shift
891 local member_id=$1; shift
898 local group_id=$1; shift
899 local member_id=$1; shift
906 local speed=$1; shift
921 local t0=$1; shift
922 local t1=$1; shift
923 local interval=$1; shift
930 local t0=$1; shift
931 local t1=$1; shift
932 local interval=$1; shift
939 local addr="$1"
940 local order="$((1 << 40))"
941 local val=0
942 local byte
957 local val=$1
958 local byte
959 local i
972 local if_name=$1
975 jq -r '.[]["addr_info"][] | select(.scope == "link").local' | \
981 local bridge=$1
982 local ageing_time
993 local key=$1; shift
1000 local key=$1; shift
1001 local value=$1; shift
1009 local key=$1; shift
1035 local dev=$1; shift
1036 local mtu=$1; shift
1044 local dev=$1; shift
1051 local num_netifs=${1:-$NUM_NETIFS}
1066 local dev=$1; shift
1067 local direction=$1; shift
1082 local dev=$1; shift
1083 local direction=$1; shift
1090 local add_del=$1; shift
1091 local pref=$1; shift
1092 local vsuf=$1; shift
1093 local tundev=$1; shift
1094 local filter=$1; shift
1104 local tundev=$1; shift
1105 local filter=$1; shift
1112 local tundev=$1; shift
1113 local filter=$1; shift
1120 local tundev=$1; shift
1121 local filter=$1; shift
1128 local tundev=$1; shift
1129 local filter=$1; shift
1136 local add_del=$1; shift
1137 local pref=$1; shift
1138 local dev=$1; shift
1139 local filter=$1; shift
1149 local dev=$1; shift
1150 local filter=$1; shift
1157 local dev=$1; shift
1158 local filter=$1; shift
1165 local add_del=$1; shift
1166 local dev=$1; shift
1167 local base=$1; shift
1168 local dscp;
1179 local dev=$1; shift
1180 local base=$1; shift
1187 local dev=$1; shift
1188 local base=$1; shift
1195 local dev=$1; shift
1196 local base=$1; shift
1199 local dscp=$((base + prio))
1200 local t=$(tc_rule_stats_get $dev $((dscp + 100)))
1207 local dev=$1; shift
1224 local desc="$1"
1225 local weight_rp12=$2
1226 local weight_rp13=$3
1227 local packets_rp12=$4
1228 local packets_rp13=$5
1229 local weights_ratio packets_ratio diff
1267 local name=$1; shift
1281 local if_name=$1
1282 local dip=$2
1283 local args=$3
1284 local vrf_name
1312 local if_name=$1
1313 local dip=$2
1314 local args=$3
1315 local vrf_name
1343 local bridge=$1
1344 local br_port1=$2 # Connected to `host1_if`.
1345 local host1_if=$3
1346 local host2_if=$4
1347 local mac=de:ad:be:ef:13:37
1348 local ageing_time
1420 local should_flood=$1
1421 local mac=$2
1422 local ip=$3
1423 local host1_if=$4
1424 local host2_if=$5
1425 local err=0
1454 local br_port=$1
1455 local host1_if=$2
1456 local host2_if=$3
1457 local mac=de:ad:be:ef:13:37
1458 local ip=192.0.2.100
1477 local br_port=$1
1478 local host1_if=$2
1479 local host2_if=$3
1480 local mac=01:00:5e:00:00:01
1481 local ip=239.0.0.1
1501 local br_port=$1
1502 local host1_if=$2
1503 local host2_if=$3
1511 local pktsize=$1; shift
1512 local proto=$1; shift
1513 local h_in=$1; shift # Where the traffic egresses the host
1514 local sip=$1; shift
1515 local dip=$1; shift
1516 local dmac=$1; shift
1517 local -a mz_args=("$@")
1526 local pktsize=$1; shift
1527 local h_in=$1; shift
1528 local sip=$1; shift
1529 local dip=$1; shift
1530 local dmac=$1; shift
1531 local -a mz_args=("$@")
1539 local pktsize=$1; shift
1540 local h_in=$1; shift
1541 local sip=$1; shift
1542 local dip=$1; shift
1543 local dmac=$1; shift
1544 local -a mz_args=("$@")
1552 local h_in=$1; shift
1553 local sip=$1; shift
1554 local dip=$1; shift
1555 local dmac=$1; shift
1556 local -a mz_args=("$@")
1564 local h_in=$1; shift
1565 local sip=$1; shift
1566 local dip=$1; shift
1567 local dmac=$1; shift
1568 local -a mz_args=("$@")
1576 local pid=${1-%%}; shift
1587 local if_name=$1; shift
1588 local ns=$1; shift
1615 local if_name=$1
1616 local pid=${cappid[$if_name]}
1624 local if_name=$1
1631 local if_name=$1
1639 local mac=$1
1640 local src_ip=$2
1641 local ip=$3
1642 local host1_if=$4
1643 local host2_if=$5
1644 local seen=0
1645 local tc_proto="ip"
1646 local mz_v6arg=""
1678 local report=$1; shift
1679 local slist=("$@")
1680 local sarg=""
1700 local should_fwd=$1; shift
1701 local sources=("$@")
1704 local retval=0
1718 local is_blocked=$1; shift
1719 local sources=("$@")
1720 local should_fail=1
1745 local if_name=$1
1746 local group=$2
1747 local vrf_name=$(master_name_get $if_name)
1766 local if_name=$1
1767 local groups=$2
1768 local vrf_name=$(master_name_get $if_name)
1776 local ifs=("$@")
1778 local table_name="$MCD_TABLE_NAME"
1779 local smcroutedir
1780 local pid
1781 local if
1782 local i
1814 local table_name="$MCD_TABLE_NAME"
1821 local mtype=$1; shift
1822 local ip=${1-ip}; shift
1833 local mpid=$1; shift
1834 local tmpfile=$1; shift
1835 local el=$1; shift
1836 local what=$1; shift
1840 local lines=`grep '^\w' $tmpfile | wc -l`
1848 local dev=$1; shift
1849 local type=$1; shift
1850 local make_suitable=$1; shift
1851 local make_unsuitable=$1; shift
1852 local ip=${1-ip}; shift
1857 local ipmout=$(start_ip_monitor stats "$ip")
1862 local ipmout=$(start_ip_monitor stats "$ip")
1867 local ipmout=$(start_ip_monitor stats "$ip")
1872 local ipmout=$(start_ip_monitor stats "$ip")
1881 local IP=$1; shift
1893 local IP=$1; shift
1894 local bytesep=$1; shift
1896 local cvt_ip=${IP/::/_}
1897 local colons=${cvt_ip//[^:]/}
1898 local allcol=:::::::
1900 local allcol_ip=${cvt_ip/_/${allcol:${#colons}}}
1911 local IP=$1; shift
1918 local u16=$1; shift
1929 local payload=$1; shift
1956 local payload=$1; shift
1957 local checksum=$1; shift
1959 local ckbytes=$(u16_to_bytes $checksum)
1966 local payload=$1; shift
1974 local GRP=$1; shift
1975 local sources=("$@")
1977 local igmpv3
1978 local nsources=$(u16_to_bytes ${#sources[@]})
1996 local checksum=$(payload_template_calc_checksum "$igmpv3")
2003 local GRP=$1; shift
2005 local payload=$(:
2011 local checksum=$(payload_template_calc_checksum "$payload")
2018 local SIP=$1; shift
2019 local GRP=$1; shift
2020 local sources=("$@")
2022 local hbh
2023 local icmpv6
2024 local nsources=$(u16_to_bytes ${#sources[@]})
2048 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
2049 local sudohdr=$(:
2055 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
2062 local SIP=$1; shift
2063 local GRP=$1; shift
2065 local hbh
2066 local icmpv6
2083 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
2084 local sudohdr=$(:
2090 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
2097 local reason1="$1"; shift
2098 local reason2="$1"; shift
2099 local caller=${FUNCNAME[1]}
2100 local src=${BASH_SOURCE[1]}
2131 local v=$1; shift
2138 local dev=$1; shift
2139 local mac_addr=$(mac_get $dev)
2140 local tmp=$(ether_addr_to_u64 $mac_addr)
2141 local promisc