• Home
  • Raw
  • Download

Lines Matching full:vlans

273 	struct gswip_vlan vlans[64];  member
896 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_active_create()
897 if (!priv->vlans[i].bridge) { in gswip_vlan_active_create()
921 priv->vlans[idx].bridge = bridge; in gswip_vlan_active_create()
922 priv->vlans[idx].vid = vid; in gswip_vlan_active_create()
923 priv->vlans[idx].fid = fid; in gswip_vlan_active_create()
939 priv->vlans[idx].bridge = NULL; in gswip_vlan_active_remove()
956 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_unaware()
957 if (priv->vlans[i].bridge == bridge) { in gswip_vlan_add_unaware()
1019 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_aware()
1020 if (priv->vlans[i].bridge == bridge) { in gswip_vlan_add_aware()
1021 if (fid != -1 && fid != priv->vlans[i].fid) in gswip_vlan_add_aware()
1023 fid = priv->vlans[i].fid; in gswip_vlan_add_aware()
1024 if (priv->vlans[i].vid == vid) { in gswip_vlan_add_aware()
1092 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_remove()
1093 if (priv->vlans[i].bridge == bridge && in gswip_vlan_remove()
1094 (!vlan_aware || priv->vlans[i].vid == vid)) { in gswip_vlan_remove()
1190 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_port_vlan_prepare()
1191 if (priv->vlans[i].bridge == bridge && in gswip_port_vlan_prepare()
1192 priv->vlans[i].vid == vid) { in gswip_port_vlan_prepare()
1204 for (; pos < ARRAY_SIZE(priv->vlans); pos++) { in gswip_port_vlan_prepare()
1205 if (!priv->vlans[pos].bridge) { in gswip_port_vlan_prepare()
1349 for (i = cpu_port; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_port_fdb()
1350 if (priv->vlans[i].bridge == bridge) { in gswip_port_fdb()
1351 fid = priv->vlans[i].fid; in gswip_port_fdb()