]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: add client support for network correction
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 26 Sep 2023 10:52:39 +0000 (12:52 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 26 Sep 2023 13:14:13 +0000 (15:14 +0200)
commit70cdd8b1ef77a5eca4bb41b8b7c42a77b0923ba8
tree017f4d70460bd4d6070742ff71a6425d5c6f49c8
parent8eef6310097a9c271060a681d033b96d21de9c81
ntp: add client support for network correction

If the network correction is known for both the request and response,
and their sum is not larger that the measured peer delay, allowing the
transparent clocks to be running up to 100 ppm faster than the client's
clock, apply the corrections to the NTP offset and peer delay. Don't
correct the root delay to not change the estimated maximum error.
candm.h
client.c
cmdmon.c
cmdparse.c
doc/chrony.conf.adoc
ntp_core.c
test/simulation/110-chronyc
test/simulation/142-ntpoverptp [new file with mode: 0755]
test/simulation/142-ptpport [deleted file]
test/simulation/test.common