学习IEEE1588 Precision Time Protocol V2 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems Abstract ------------ This standard specifies a protocol enabling precise synchronization of clocks in measurement and control systems implemented with technologies such as network communication, local computing and distributed objects. The protocol is applicable to systems communicating via packet networks. The protocol enables heterogeneous systems that include clocks of various inherent precision, resolution and stability to synchronize. The protocol supports system-wide synchronization accuracy and precision in the sub-microsecond range with minimal network and local clock computing resources. The default behavior of the protocol allows simple systems to be installed and operated without requiring the management attention of users. Keywords -------------- clock, distributed system, master clock, measurement and control system, real time clock, synchronized clock, boundary clock, transparent clock 5. 数据类型和PTP 系统中 on-the-wire 格式 ================================= 5.2 Primitive 数据类型 ------------------------------ Boolean TRUE or FALSE. Enumeration4 4-bit enumerated value Enumeration8 8-bit enumerated value Enumeration16 16-bit enumerated value UInteger4 4-bit unsigned integer Integer8 8-bit signed integer UInteger8 8-bit unsigned integer Integer16 16-bit signed integer UInteger16 16-bit unsigned integer Integer32 32-bit signed integer UInteger32 32-bit unsigned integer UInteger48 48-bit unsigned integer Integer64 64-bit signed integer Nibble 4-bit field not interpreted as a number Octet 8-bit field not interpreted as a number 5.3 Derived 数据类型 -------------------------- struct struct T...