Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Mon Jun 26 21:37:14 2017 +0000
Revision:
20:23f2b29b48ea
Parent:
19:43c70b424fc1
Child:
22:914b970356f0
Moved translation from clock ns to ntp timestamp from the net module to the ntp server module.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 20:23f2b29b48ea 1 extern bool NtpEnableServer;
andrewboyson 20:23f2b29b48ea 2 extern bool NtpEnableClient;
andrewboyson 20:23f2b29b48ea 3 extern uint64_t (*NtpGetClockRefFunction) ();
andrewboyson 20:23f2b29b48ea 4 extern uint64_t (*NtpGetClockNowFunction) ();
andrewboyson 20:23f2b29b48ea 5 extern int (*NtpGetClockStratumFunction)();
andrewboyson 20:23f2b29b48ea 6 extern char* (*NtpGetClockIdentFunction) ();
andrewboyson 17:e475ab861365 7
andrewboyson 10:f0854784e960 8 extern int NtpHandleRequest(int* pSize, void * pPacket);
andrewboyson 14:e75a59c1123d 9 #define NTP_PORT 123