Lines Matching refs:vid

96 	local vid=
110 for vid in "${vids[@]}"; do
111 vlan_create $h1 $vid
112 simple_if_init $h1.$vid $H1_IPV4/24 $H1_IPV6/64
114 send_non_ip $h1.$vid $smac $dmac
115 send_non_ip $h1.$vid $smac $NON_IP_MC
116 send_non_ip $h1.$vid $smac $BC
117 send_uc_ipv4 $h1.$vid $dmac
118 send_mc_ipv4 $h1.$vid
119 send_uc_ipv6 $h1.$vid $dmac
120 send_mc_ipv6 $h1.$vid
122 simple_if_fini $h1.$vid $H1_IPV4/24 $H1_IPV6/64
123 vlan_destroy $h1 $vid
153 for vid in "${vids[@]}"; do
154 check_rcv $h2 "$test_name: Unicast non-IP VID $vid" \
155 "$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4"
157 check_rcv $h2 "$test_name: Multicast non-IP VID $vid" \
158 "$smac > $NON_IP_MC, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4"
160 check_rcv $h2 "$test_name: Broadcast non-IP VID $vid" \
161 "$smac > $BC, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4"
163 check_rcv $h2 "$test_name: Unicast IPv4 VID $vid" \
164 "$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv4 (0x0800), $H1_IPV4 > $H2_IPV4"
166 check_rcv $h2 "$test_name: Multicast IPv4 VID $vid" \
167 "$smac > $MACV4_ALLNODES, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv4 (0x0800), $H1_IPV4 > $IPV4_ALLNODES"
169 check_rcv $h2 "$test_name: Unicast IPv6 VID $vid" \
170 "$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv6 (0x86dd), $H1_IPV6 > $H2_IPV6"
172 check_rcv $h2 "$test_name: Multicast IPv6 VID $vid" \
173 "$smac > $MACV6_ALLNODES, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv6 (0x86dd), $h1_ipv6_lladdr > $IPV6_ALLNODES"
204 bridge vlan add dev $swp1 vid 1 pvid untagged
205 bridge vlan add dev $swp1 vid 2 pvid untagged