Lines Matching +full:2 +full:c
10 NUM_NETIFS=2
46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
49 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
75 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
85 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
96 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
101 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
110 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
112 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
130 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
135 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
144 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
146 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
164 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
171 $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
186 $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
201 $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
203 $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
219 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
234 tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \
237 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 7:85 -t ip -q
238 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -q
246 tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower
263 tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \
266 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -q
274 tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower
289 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
292 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
301 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
304 tc_check_packets "dev $h2 ingress" 102 2
310 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
322 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
325 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
328 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
334 tc_check_packets "dev $h2 ingress" 101 2
337 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
346 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
358 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
361 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
370 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
381 local tc=$2
403 tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \
407 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
416 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
418 tc_check_packets "dev $h2 ingress" 102 2
424 tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower
441 tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \
445 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
454 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
456 tc_check_packets "dev $h2 ingress" 102 2
462 tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower
479 tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \
483 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
493 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
495 tc_check_packets "dev $h2 ingress" 102 2
501 tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower
518 tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \
522 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
531 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
533 tc_check_packets "dev $h2 ingress" 102 2
539 tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower
557 tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \
566 flower $tcflags mpls lse depth 2 label 1048575 action continue
568 flower $tcflags mpls lse depth 2 tc 7 action continue
570 flower $tcflags mpls lse depth 2 bos 1 action continue
572 flower $tcflags mpls lse depth 2 ttl 255 action continue
578 flower $tcflags mpls lse depth 2 action continue
584 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
591 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
595 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
600 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
604 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
606 # Wrong label at depth 2
608 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
610 # Wrong TC at depth 2
612 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
614 # Wrong BOS at depth 2 (adding a third LSE here since BOS isn't set in
618 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
620 # Wrong TTL at depth 2
622 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
638 # Filters working at depth 2 should match all packets but two (because
673 tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower