TCPIP_SNTP_EVENT_TIME_DATA Structure

C

typedef struct {
    TCPIP_SNTP_TIME_STAMP tStamp;
    uint64_t tStampTick;
    uint32_t tUnixSeconds;
    uint32_t tMilliseconds;
    uint32_t nUpdates;
} TCPIP_SNTP_EVENT_TIME_DATA;

Description

Describes the structure of the data used by the SNTP module to report a successful acquisition of a timestamp from the NTP server.

Members

MembersDescription
tStampPrime epoch based timestamp as obtained from the NTP server.
tStampTickThe 64-bit system tick when this timestamp has been obtained.
tUnixSecondsNumber of seconds converted to UNIC epoch format i.e. since 1 Jan 1970.
tMillisecondsFractional part converted to milliseconds.
nUpdatesNumber of successful updates from the NTP server so far.

Remarks

This data is reported as part of a TCPIP_SNTP_EVENT_TSTAMP_OK event.