NDEVR
API Documentation
NtpPacket

Mandatory part of an NTP packet, containing all required fields. More...

Collaboration diagram for NtpPacket:
[legend]

Public Attributes

NtpPacketFlags flags
 Flags.
NtpTimestamp originateTimestamp
 The time at which the request departed the client for the server.
qint8 poll
 Maximum interval between successive messages, in log2 seconds.
qint8 precision
 Precision of the clock, in log2 seconds.
NtpTimestamp receiveTimestamp
 The time at which the request arrived at the server.
qint8 referenceID [4]
 Reference identifier (either a 4 character string or an IP address).
NtpTimestamp referenceTimestamp
 The time at which the clock was last set or corrected.
qint32 rootDelay
 Round trip time to the primary reference source, in NTP short format.
qint32 rootDispersion
 Nominal error relative to the primary reference source.
quint8 stratum
 Stratum of the clock.
NtpTimestamp transmitTimestamp
 The time at which the reply departed the server for client.

Detailed Description

Mandatory part of an NTP packet, containing all required fields.

Definition at line 28 of file NtpPacket.h.

Member Data Documentation

◆ poll

qint8 NtpPacket::poll

Maximum interval between successive messages, in log2 seconds.

Note that the value is signed.

Definition at line 37 of file NtpPacket.h.

◆ precision

qint8 NtpPacket::precision

Precision of the clock, in log2 seconds.

Note that the value is signed.

Definition at line 40 of file NtpPacket.h.


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