alexander
d1a5206262
short fixed point <-> double conversion routines; ok henning@
20 years ago
henning
727098a446
help the compiler a bit with a cast, spotted by theo
20 years ago
alexander
353bc5222d
* Convert to use the new double-based time handling functions.
* Respond to the query with a reasonable received time (which
will help clients get better accuracy).
* Consolidate the server response code in preparation for a
completely 'proper' response to the client.
tips and ok from henning@
20 years ago
alexander
59dafa077b
Endian conversion mistakenly done before fraction math; ok henning@
20 years ago
otto
74f0809de0
use correct multiplier for us -> s conversion
20 years ago
henning
7cb3db11e2
calculate the median offset from all servers we sync to and call
adjtime() when necessary to keep the local clock in sync
yes, that means ntpd syncs the local clock now.
20 years ago
henning
bc7ac3d288
KNF
20 years ago
alexander
9b6618babd
Compute the local clock offset from the server's response.
ok henning@
20 years ago