Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sntp_ctx Struct Reference

SNTP context. More...

#include <sntp.h>

Data Fields

struct {
   struct zsock_pollfd   fds [1]
 
   int   nfds
 
   int   fd
 
sock
 
struct sntp_time expected_orig_ts
 Timestamp when the request was sent from client to server.
 

Detailed Description

SNTP context.

Field Documentation

◆ expected_orig_ts

struct sntp_time 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 zsock_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: