[ntp:questions] Poul-Henning Kamp and re-write of NTP
tik-tok at bodosom.net
Sun Dec 7 01:54:43 UTC 2014
On Sat, Dec 6, 2014 at 7:19 PM, David Woolley <
david at ex.djwhome.demon.invalid> wrote:
> It starts off a bit badly by talking about the size of nptd, when, in
> fact, very little of ntpd is actually involved in the core algorithm. Most
> of it, I guess, is reference clock drivers, plus configuration and
> monitoring code.
I wondered about that. There are only ~ 90k lines in ntpd/*.c which
includes all the refclocks (46k lines) and just 4,168 lines (~3,000 without
comments) in ntp_proto.c. The largest blob is ~5,000 in the ntp.conf parser
out of 42k lines in ntp*.c.
More information about the questions