Lines Matching refs:tag
318 unsigned int tag; // VLAN tag (IP175D only)
577 * Uses only the VLAN port mask and the add tag mask to generate the other fields:
578 * which ports are part of the same VLAN, removing vlan tags, and VLAN tag ids.
650 if (!state->vlans[i].tag) {
652 err |= ip_phy_write(state, 22, 14+i, 0); // tag
656 err |= ip_phy_write(state, 22, 14+i, state->vlans[i].tag);
668 // Port masks, tag adds and removals
676 // Default VLAN tag for each port
678 err |= ip_phy_write(state, 22, 4+i, state->vlans[state->ports[i].pvid].tag);
689 // VLAN classification rules: tag-based VLANs, use VID to classify,
752 state->vlans[i].tag = (i ? i : 16);
997 val->value.i = state->vlans[vlan].tag;
1005 int tag = val->value.i;
1010 if (tag < 0 || tag > 4095)
1013 state->vlans[vlan].tag = tag;