Midnight Sun Firmware
Loading...
Searching...
No Matches

Structure representing an NTP packet. More...

#include <network_time_protocol.h>

Collaboration diagram for NTPPacket:

Public Attributes

uint8_t flags
 
uint8_t stratum
 
uint8_t poll
 
uint8_t precision
 
uint32_t rootDelay
 
uint32_t rootDispersion
 
uint8_t referenceId [4]
 
NTPTime referenceTime
 
NTPTime originTime
 
NTPTime receiveTime
 
NTPTime transmitTime
 

Detailed Description

Structure representing an NTP packet.

Member Data Documentation

◆ flags

uint8_t flags

Flags field containing Leap Indicator, Version, and Mode

◆ originTime

NTPTime originTime

Time at the client when the request departed

◆ poll

uint8_t poll

Maximum interval between successive messages, in log2 seconds

◆ precision

uint8_t precision

Precision of the local clock, in log2 seconds

◆ receiveTime

NTPTime receiveTime

Time at the server when the request was received

◆ referenceId

uint8_t referenceId[4]

Identifier of the reference clock

◆ referenceTime

NTPTime referenceTime

Time when the system clock was last set or corrected

◆ rootDelay

uint32_t rootDelay

Total round-trip delay to the primary reference source

◆ rootDispersion

uint32_t rootDispersion

Maximum error relative to the primary reference source

◆ stratum

uint8_t stratum

Stratum level of the server

◆ transmitTime

NTPTime transmitTime

Time at the server when the response was sent


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