API Documentation
Loading...
Searching...
No Matches
NtpPacket Struct Reference

#include <NtpPacket.h>

Collaboration diagram for NtpPacket:
[legend]

Public Attributes

NtpPacketFlags flags
 
NtpTimestamp originateTimestamp
 
qint8 poll
 
qint8 precision
 
NtpTimestamp receiveTimestamp
 
qint8 referenceID [4]
 
NtpTimestamp referenceTimestamp
 
qint32 rootDelay
 
qint32 rootDispersion
 
quint8 stratum
 
NtpTimestamp transmitTimestamp
 

Detailed Description

Mandatory part of an NTP packet

Member Data Documentation

◆ flags

Flags.

◆ originateTimestamp

NtpTimestamp originateTimestamp

The time at which the request departed the client for the server.

◆ poll

qint8 poll

Maximum interval between successive messages, in log2 seconds. Note that the value is signed.

◆ precision

qint8 precision

Precision of the clock, in log2 seconds. Note that the value is signed.

◆ receiveTimestamp

NtpTimestamp receiveTimestamp

The time at which the request arrived at the server.

◆ referenceID

qint8 referenceID[4]

Reference identifier (either a 4 character string or an IP address).

◆ referenceTimestamp

NtpTimestamp referenceTimestamp

The time at which the clock was last set or corrected.

◆ rootDelay

qint32 rootDelay

Round trip time to the primary reference source, in NTP short format.

◆ rootDispersion

qint32 rootDispersion

Nominal error relative to the primary reference source.

◆ stratum

quint8 stratum

Stratum of the clock.

◆ transmitTimestamp

NtpTimestamp transmitTimestamp

The time at which the reply departed the server for client.


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