Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
time_shield::NtpClient::ntp_packet Struct Reference

Структура пакета NTP Total: 384 bits or 48 bytes. More...

Public Attributes

uint8_t li_vn_mode
 
uint8_t stratum
 
uint8_t poll
 
uint8_t precision
 
uint32_t root_delay
 
uint32_t root_dispersion
 
uint32_t ref_id
 
uint32_t ref_ts_sec
 
uint32_t ref_ts_frac
 
uint32_t orig_ts_sec
 
uint32_t orig_ts_frac
 
uint32_t recv_ts_sec
 
uint32_t recv_ts_frac
 
uint32_t tx_ts_sec
 
uint32_t tx_ts_frac
 

Detailed Description

Структура пакета NTP Total: 384 bits or 48 bytes.

Definition at line 154 of file ntp_client.hpp.

Member Data Documentation

◆ li_vn_mode

uint8_t time_shield::NtpClient::ntp_packet::li_vn_mode

Definition at line 155 of file ntp_client.hpp.

◆ orig_ts_frac

uint32_t time_shield::NtpClient::ntp_packet::orig_ts_frac

Definition at line 168 of file ntp_client.hpp.

◆ orig_ts_sec

uint32_t time_shield::NtpClient::ntp_packet::orig_ts_sec

Definition at line 167 of file ntp_client.hpp.

◆ poll

uint8_t time_shield::NtpClient::ntp_packet::poll

Definition at line 160 of file ntp_client.hpp.

◆ precision

uint8_t time_shield::NtpClient::ntp_packet::precision

Definition at line 161 of file ntp_client.hpp.

◆ recv_ts_frac

uint32_t time_shield::NtpClient::ntp_packet::recv_ts_frac

Definition at line 170 of file ntp_client.hpp.

◆ recv_ts_sec

uint32_t time_shield::NtpClient::ntp_packet::recv_ts_sec

Definition at line 169 of file ntp_client.hpp.

◆ ref_id

uint32_t time_shield::NtpClient::ntp_packet::ref_id

Definition at line 164 of file ntp_client.hpp.

◆ ref_ts_frac

uint32_t time_shield::NtpClient::ntp_packet::ref_ts_frac

Definition at line 166 of file ntp_client.hpp.

◆ ref_ts_sec

uint32_t time_shield::NtpClient::ntp_packet::ref_ts_sec

Definition at line 165 of file ntp_client.hpp.

◆ root_delay

uint32_t time_shield::NtpClient::ntp_packet::root_delay

Definition at line 162 of file ntp_client.hpp.

◆ root_dispersion

uint32_t time_shield::NtpClient::ntp_packet::root_dispersion

Definition at line 163 of file ntp_client.hpp.

◆ stratum

uint8_t time_shield::NtpClient::ntp_packet::stratum

Definition at line 159 of file ntp_client.hpp.

◆ tx_ts_frac

uint32_t time_shield::NtpClient::ntp_packet::tx_ts_frac

Definition at line 172 of file ntp_client.hpp.

◆ tx_ts_sec

uint32_t time_shield::NtpClient::ntp_packet::tx_ts_sec

Definition at line 171 of file ntp_client.hpp.


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