Lines Matching refs:vinfo
180 struct bridge_vlan_info *vinfo = NULL; in bridge_parse_af_full() local
198 vinfo = nla_data(attr); in bridge_parse_af_full()
199 if (!vinfo->vid || vinfo->vid >= VLAN_VID_MASK) in bridge_parse_af_full()
203 if (vinfo->flags & BRIDGE_VLAN_INFO_RANGE_BEGIN) { in bridge_parse_af_full()
204 vid_range_start = vinfo->vid; in bridge_parse_af_full()
205 vid_range_flags = (vinfo->flags ^ BRIDGE_VLAN_INFO_RANGE_BEGIN); in bridge_parse_af_full()
209 if (vinfo->flags & BRIDGE_VLAN_INFO_RANGE_END) { in bridge_parse_af_full()
211 if (vid_range_flags != (vinfo->flags ^ BRIDGE_VLAN_INFO_RANGE_END)) { in bridge_parse_af_full()
216 vid_range_start = vinfo->vid; in bridge_parse_af_full()
219 for (; vid_range_start <= vinfo->vid; vid_range_start++) { in bridge_parse_af_full()
220 if (vinfo->flags & BRIDGE_VLAN_INFO_PVID) in bridge_parse_af_full()
221 bd->vlan_info.pvid = vinfo->vid; in bridge_parse_af_full()
223 if (vinfo->flags & BRIDGE_VLAN_INFO_UNTAGGED) in bridge_parse_af_full()