Clock synchronization in a virtual ring