]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: add server support for experimental extension field
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 10 Nov 2021 13:56:31 +0000 (14:56 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 16 Nov 2021 09:23:20 +0000 (10:23 +0100)
commit0bf39c0ab93f0ed4a9b235b1187762586d24b688
treece2c7ed0b0c097e630de1d83b0e85d066e48627e
parent2e126ed2b53bab906c315b5f3e144b29f203d2f4
ntp: add server support for experimental extension field

Maintain a server monotonic timescale needed for the experimental
extension field. It follows the best estimate of frequency without
time corrections. Implement it as an offset relative to the NTP time,
starting at zero, using a slew handler to cancel time corrections of the
NTP clock. The 32-bit epoch ID is set to a random value on start and
every step of the system clock.
ntp_core.c