Lines Matching refs:vinfo

312 	struct  bridge_vlan_info vinfo;  in br_fill_ifvlaninfo_range()  local
316 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
317 vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_BEGIN; in br_fill_ifvlaninfo_range()
319 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
322 vinfo.vid = vid_end; in br_fill_ifvlaninfo_range()
323 vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_END; in br_fill_ifvlaninfo_range()
325 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
328 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
329 vinfo.flags = flags; in br_fill_ifvlaninfo_range()
331 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
399 struct bridge_vlan_info vinfo; in br_fill_ifvlaninfo() local
408 vinfo.vid = v->vid; in br_fill_ifvlaninfo()
409 vinfo.flags = 0; in br_fill_ifvlaninfo()
411 vinfo.flags |= BRIDGE_VLAN_INFO_PVID; in br_fill_ifvlaninfo()
414 vinfo.flags |= BRIDGE_VLAN_INFO_UNTAGGED; in br_fill_ifvlaninfo()
417 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo()
645 int cmd, struct bridge_vlan_info *vinfo, bool *changed, in br_vlan_info() argument
657 err = nbp_vlan_add(p, vinfo->vid, vinfo->flags, in br_vlan_info()
660 vinfo->flags |= BRIDGE_VLAN_INFO_BRENTRY; in br_vlan_info()
661 err = br_vlan_add(br, vinfo->vid, vinfo->flags, in br_vlan_info()
670 if (!nbp_vlan_delete(p, vinfo->vid)) in br_vlan_info()
673 if ((vinfo->flags & BRIDGE_VLAN_INFO_MASTER) && in br_vlan_info()
674 !br_vlan_delete(p->br, vinfo->vid)) in br_vlan_info()
676 } else if (!br_vlan_delete(br, vinfo->vid)) { in br_vlan_info()