Lines Matching refs:vlan
106 struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_newlink() local
119 vlan->vlan_id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_newlink()
120 vlan->real_dev = real_dev; in vlan_newlink()
121 vlan->flags = VLAN_FLAG_REORDER_HDR; in vlan_newlink()
123 err = vlan_check_real_dev(real_dev, vlan->vlan_id); in vlan_newlink()
150 struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_get_size() local
153 vlan_qos_map_size(vlan->nr_ingress_mappings) + in vlan_get_size()
154 vlan_qos_map_size(vlan->nr_egress_mappings); in vlan_get_size()
159 struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_fill_info() local
167 if (vlan->flags) { in vlan_fill_info()
168 f.flags = vlan->flags; in vlan_fill_info()
172 if (vlan->nr_ingress_mappings) { in vlan_fill_info()
177 for (i = 0; i < ARRAY_SIZE(vlan->ingress_priority_map); i++) { in vlan_fill_info()
178 if (!vlan->ingress_priority_map[i]) in vlan_fill_info()
182 m.to = vlan->ingress_priority_map[i]; in vlan_fill_info()
189 if (vlan->nr_egress_mappings) { in vlan_fill_info()
194 for (i = 0; i < ARRAY_SIZE(vlan->egress_priority_map); i++) { in vlan_fill_info()
195 for (pm = vlan->egress_priority_map[i]; pm; in vlan_fill_info()