Lines Matching full:swp1
42 simple_if_init $swp1 192.0.2.2/24
43 tc qdisc add dev $swp1 clsact
52 tc qdisc del dev $swp1 clsact
53 simple_if_fini $swp1 192.0.2.2/24
74 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
84 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
101 tc_check_packets "dev $swp1 ingress" 102 1
104 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
110 tc_check_packets "dev $swp1 ingress" 101 1
113 tc_check_packets "dev $swp1 ingress" 102 2
116 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
117 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
130 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
132 tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \
139 tc_check_packets "dev $swp1 ingress" 101 1
142 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
148 tc_check_packets "dev $swp1 ingress" 102 1
151 tc_check_packets "dev $swp1 ingress" 101 1
154 tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower
155 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
156 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
172 tc filter add dev $swp1 protocol ip pref 11 handle 111 ingress flower \
174 tc filter add dev $swp1 protocol ip pref 12 handle 112 ingress flower \
183 tc_check_packets "dev $swp1 ingress" 111 1
185 tc_check_packets "dev $swp1 ingress" 112 1
192 tc_check_packets "dev $swp1 ingress" 111 1
194 tc_check_packets "dev $swp1 ingress" 112 2
198 tc filter del dev $swp1 ingress protocol ip pref 11 handle 111 flower
199 tc filter del dev $swp1 ingress protocol ip pref 12 handle 112 flower
253 swp1=${NETIFS[p2]}
261 swp1origmac=$(mac_get $swp1)
263 ip link set $swp1 address $h2mac
286 ip link set $swp1 address $swp1origmac