pt1588-SH7216 1
IEEE1588v2 Implementation for Renesas SH7216 Demo

Header Struct Reference

Fields common for all PTP messages (13.3). More...

#include <ptp-data-types.h>

Data Fields

Nibble transportSpecific
 Field may be used for the transport protocol and if defined for some transport protocols in annexes D-I (13.3.2.1).
Enumeration4 messageType
 Type of the message (13.3.2.2).
UInteger4 versionPTP
 Version of PTP (13.3.2.3).
UInteger16 messageLength
 Length of the message (13.3.2.4).
UInteger8 domainNumber
 Domain number, as defined in DefaultDS (13.3.2.5).
Octet flagField [2]
 Value of the flag field depends on the message type (13.3.2.6).
Integer64 correctionField
 Value of the correction field depends on the message type, and is expressed in units of nanoseconds multiplied by 2^16 (13.3.2.7).
PortIdentity sourcePortIdentity
 Port identity of the port which created the message (13.3.2.8).
UInteger16 sequenceId
 Value of the sequence Id depends on the message type, but is typically used to identity and order messages (13.3.2.9).
UInteger8 controlField
 Value of the control field depends on the message type (13.3.2.10).
Integer8 logMessageInterval
 Value of this field depends on the message type (13.3.2.11).

Detailed Description

Fields common for all PTP messages (13.3).

Definition at line 299 of file ptp-data-types.h.


Field Documentation

Value of the control field depends on the message type (13.3.2.10).

Definition at line 324 of file ptp-data-types.h.

Value of the correction field depends on the message type, and is expressed in units of nanoseconds multiplied by 2^16 (13.3.2.7).

Definition at line 314 of file ptp-data-types.h.

Domain number, as defined in DefaultDS (13.3.2.5).

Definition at line 308 of file ptp-data-types.h.

Value of the flag field depends on the message type (13.3.2.6).

Definition at line 311 of file ptp-data-types.h.

Value of this field depends on the message type (13.3.2.11).

Definition at line 326 of file ptp-data-types.h.

Length of the message (13.3.2.4).

Definition at line 307 of file ptp-data-types.h.

Type of the message (13.3.2.2).

Definition at line 303 of file ptp-data-types.h.

Value of the sequence Id depends on the message type, but is typically used to identity and order messages (13.3.2.9).

Definition at line 320 of file ptp-data-types.h.

Port identity of the port which created the message (13.3.2.8).

Definition at line 318 of file ptp-data-types.h.

Field may be used for the transport protocol and if defined for some transport protocols in annexes D-I (13.3.2.1).

Definition at line 300 of file ptp-data-types.h.

Version of PTP (13.3.2.3).

Only version 2 is currently implemented.

Definition at line 304 of file ptp-data-types.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerator Defines