Lines Matching full:h1
19 simple_if_init $h1 192.0.2.1/24
20 tc qdisc add dev $h1 clsact
25 tc qdisc del dev $h1 clsact
26 simple_if_fini $h1 192.0.2.1/24
69 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
79 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
99 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
108 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
137 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
146 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
166 tc filter add dev $h1 protocol ip pref 100 handle 100 egress flower \
171 mirred ingress redirect dev $h1
178 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
181 tc_check_packets "dev $h1 egress" 100 1
189 ping 192.0.2.2 -I$h1 -c1 -w1 -q 1>/dev/null 2>&1
191 tc_check_packets "dev $h1 egress" 100 2
198 tc filter del dev $h1 egress protocol ip pref 100 handle 100 flower
211 tc filter add dev $h1 protocol ip pref 100 handle 100 egress flower \
218 action mirred ingress redirect dev $h1
219 tc filter add dev $h1 protocol ip pref 101 handle 101 egress flower \
221 action mirred ingress redirect dev $h1
222 tc filter add dev $h1 protocol ip pref 102 handle 102 ingress flower \
226 ip vrf exec v$h1 ncat --recv-only -w10 -l -p 12345 -o $mirred_e2i_tf2 &
228 ip vrf exec v$h1 ncat -w1 --send-only 192.0.2.2 12345 <$mirred_e2i_tf1
233 $MZ $h1 -c 10 -p 64 -a $h1mac -b $h1mac -A 192.0.2.1 -B 192.0.2.1 \
235 tc_check_packets "dev $h1 egress" 101 10
237 tc_check_packets "dev $h1 ingress" 102 10
240 tc filter del dev $h1 egress protocol ip pref 100 handle 100 flower
241 tc filter del dev $h1 egress protocol ip pref 101 handle 101 flower
242 tc filter del dev $h1 ingress protocol ip pref 102 handle 102 flower
257 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
271 tc filter add dev $h1 egress pref 20 chain 0 handle 20 flower \
275 tc filter add dev $h1 egress pref 30 chain 5 handle 30 flower \
279 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
282 tc_check_packets "dev $h1 egress" 30 1
285 tc filter del dev $h1 egress pref 20 chain 0 handle 20 flower
286 tc filter del dev $h1 egress pref 30 chain 5 handle 30 flower
293 h1=${NETIFS[p1]}
299 h1mac=$(mac_get $h1)