Lines Matching +full:ip +full:- +full:block
2 # SPDX-License-Identifier: GPL-2.0
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
60 check_err $? "Did not match first incoming packet on a block"
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
66 check_err $? "Did not match second incoming packet on a block"
68 tc filter del block 22 protocol ip pref 1 handle 101 flower
70 log_test "shared block ($tcflags)"
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
86 check_err $? "Did not match first incoming packet on a block"
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
92 check_err $? "Did not match second incoming packet on a block"
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
113 ip link set $swp2 address $swmac
132 ip link set $swp2 address $swp2origmac
145 if [[ $? -ne 0 ]]; then