Embedded TCP/IP stack  4.7.0
fnet_sntp_timestamp_t Struct Reference

SNTP timestamp (RFC4330) is represented as a 64-bit unsigned fixed-point number, in seconds relative to 0h on 1 January 1900. The integer part is in the first 32 bits, and the fraction part in the last 32 bits. The maximum number that can be represented is 4,294,967,295 seconds with a precision of about 232 picoseconds. More...

Data Fields

fnet_uint32_t seconds
 Seconds (host endian). More...
 
fnet_uint32_t seconds_fraction
 Seconds Fraction (host endian). More...
 

Detailed Description

SNTP timestamp (RFC4330) is represented as a 64-bit unsigned fixed-point number, in seconds relative to 0h on 1 January 1900. The integer part is in the first 32 bits, and the fraction part in the last 32 bits. The maximum number that can be represented is 4,294,967,295 seconds with a precision of about 232 picoseconds.

Definition at line 69 of file fnet_sntp.h.


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

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net