#define NTP_PORT 123
#define SNTP_PORT NTP_PORT
See: | Type struct _sntpframe |
struct _sntpframe | |
{ | |
u_char mode; | |
u_char stratum; | |
u_char poll; | |
u_char precision; | |
u_long root_delay; | |
u_long root_dispersion; | |
u_long reference_identifier; | |
u_long reference_ts_sec; | |
u_long reference_ts_frac; | |
u_long originate_ts_sec; | |
u_long originate_ts_frac; | |
u_long receive_ts_sec; | |
u_long receive_ts_frac; | |
u_long transmit_ts_sec; | |
u_long transmit_ts_frac; | |
} |
struct SNTP_resync_args | |
{ | |
u_long server_addr; | |
u_long interval; | |
} |
Prototyped in: | nut/include/pro/sntp.h | |
Calls: | NutHeapAlloc() | nut/os/heap.c |
NutHeapFree() | nut/os/heap.c | |
NutThreadCreate() | nut/arch/avr/os/context_gcc.c | |
References Functions: | SNTP_resync() | nut/pro/sntp.c |