Lines Matching refs:swp1

39 	simple_if_init $swp1 192.0.2.2/24
40 tc qdisc add dev $swp1 clsact
49 tc qdisc del dev $swp1 clsact
50 simple_if_fini $swp1 192.0.2.2/24
71 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
81 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
92 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
98 tc_check_packets "dev $swp1 ingress" 102 1
101 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
107 tc_check_packets "dev $swp1 ingress" 101 1
110 tc_check_packets "dev $swp1 ingress" 102 2
113 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
114 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
127 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
129 tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \
136 tc_check_packets "dev $swp1 ingress" 101 1
139 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
145 tc_check_packets "dev $swp1 ingress" 102 1
148 tc_check_packets "dev $swp1 ingress" 101 1
151 tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower
152 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
153 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
169 tc filter add dev $swp1 protocol ip pref 11 handle 111 ingress flower \
171 tc filter add dev $swp1 protocol ip pref 12 handle 112 ingress flower \
180 tc_check_packets "dev $swp1 ingress" 111 1
182 tc_check_packets "dev $swp1 ingress" 112 1
189 tc_check_packets "dev $swp1 ingress" 111 1
191 tc_check_packets "dev $swp1 ingress" 112 2
195 tc filter del dev $swp1 ingress protocol ip pref 11 handle 111 flower
196 tc filter del dev $swp1 ingress protocol ip pref 12 handle 112 flower
204 swp1=${NETIFS[p2]}
212 swp1origmac=$(mac_get $swp1)
214 ip link set $swp1 address $h2mac
235 ip link set $swp1 address $swp1origmac