A PTP timestamp in seconds + nanoseconds since UNIX epoch. More...
A PTP timestamp in seconds + nanoseconds since UNIX epoch.
According to IEEE 1588-2019 specification in section "5.3.3 Timestamp", timestamps are represented as seconds and nanoseconds since epoch. For the seconds parts an 48 bit unsigned integer is used in the protocol and a 32 bit unsigned integer for the nanoseconds.
#include <ptp.h>
Data Fields | |
ptp_seconds_t | seconds |
Seconds since UNIX epoch. | |
uint32_t | nanoseconds |
Nanoseconds part. | |
ptp_seconds_t ptp_timestamp_t::seconds |