Lines Matching refs:h2
33 simple_if_init $h2 192.0.2.2/24 198.51.100.2/24
34 tc qdisc add dev $h2 clsact
39 tc qdisc del dev $h2 clsact
40 simple_if_fini $h2 192.0.2.2/24 198.51.100.2/24
100 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
106 tc_check_packets "dev $h2 ingress" 101 1
109 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
115 tc_check_packets "dev $h2 ingress" 101 2
121 tc_check_packets "dev $h2 ingress" 102 1
124 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
129 tc_check_packets "dev $h2 ingress" 102 2
132 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
146 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
148 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
154 tc_check_packets "dev $h2 ingress" 101 1
157 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
162 tc_check_packets "dev $h2 ingress" 102 1
165 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
171 tc_check_packets "dev $h2 ingress" 102 2
174 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
179 tc_check_packets "dev $h2 ingress" 103 1
182 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
194 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
196 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
202 tc_check_packets "dev $h2 ingress" 101 1
205 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
210 tc_check_packets "dev $h2 ingress" 103 1
213 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
219 tc_check_packets "dev $h2 ingress" 102 1
222 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
223 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
260 "tc filter add dev $h2 ingress protocol ip pref $index \
272 tc_check_packets "dev $h2 ingress" $index 1
282 tc_check_packets "dev $h2 ingress" $index 2
285 tc filter del dev $h2 ingress protocol ip pref $index \
301 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
304 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
307 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
313 tc_check_packets "dev $h2 ingress" 101 1
318 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
319 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
324 tc_check_packets "dev $h2 ingress" 103 1
327 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
340 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
343 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
349 tc_check_packets "dev $h2 ingress" 101 1
352 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
357 tc_check_packets "dev $h2 ingress" 102 1
360 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
374 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
377 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
380 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
381 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
409 tp_record "objagg:*" "tc filter add dev $h2 ingress protocol ip \
415 tp_record "objagg:*" "tc filter add dev $h2 ingress protocol ip \
426 tc_check_packets "dev $h2 ingress" 101 1
429 tc_check_packets "dev $h2 ingress" 102 1
432 tp_record "objagg:*" "tc filter del dev $h2 ingress protocol ip \
442 tc_check_packets "dev $h2 ingress" 102 2
445 tp_record "objagg:*" "tc filter del dev $h2 ingress protocol ip \
467 tp_record "mlxsw:*" "tc filter add dev $h2 ingress protocol ip \
473 tp_record "mlxsw:*" "tc filter add dev $h2 ingress protocol ip \
482 tc_check_packets "dev $h2 ingress" 101 1
485 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
490 tc_check_packets "dev $h2 ingress" 102 1
493 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
520 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
522 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
524 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
530 tc_check_packets "dev $h2 ingress" 101 1
533 tc_check_packets "dev $h2 ingress" 103 1
536 tc_check_packets "dev $h2 ingress" 102 1
557 tc_check_packets "dev $h2 ingress" 101 1
560 tc_check_packets "dev $h2 ingress" 103 1
563 tc_check_packets "dev $h2 ingress" 102 2
566 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
567 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
568 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
595 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 101 flower \
597 tc filter add dev $h2 ingress protocol ipv6 pref 2 handle 102 flower \
599 tc filter add dev $h2 ingress protocol ipv6 pref 3 handle 103 flower \
605 tc_check_packets "dev $h2 ingress" 101 1
608 tc_check_packets "dev $h2 ingress" 103 1
611 tc_check_packets "dev $h2 ingress" 102 1
632 tc_check_packets "dev $h2 ingress" 101 1
635 tc_check_packets "dev $h2 ingress" 103 1
638 tc_check_packets "dev $h2 ingress" 102 2
641 tc filter del dev $h2 ingress protocol ipv6 pref 3 handle 103 flower
642 tc filter del dev $h2 ingress protocol ipv6 pref 2 handle 102 flower
643 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 101 flower
751 test_rule_add_or_remove_random_batch $h2 $tcflags 5000
756 test_rule_add_or_remove_random_batch $h2 $tcflags 5000
764 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 101 flower \
766 tc filter add dev $h2 ingress protocol ipv6 pref 2 handle 102 flower \
768 tc filter add dev $h2 ingress protocol ipv6 pref 3 handle 103 flower \
774 tc_check_packets "dev $h2 ingress" 101 1
777 tc_check_packets "dev $h2 ingress" 103 1
780 tc_check_packets "dev $h2 ingress" 102 1
792 tc_check_packets "dev $h2 ingress" 101 1
795 tc_check_packets "dev $h2 ingress" 103 1
798 tc_check_packets "dev $h2 ingress" 102 2
801 tc filter del dev $h2 ingress protocol ipv6 pref 3 handle 103 flower
802 tc filter del dev $h2 ingress protocol ipv6 pref 2 handle 102 flower
803 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 101 flower
807 test_rule_del $h2 $tcflags $i
825 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
827 tc filter add dev $h2 ingress protocol ip pref 5 handle 104 flower \
829 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
835 tc_check_packets "dev $h2 ingress" 101 1
841 tc_check_packets "dev $h2 ingress" 104 1
844 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
849 tc_check_packets "dev $h2 ingress" 103 1
852 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
858 tc_check_packets "dev $h2 ingress" 102 1
861 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
862 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
863 tc filter del dev $h2 ingress protocol ip pref 5 handle 104 flower
881 tc chain add dev $h2 ingress chain 1 protocol ip flower \
884 tc chain add dev $h2 ingress chain 2 protocol ip flower \
888 tc chain add dev $h2 ingress chain 3 protocol ip flower \
894 tc chain add dev $h2 ingress chain 4
900 tc filter add dev $h2 ingress chain $i protocol ip \
907 tc filter add dev $h2 ingress protocol ip \
910 tc filter add dev $h2 ingress chain 1 protocol ip \
913 tc filter add dev $h2 ingress chain 2 protocol ip \
916 tc filter add dev $h2 ingress chain 3 protocol ip \
919 tc filter add dev $h2 ingress chain 4 protocol ip \
929 tc_check_packets "dev $h2 ingress" $index 1
936 tc filter del dev $h2 ingress chain $i \
939 tc filter del dev $h2 ingress chain $i \
945 tc chain del dev $h2 ingress chain $i
962 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
968 tc_check_packets "dev $h2 ingress" 103 1
971 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
977 tc_check_packets "dev $h2 ingress" 102 1
980 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
981 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
989 h2=${NETIFS[p2]}
991 h2mac=$(mac_get $h2)