Skip to content

Struct SYN_NTPServer

ClassList > SYN_NTPServer

More...

  • #include <syn_ntp_server.h>

Public Attributes

Type Name
uint32_t(* get_epoch_sec_cb
uint8_t req_buf
uint8_t resp_buf
SYN_Socket sock
uint8_t stratum

Detailed Description

NTP Server Context

Public Attributes Documentation

variable get_epoch_sec_cb

uint32_t(* SYN_NTPServer::get_epoch_sec_cb) (void);

Callback for UTC epoch seconds


variable req_buf

uint8_t SYN_NTPServer::req_buf[SYN_NTP_PACKET_LEN];

Input request buffer


variable resp_buf

uint8_t SYN_NTPServer::resp_buf[SYN_NTP_PACKET_LEN];

Output response buffer


variable sock

SYN_Socket SYN_NTPServer::sock;

Bound UDP socket handle


variable stratum

uint8_t SYN_NTPServer::stratum;

Server stratum (1..15)



The documentation for this class was generated from the following file src/syntropic/net/syn_ntp_server.h