Lines Matching refs:vinfo

317 	struct  bridge_vlan_info vinfo;  in br_fill_ifvlaninfo_range()  local
321 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
322 vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_BEGIN; in br_fill_ifvlaninfo_range()
324 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
327 vinfo.vid = vid_end; in br_fill_ifvlaninfo_range()
328 vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_END; in br_fill_ifvlaninfo_range()
330 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
333 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
334 vinfo.flags = flags; in br_fill_ifvlaninfo_range()
336 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
404 struct bridge_vlan_info vinfo; in br_fill_ifvlaninfo() local
413 vinfo.vid = v->vid; in br_fill_ifvlaninfo()
414 vinfo.flags = 0; in br_fill_ifvlaninfo()
416 vinfo.flags |= BRIDGE_VLAN_INFO_PVID; in br_fill_ifvlaninfo()
419 vinfo.flags |= BRIDGE_VLAN_INFO_UNTAGGED; in br_fill_ifvlaninfo()
422 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo()
676 int cmd, struct bridge_vlan_info *vinfo, bool *changed, in br_vlan_info() argument
688 err = nbp_vlan_add(p, vinfo->vid, vinfo->flags, in br_vlan_info()
691 vinfo->flags |= BRIDGE_VLAN_INFO_BRENTRY; in br_vlan_info()
692 err = br_vlan_add(br, vinfo->vid, vinfo->flags, in br_vlan_info()
701 if (!nbp_vlan_delete(p, vinfo->vid)) in br_vlan_info()
704 if ((vinfo->flags & BRIDGE_VLAN_INFO_MASTER) && in br_vlan_info()
705 !br_vlan_delete(p->br, vinfo->vid)) in br_vlan_info()
707 } else if (!br_vlan_delete(br, vinfo->vid)) { in br_vlan_info()