Zephyr Project API 3.5.0
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 
 
uint32_t expected_orig_ts
 Timestamp when the request was sent from client to server.
 

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 zsock_pollfd sntp_ctx::fds[1]

◆ nfds

int sntp_ctx::nfds

◆ [struct]

struct { ... } sntp_ctx::sock

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