[ntp:questions] Looking for clean C source code of algorithms in RFC 1305

Micky guuwwe at hotmail.com
Tue Sep 30 17:16:10 UTC 2008

The C source code for clock selection algorithms included in RFC 1305
is not very clean. The inputs are not well defined, global variables
with plenty of side effects, etc. You really have to dig through the
whole document to make sense out of it and I do not have the time for

I am looking for clean source code that defines clearly entry proc,
clearly defines input to be provided on the basis of responses
received from multiple NTP servers, and clearly defines output (e.g. a
response with the best time offset) to be used for clock/time update.
In other words, source code written by professional software

More information about the questions mailing list