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`
296 local cmd=$1; shift
307 local version="$(msend -v)"
308 local major
372 local i
375 local j=$((i+1))
409 local new_addr=
410 local dev=
425 local dev=
460 local arr=("$@")
474 local addr=$1; shift
475 local word
476 local flag
505 local dev=$1; shift
506 local wait_time=${1:-$WAIT_TIME}; shift
519 local dev=$1; shift
520 local max_iterations=${1:-$WAIT_TIMEOUT}; shift
521 local wait_time=${1:-$WAIT_TIME}; shift
522 local i
540 local num_netifs=${1:-$NUM_NETIFS}
541 local i
553 local dev=$1; shift
554 local timeout=${1:-$WAIT_TIMEOUT}; shift
566 local cmd=$1
567 local jq_exp=$2
568 local jq_opts=$3
569 local ret
570 local output
602 ip -4 rule add pref 32765 table local
604 ip -6 rule add pref 32765 table local
610 ip -6 rule add pref 0 table local
612 ip -4 rule add pref 0 table local
621 local vrf_name=$1
630 local vrf_name=$1
637 local vrf_name=$1
638 local tb_id
650 local vrf_name=$1
651 local tb_id
663 local if_name=$1
664 local add_del=$2
665 local array
678 local if_name=$1; shift
679 local vrf_name=$1; shift
680 local addrs=("${@}")
690 local if_name=$1; shift
691 local addrs=("${@}")
701 local if_name=$1
702 local vrf_name
703 local array
716 local if_name=$1
717 local vrf_name
718 local array
730 local name=$1; shift
731 local type=$1; shift
732 local local=$1; shift
733 local remote=$1; shift
736 local $local remote $remote "$@"
742 local name=$1; shift
749 local if_name=$1; shift
750 local vid=$1; shift
751 local vrf=$1; shift
752 local ips=("${@}")
753 local name=$if_name.$vid
765 local if_name=$1; shift
766 local vid=$1; shift
767 local name=$if_name.$vid
774 local if_name=$1; shift
775 local mode=$1; shift
789 local if_name=$1; shift
796 local if_name=$1
803 local if_name=$1; shift
804 local dir=$1; shift
805 local stat=$1; shift
823 local dev=$1; shift
824 local stat=$1; shift
831 local dev=$1; shift
832 local grp=$1; shift
833 local name=$1; shift
834 local src=$1; shift
842 local dev=$1; shift
843 local handle=$1; shift
844 local selector=$1; shift
852 local dev=$1; shift
853 local parent=$1; shift
854 local selector=$1; shift
862 local dev=$1; shift
863 local stat=$1; shift
870 local suite=$1; shift
871 local if_name=$1; shift
872 local dir=$1; shift
873 local stat=$1; shift
881 local key=$1; shift
882 local group_id=$1; shift
883 local member_id=$1; shift
892 local group_id=$1; shift
893 local member_id=$1; shift
900 local group_id=$1; shift
901 local member_id=$1; shift
908 local speed=$1; shift
923 local t0=$1; shift
924 local t1=$1; shift
925 local interval=$1; shift
932 local t0=$1; shift
933 local t1=$1; shift
934 local interval=$1; shift
941 local addr="$1"
942 local order="$((1 << 40))"
943 local val=0
944 local byte
959 local val=$1
960 local byte
961 local i
974 local if_name=$1
977 jq -r '.[]["addr_info"][] | select(.scope == "link").local' | \
983 local bridge=$1
984 local ageing_time
995 local key=$1; shift
1002 local key=$1; shift
1003 local value=$1; shift
1011 local key=$1; shift
1031 local dev=$1; shift
1032 local mtu=$1; shift
1040 local dev=$1; shift
1047 local num_netifs=${1:-$NUM_NETIFS}
1062 local dev=$1; shift
1063 local direction=$1; shift
1078 local dev=$1; shift
1079 local direction=$1; shift
1086 local add_del=$1; shift
1087 local pref=$1; shift
1088 local vsuf=$1; shift
1089 local tundev=$1; shift
1090 local filter=$1; shift
1100 local tundev=$1; shift
1101 local filter=$1; shift
1108 local tundev=$1; shift
1109 local filter=$1; shift
1116 local tundev=$1; shift
1117 local filter=$1; shift
1124 local tundev=$1; shift
1125 local filter=$1; shift
1132 local add_del=$1; shift
1133 local pref=$1; shift
1134 local dev=$1; shift
1135 local filter=$1; shift
1145 local dev=$1; shift
1146 local filter=$1; shift
1153 local dev=$1; shift
1154 local filter=$1; shift
1161 local add_del=$1; shift
1162 local dev=$1; shift
1163 local base=$1; shift
1164 local dscp;
1175 local dev=$1; shift
1176 local base=$1; shift
1183 local dev=$1; shift
1184 local base=$1; shift
1191 local dev=$1; shift
1192 local base=$1; shift
1195 local dscp=$((base + prio))
1196 local t=$(tc_rule_stats_get $dev $((dscp + 100)))
1203 local dev=$1; shift
1220 local desc="$1"
1221 local weight_rp12=$2
1222 local weight_rp13=$3
1223 local packets_rp12=$4
1224 local packets_rp13=$5
1225 local weights_ratio packets_ratio diff
1263 local name=$1; shift
1277 local if_name=$1
1278 local dip=$2
1279 local args=$3
1280 local vrf_name
1308 local if_name=$1
1309 local dip=$2
1310 local args=$3
1311 local vrf_name
1339 local bridge=$1
1340 local br_port1=$2 # Connected to `host1_if`.
1341 local host1_if=$3
1342 local host2_if=$4
1343 local mac=de:ad:be:ef:13:37
1344 local ageing_time
1416 local should_flood=$1
1417 local mac=$2
1418 local ip=$3
1419 local host1_if=$4
1420 local host2_if=$5
1421 local err=0
1450 local br_port=$1
1451 local host1_if=$2
1452 local host2_if=$3
1453 local mac=de:ad:be:ef:13:37
1454 local ip=192.0.2.100
1473 local br_port=$1
1474 local host1_if=$2
1475 local host2_if=$3
1476 local mac=01:00:5e:00:00:01
1477 local ip=239.0.0.1
1497 local br_port=$1
1498 local host1_if=$2
1499 local host2_if=$3
1507 local pktsize=$1; shift
1508 local proto=$1; shift
1509 local h_in=$1; shift # Where the traffic egresses the host
1510 local sip=$1; shift
1511 local dip=$1; shift
1512 local dmac=$1; shift
1513 local -a mz_args=("$@")
1522 local pktsize=$1; shift
1523 local h_in=$1; shift
1524 local sip=$1; shift
1525 local dip=$1; shift
1526 local dmac=$1; shift
1527 local -a mz_args=("$@")
1535 local pktsize=$1; shift
1536 local h_in=$1; shift
1537 local sip=$1; shift
1538 local dip=$1; shift
1539 local dmac=$1; shift
1540 local -a mz_args=("$@")
1548 local h_in=$1; shift
1549 local sip=$1; shift
1550 local dip=$1; shift
1551 local dmac=$1; shift
1552 local -a mz_args=("$@")
1560 local h_in=$1; shift
1561 local sip=$1; shift
1562 local dip=$1; shift
1563 local dmac=$1; shift
1564 local -a mz_args=("$@")
1572 local pid=${1-%%}; shift
1583 local if_name=$1; shift
1584 local ns=$1; shift
1611 local if_name=$1
1612 local pid=${cappid[$if_name]}
1620 local if_name=$1
1627 local if_name=$1
1635 local mac=$1
1636 local src_ip=$2
1637 local ip=$3
1638 local host1_if=$4
1639 local host2_if=$5
1640 local seen=0
1641 local tc_proto="ip"
1642 local mz_v6arg=""
1674 local report=$1; shift
1675 local slist=("$@")
1676 local sarg=""
1696 local should_fwd=$1; shift
1697 local sources=("$@")
1700 local retval=0
1714 local is_blocked=$1; shift
1715 local sources=("$@")
1716 local should_fail=1
1741 local if_name=$1
1742 local group=$2
1743 local vrf_name=$(master_name_get $if_name)
1762 local if_name=$1
1763 local groups=$2
1764 local vrf_name=$(master_name_get $if_name)
1772 local mtype=$1; shift
1773 local ip=${1-ip}; shift
1784 local mpid=$1; shift
1785 local tmpfile=$1; shift
1786 local el=$1; shift
1787 local what=$1; shift
1791 local lines=`grep '^\w' $tmpfile | wc -l`
1799 local dev=$1; shift
1800 local type=$1; shift
1801 local make_suitable=$1; shift
1802 local make_unsuitable=$1; shift
1803 local ip=${1-ip}; shift
1808 local ipmout=$(start_ip_monitor stats "$ip")
1813 local ipmout=$(start_ip_monitor stats "$ip")
1818 local ipmout=$(start_ip_monitor stats "$ip")
1823 local ipmout=$(start_ip_monitor stats "$ip")
1832 local IP=$1; shift
1844 local IP=$1; shift
1845 local bytesep=$1; shift
1847 local cvt_ip=${IP/::/_}
1848 local colons=${cvt_ip//[^:]/}
1849 local allcol=:::::::
1851 local allcol_ip=${cvt_ip/_/${allcol:${#colons}}}
1862 local IP=$1; shift
1869 local u16=$1; shift
1880 local payload=$1; shift
1907 local payload=$1; shift
1908 local checksum=$1; shift
1910 local ckbytes=$(u16_to_bytes $checksum)
1917 local payload=$1; shift
1925 local GRP=$1; shift
1926 local sources=("$@")
1928 local igmpv3
1929 local nsources=$(u16_to_bytes ${#sources[@]})
1947 local checksum=$(payload_template_calc_checksum "$igmpv3")
1954 local GRP=$1; shift
1956 local payload=$(:
1962 local checksum=$(payload_template_calc_checksum "$payload")
1969 local SIP=$1; shift
1970 local GRP=$1; shift
1971 local sources=("$@")
1973 local hbh
1974 local icmpv6
1975 local nsources=$(u16_to_bytes ${#sources[@]})
1999 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
2000 local sudohdr=$(:
2006 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
2013 local SIP=$1; shift
2014 local GRP=$1; shift
2016 local hbh
2017 local icmpv6
2034 local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6))
2035 local sudohdr=$(:
2041 local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6})
2048 local reason1="$1"; shift
2049 local reason2="$1"; shift
2050 local caller=${FUNCNAME[1]}
2051 local src=${BASH_SOURCE[1]}
2082 local v=$1; shift
2089 local dev=$1; shift
2090 local mac_addr=$(mac_get $dev)
2091 local tmp=$(ether_addr_to_u64 $mac_addr)
2092 local promisc