• Home
  • Raw
  • Download

Lines Matching full:vlans

285 	struct gswip_vlan vlans[64];  member
919 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_active_create()
920 if (!priv->vlans[i].bridge) { in gswip_vlan_active_create()
944 priv->vlans[idx].bridge = bridge; in gswip_vlan_active_create()
945 priv->vlans[idx].vid = vid; in gswip_vlan_active_create()
946 priv->vlans[idx].fid = fid; in gswip_vlan_active_create()
962 priv->vlans[idx].bridge = NULL; in gswip_vlan_active_remove()
979 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_unaware()
980 if (priv->vlans[i].bridge == bridge) { in gswip_vlan_add_unaware()
1042 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_aware()
1043 if (priv->vlans[i].bridge == bridge) { in gswip_vlan_add_aware()
1044 if (fid != -1 && fid != priv->vlans[i].fid) in gswip_vlan_add_aware()
1046 fid = priv->vlans[i].fid; in gswip_vlan_add_aware()
1047 if (priv->vlans[i].vid == vid) { in gswip_vlan_add_aware()
1115 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_remove()
1116 if (priv->vlans[i].bridge == bridge && in gswip_vlan_remove()
1117 (!vlan_aware || priv->vlans[i].vid == vid)) { in gswip_vlan_remove()
1214 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_port_vlan_prepare()
1215 if (priv->vlans[i].bridge == bridge && in gswip_port_vlan_prepare()
1216 priv->vlans[i].vid == vlan->vid) { in gswip_port_vlan_prepare()
1228 for (; pos < ARRAY_SIZE(priv->vlans); pos++) { in gswip_port_vlan_prepare()
1229 if (!priv->vlans[pos].bridge) { in gswip_port_vlan_prepare()
1371 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_port_fdb()
1372 if (priv->vlans[i].bridge == bridge) { in gswip_port_fdb()
1373 fid = priv->vlans[i].fid; in gswip_port_fdb()