flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
PtpHeader Struct Reference

PTP message header structure. More...

#include <ptp_types.h>

Collaboration diagram for PtpHeader:

Data Fields

uint8_t messageType
 ID.
 
uint8_t transportSpecific
 Transport Specific.
 
uint8_t versionPTP
 PTP version.
 
uint8_t minorVersionPTP
 
uint16_t messageLength
 Length.
 
uint8_t domainNumber
 Domain.
 
uint8_t _r2
 
PtpFlags flags
 Flags.
 
uint64_t correction_ns
 Correction nanoseconds.
 
uint32_t correction_subns
 Correction subnanoseconds.
 
uint32_t _r3
 
uint64_t clockIdentity
 Clock Identity.
 
uint16_t sourcePortID
 Source Port ID.
 
uint16_t sequenceID
 Sequence ID.
 
uint8_t control
 Control.
 
int8_t logMessagePeriod
 

Detailed Description

PTP message header structure.

Definition at line 72 of file ptp_types.h.

Field Documentation

◆ _r2

uint8_t _r2

Definition at line 89 of file ptp_types.h.

◆ _r3

uint32_t _r3

Definition at line 99 of file ptp_types.h.

◆ clockIdentity

uint64_t clockIdentity

Clock Identity.

Definition at line 102 of file ptp_types.h.

◆ control

uint8_t control

Control.

Definition at line 111 of file ptp_types.h.

◆ correction_ns

uint64_t correction_ns

Correction nanoseconds.

Definition at line 95 of file ptp_types.h.

◆ correction_subns

uint32_t correction_subns

Correction subnanoseconds.

Definition at line 96 of file ptp_types.h.

◆ domainNumber

uint8_t domainNumber

Domain.

Definition at line 86 of file ptp_types.h.

◆ flags

PtpFlags flags

Flags.

Definition at line 92 of file ptp_types.h.

◆ logMessagePeriod

int8_t logMessagePeriod

Definition at line 114 of file ptp_types.h.

◆ messageLength

uint16_t messageLength

Length.

Definition at line 83 of file ptp_types.h.

◆ messageType

uint8_t messageType

ID.

Definition at line 75 of file ptp_types.h.

◆ minorVersionPTP

uint8_t minorVersionPTP

Definition at line 80 of file ptp_types.h.

◆ sequenceID

uint16_t sequenceID

Sequence ID.

Definition at line 108 of file ptp_types.h.

◆ sourcePortID

uint16_t sourcePortID

Source Port ID.

Definition at line 105 of file ptp_types.h.

◆ transportSpecific

uint8_t transportSpecific

Transport Specific.

Definition at line 76 of file ptp_types.h.

◆ versionPTP

uint8_t versionPTP

PTP version.

Definition at line 79 of file ptp_types.h.


The documentation for this struct was generated from the following file: