/* adds or removes a VLAN from a VLAN set  */
IX_ETH_DB_PRIVATE void ixEthDBLocalVlanMembershipChange(UINT32 vlanID, IxEthDBVlanSet table, UINT32 action)
/* adds or removes a VLAN from a VLAN set  */
IX_ETH_DB_PRIVATE void ixEthDBLocalVlanMembershipChange(UINT32 vlanID, IxEthDBVlanSet table, UINT32 action)
{
    UINT32 setOffset;
    setOffset = VLAN_SET_OFFSET(vlanID);
    if (action == ADD_VLAN)
    {
        table[setOffset] |= 1 << VLAN_SET_MASK(vlanID);
    }
    else if (action == REMOVE_VLAN)
    {
        table[setOffset] &= ~(1 << VLAN_SET_MASK(vlanID));
    }
}