Lines Matching refs:ip

192 	local kind=$(ip -j -d link show dev ${NETIFS[p1]} |
268 ip link show dev ${NETIFS[p$i]} &> /dev/null
270 ip link add ${NETIFS[p$i]} type veth \
302 MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].address')
1295 ip link set $host1_if promisc on
1297 tc filter add dev $host1_if ingress protocol ip pref 1 handle 101 \
1300 $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q
1308 $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q
1315 $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q
1334 $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q
1343 tc filter del dev $host1_if ingress protocol ip pref 1 handle 101 flower
1345 ip link set $host1_if promisc off
1356 local ip=$3
1363 ip link set $host2_if promisc on
1365 tc filter add dev $host2_if ingress protocol ip pref 1 handle 101 \
1368 $MZ $host1_if -c 1 -p 64 -b $mac -B $ip -t ip -q
1379 tc filter del dev $host2_if ingress protocol ip pref 1 handle 101 flower
1381 ip link set $host2_if promisc off
1392 local ip=192.0.2.100
1398 flood_test_do false $mac $ip $host1_if $host2_if
1403 flood_test_do true $mac $ip $host1_if $host2_if
1415 local ip=239.0.0.1
1421 flood_test_do false $mac $ip $host1_if $host2_if
1426 flood_test_do true $mac $ip $host1_if $host2_if
1547 local ip=$3
1555 if [[ ! $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
1566 $MZ $host1_if $mz_v6arg -c 1 -p 64 -b $mac -A $src_ip -B $ip -t udp "dp=4096,sp=2048" -q
1658 ip vrf exec $vrf_name \
1676 ip vrf exec $vrf_name \
1683 local ip=${1-ip}; shift
1687 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
1713 local ip=${1-ip}; shift
1718 local ipmout=$(start_ip_monitor stats "$ip")
1719 $ip stats set dev $dev ${type}_stats on
1723 local ipmout=$(start_ip_monitor stats "$ip")
1728 local ipmout=$(start_ip_monitor stats "$ip")
1733 local ipmout=$(start_ip_monitor stats "$ip")
1734 $ip stats set dev $dev ${type}_stats off