Lines Matching +full:c +full:- +full:22
2 # SPDX-License-Identifier: GPL-2.0
34 tc qdisc add dev $swp1 ingress_block 22 egress_block 23 clsact
37 tc qdisc add dev $swp2 ingress_block 22 egress_block 23 clsact
53 tc filter add block 22 protocol ip pref 1 handle 101 flower \
56 $MZ $h1 -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
57 -t ip -q
59 tc_check_packets "block 22" 101 1
62 $MZ $h2 -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
63 -t ip -q
65 tc_check_packets "block 22" 101 2
68 tc filter del block 22 protocol ip pref 1 handle 101 flower
77 tc filter add block 22 protocol ip pref 1 handle 101 flower \
79 tc filter add block 22 protocol ip pref 2 handle 102 flower \
82 $MZ $h1 -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
83 -t ip -q
85 tc_check_packets "block 22" 101 1
88 $MZ $h2 -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
89 -t ip -q
91 tc_check_packets "block 22" 102 1
94 tc filter del block 22 protocol ip pref 1 handle 101 flower
95 tc filter del block 22 protocol ip pref 2 handle 102 flower
145 if [[ $? -ne 0 ]]; then