Lines Matching refs:grp
139 local grp=$1; shift
147 bridge mdb add dev br0 port br0 grp $grp $state vid 10
148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null
151 bridge mdb replace dev br0 port br0 grp $grp $state vid 10 &> /dev/null
154 bridge mdb del dev br0 port br0 grp $grp $state vid 10
155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null
159 bridge mdb add dev br0 port br0 grp $grp $invalid_state vid 10 \
163 bridge mdb add dev br0 port br0 grp $grp src $src $state vid 10 \
167 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
171 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
175 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
289 local grp=$1; shift
300 bridge mdb add dev br0 port $swp1 grp $grp vid 10
301 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude"
303 bridge mdb del dev br0 port $swp1 grp $grp vid 10
306 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \
308 bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null
310 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
312 bridge mdb del dev br0 port $swp1 grp $grp vid 10
313 bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null
315 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
321 bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \
324 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "permanent"
326 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \
330 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00"
332 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00"
335 bridge mdb del dev br0 port $swp1 grp $grp vid 10
339 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
342 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp"
344 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
347 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00"
349 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00"
352 bridge mdb del dev br0 port $swp1 grp $grp vid 10
356 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
359 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp"
361 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
364 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00"
366 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00"
369 bridge mdb del dev br0 port $swp1 grp $grp vid 10
372 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
375 bridge -d -s mdb get dev br0 grp $grp src $src1 vid 10 | grep -q " 0.00"
378 bridge mdb del dev br0 port $swp1 grp $grp vid 10
384 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
387 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "include"
389 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked"
392 bridge mdb del dev br0 port $swp1 grp $grp vid 10
396 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
399 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude"
401 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked"
404 bridge mdb del dev br0 port $swp1 grp $grp vid 10
410 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
413 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "zebra"
415 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "zebra"
418 bridge mdb del dev br0 port $swp1 grp $grp vid 10
423 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
426 bridge mdb replace dev br0 port $swp1 grp $grp permanent vid 10 \
428 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "permanent"
430 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "permanent"
433 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
435 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp"
437 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
440 bridge mdb del dev br0 port $swp1 grp $grp vid 10
443 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
446 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
448 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "include"
450 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked"
453 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
455 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude"
457 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked"
460 bridge mdb del dev br0 port $swp1 grp $grp vid 10
463 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
466 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
468 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
470 bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null
472 bridge -d mdb get dev br0 grp $grp src $src3 vid 10 &> /dev/null
475 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
477 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
479 bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null
481 bridge -d mdb get dev br0 grp $grp src $src3 vid 10 &> /dev/null
484 bridge mdb del dev br0 port $swp1 grp $grp vid 10
487 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
490 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
492 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "bgp"
494 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "bgp"
497 bridge mdb del dev br0 port $swp1 grp $grp vid 10
504 bridge mdb add dev br0 port $swp2 grp $grp vid 10 \
506 bridge mdb add dev br0 port $swp1 grp $grp vid 10
507 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep "$swp1" | \
510 bridge mdb del dev br0 port $swp1 grp $grp vid 10
511 bridge mdb del dev br0 port $swp2 grp $grp src $src1 vid 10
515 bridge mdb add dev br0 port $swp1 grp $invalid_grp vid 10 &> /dev/null
518 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
522 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
523 source_list $grp &> /dev/null
526 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
530 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
532 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \
535 bridge mdb del dev br0 port $swp1 grp $grp vid 10
537 bridge mdb add dev br0 port $swp1 grp $grp src $src2 vid 10
538 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
541 bridge mdb del dev br0 port $swp1 grp $grp src $src2 vid 10
544 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \
546 num_srcs=$(bridge -d mdb show dev br0 vid 10 | grep "$grp" | \
550 bridge mdb del dev br0 port $swp1 grp $grp vid 10
552 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \
574 local grp=$1; shift
576 local grp_key="grp $grp src $src"
610 bridge mdb add dev br0 port $swp1 grp $grp src $grp vid 10 &> /dev/null
639 bridge mdb add dev br0 port $swp2 grp $grp vid 10
645 bridge mdb del dev br0 port $swp2 grp $grp vid 10
669 local grp="01:02:03:04:05:06"
673 bridge meb add dev br0 port $swp grp 00:01:02:03:04:05 \
677 bridge mdb add dev br0 port $swp grp $grp src 00:01:02:03:04:05 \
681 bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \
685 bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \
747 local grp
766 for grp in $($fn $max_grps); do
768 port br-test${i}-du${j} grp $grp \
815 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10
816 bridge mdb add dev br0 port $swp2 grp 239.1.1.2 vid 10
819 bridge mdb add dev br0 port $swp1 grp 239.1.1.3 vid 10
820 bridge mdb add dev br0 port $swp1 grp 239.1.1.4 vid 20
823 bridge mdb add dev br0 port $swp1 grp 239.1.1.5 vid 10 proto bgp
824 bridge mdb add dev br0 port $swp1 grp 239.1.1.6 vid 10 proto zebra
827 bridge mdb add dev br0 port $swp1 grp 239.1.1.7 vid 10 permanent
828 bridge mdb add dev br0 port $swp1 grp 239.1.1.8 vid 10 temp
838 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10
839 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10
840 bridge mdb add dev br0 port br0 grp 239.1.1.1 vid 10
844 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp1"
846 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp2"
848 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port br0"
853 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port br0"
861 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10
862 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10
863 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 20
864 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 20
868 bridge mdb get dev br0 grp 239.1.1.1 vid 10 &> /dev/null
870 bridge mdb get dev br0 grp 239.1.1.1 vid 20 &> /dev/null
878 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10
879 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 temp vid 10
883 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp1"
885 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp2"
893 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10
894 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 temp vid 10
898 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp1"
900 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp2"
908 bridge mdb add dev br0 port br0 grp 01:02:03:04:05:06 permanent vid 10
912 bridge mdb get dev br0 grp 01:02:03:04:05:06 vid 10 &> /dev/null
917 bridge mdb get dev br0 grp 01:02:03:04:05:06 vid 10 &> /dev/null
925 bridge mdb add dev br0 port br0 grp 239.1.1.1 temp vid 10
929 bridge mdb get dev br0 grp 239.1.1.1 vid 10 &> /dev/null
934 bridge mdb get dev br0 grp 239.1.1.1 vid 10 &> /dev/null
942 bridge mdb add dev br0 port br0 grp ff0e::1 temp vid 10
946 bridge mdb get dev br0 grp ff0e::1 vid 10 &> /dev/null
951 bridge mdb get dev br0 grp ff0e::1 vid 10 &> /dev/null
959 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 proto bgp
960 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10 proto zebra
961 bridge mdb add dev br0 port br0 grp 239.1.1.1 vid 10
965 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp1"
967 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp2"
969 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port br0"
1002 local grp=$1; shift
1020 vlan_ethtype $eth_type vlan_id 10 dst_ip $grp src_ip $src \
1026 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1032 bridge mdb add dev br0 port $swp2 grp $grp temp vid 10
1033 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1038 bridge mdb add dev br0 port br0 grp $grp temp vid 10
1039 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1045 bridge mdb del dev br0 port br0 grp $grp vid 10
1046 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1050 bridge mdb del dev br0 port $swp2 grp $grp vid 10
1080 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
1086 bridge mdb add dev br0 port br0 grp $dmac permanent vid 10
1093 bridge mdb del dev br0 port br0 grp $dmac permanent vid 10
1098 bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10
1119 local grp=$1; shift
1148 vlan_ethtype $eth_type vlan_id 10 dst_ip $grp \
1151 vlan_ethtype $eth_type vlan_id 10 dst_ip $grp \
1154 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q
1158 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q
1162 bridge mdb add dev br0 port $swp2 grp $grp vid 10 \
1165 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q
1169 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q
1173 bridge mdb replace dev br0 port $swp2 grp $grp vid 10 \
1176 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q
1180 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q
1184 bridge mdb del dev br0 port $swp2 grp $grp vid 10
1186 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q
1190 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q
1223 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
1228 bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10
1282 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 \
1289 bridge mdb get dev br0 grp 239.1.1.1 src 192.0.2.2 vid 10 &> /dev/null
1295 bridge mdb replace dev br0 port $swp1 grp 239.1.1.1 temp vid 10 \
1302 bridge -d mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q 192.0.2.2
1305 bridge mdb get dev br0 grp 239.1.1.1 src 192.0.2.2 vid 10 &> /dev/null
1308 bridge mdb del dev br0 port $swp1 grp 239.1.1.1 vid 10
1319 bridge mdb add dev br0 port $swp1 grp ff0e::1 permanent vid 10 \
1327 bridge mdb get dev br0 grp ff0e::1 src 2001:db8:1::2 vid 10 &> /dev/null
1333 bridge mdb replace dev br0 port $swp1 grp ff0e::1 temp vid 10 \
1340 bridge -d mdb get dev br0 grp ff0e::1 vid 10 | grep -q 2001:db8:1::2
1343 bridge mdb get dev br0 grp ff0e::1 src 2001:db8:1::2 vid 10 &> /dev/null
1346 bridge mdb del dev br0 port $swp1 grp ff0e::1 vid 10