| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <sntp.h>
Data Fields | |
| struct { | |
| struct pollfd fds [1] | |
| int nfds | |
| int fd | |
| } | sock | 
| uint32_t | expected_orig_ts | 
SNTP context
| 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.
| int sntp_ctx::fd | 
| struct pollfd sntp_ctx::fds[1] | 
| int sntp_ctx::nfds | 
| struct { ... } sntp_ctx::sock |