Doxygen Book
_ntp_timestamp_t Struct Reference

A custom data type to represent NTP timestamp format. More...

Public Attributes

uint32_t sec
 
uint32_t frac
 

Detailed Description

A custom data type to represent NTP timestamp format.

NTP Timestamp Format (https://www.ietf.org/rfc/rfc5905.txt p.12) 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Seconds | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Fraction | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Definition at line 40 of file ntputil.c.

Member Data Documentation

◆ frac

uint32_t _ntp_timestamp_t::frac

Definition at line 43 of file ntputil.c.

◆ sec

uint32_t _ntp_timestamp_t::sec

Definition at line 42 of file ntputil.c.


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