Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
sntp_ctx Struct Reference

#include <sntp.h>

Data Fields

struct {
   struct pollfd   fds [1]
 
   int   nfds
 
   int   fd
 
sock
 
uint32_t expected_orig_ts
 

Detailed Description

SNTP context

Field Documentation

◆ expected_orig_ts

uint32_t sntp_ctx::expected_orig_ts

Timestamp when the request was sent from client to server. This is used to check if the originated timestamp in the server reply matches the one in client request.

◆ fd

int sntp_ctx::fd

◆ fds

struct pollfd sntp_ctx::fds[1]

◆ nfds

int sntp_ctx::nfds

◆ 

struct { ... } sntp_ctx::sock

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