Loading...
Searching...
No Matches
ntp_packet_t Struct Reference

NTP packet. More...

Detailed Description

NTP packet.

See also
RFC 5905, Section 7.3

Definition at line 83 of file ntp_packet.h.

#include <ntp_packet.h>

Data Fields

uint8_t li_vn_mode
 leap indicator, version and mode
 
uint8_t stratum
 stratum
 
uint8_t poll
 poll in log2 seconds
 
uint8_t precision
 precision in log2 seconds
 
network_uint32_t root_delay
 root delay in NTP short format
 
network_uint32_t root_dispersion
 root dispersion in NTP short format
 
network_uint32_t reference_id
 reference ID
 
ntp_timestamp_t reference
 reference timestamp
 
ntp_timestamp_t origin
 origin timesptamp
 
ntp_timestamp_t receive
 receive timestamp
 
ntp_timestamp_t transmit
 transmit timestamp
 

Field Documentation

◆ li_vn_mode

uint8_t ntp_packet_t::li_vn_mode

leap indicator, version and mode

Definition at line 84 of file ntp_packet.h.

◆ origin

ntp_timestamp_t ntp_packet_t::origin

origin timesptamp

Definition at line 92 of file ntp_packet.h.

◆ poll

uint8_t ntp_packet_t::poll

poll in log2 seconds

Definition at line 86 of file ntp_packet.h.

◆ precision

uint8_t ntp_packet_t::precision

precision in log2 seconds

Definition at line 87 of file ntp_packet.h.

◆ receive

ntp_timestamp_t ntp_packet_t::receive

receive timestamp

Definition at line 93 of file ntp_packet.h.

◆ reference

ntp_timestamp_t ntp_packet_t::reference

reference timestamp

Definition at line 91 of file ntp_packet.h.

◆ reference_id

network_uint32_t ntp_packet_t::reference_id

reference ID

Definition at line 90 of file ntp_packet.h.

◆ root_delay

network_uint32_t ntp_packet_t::root_delay

root delay in NTP short format

Definition at line 88 of file ntp_packet.h.

◆ root_dispersion

network_uint32_t ntp_packet_t::root_dispersion

root dispersion in NTP short format

Definition at line 89 of file ntp_packet.h.

◆ stratum

uint8_t ntp_packet_t::stratum

stratum

Definition at line 85 of file ntp_packet.h.

◆ transmit

ntp_timestamp_t ntp_packet_t::transmit

transmit timestamp

Definition at line 94 of file ntp_packet.h.


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