A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Revision:
104:871e65deaa5e
Parent:
102:a53ab3f0456b
--- a/udp/ntp.h	Tue Jan 08 20:43:21 2019 +0000
+++ b/udp/ntp.h	Wed Jan 09 14:24:25 2019 +0000
@@ -1,18 +1,19 @@
 extern bool       NtpTrace;
 
-extern uint64_t (*NtpGetClockTimeFunction)   ();
+extern uint64_t (*NtpFunctionGetClockTime)     ();
 
 extern bool       NtpServerEnable;
-extern uint64_t (*NtpGetClockRefFunction)    ();
-extern int      (*NtpGetClockStratumFunction)();
-extern char*    (*NtpGetClockIdentFunction)  ();
-extern int      (*NtpGetClockLiFunction)     ();
+extern uint64_t (*NtpFunctionGetClockRef)      ();
+extern int      (*NtpFunctionGetClockStratum)  ();
+extern char*    (*NtpFunctionGetClockIdent)    ();
+extern int      (*NtpFunctionGetClockLi)       ();
+extern int      (*NtpFunctionGetClockPrecision)();
 
 extern bool       NtpSendRequestsViaIp4;
 extern char       NtpServerName[];
 extern bool       NtpClientRequest;
 extern bool       NtpClientTrace;
-extern void     (*NtpSetClockTimeFunction)   (uint64_t ori, uint64_t rec, int li);
+extern void     (*NtpFunctionSetClockTime)     (uint64_t ori, uint64_t rec, int li);
 
 extern uint32_t   NtpServerIp4;
 extern char       NtpServerIp6[];