]> git.ipfire.org Git - thirdparty/nqptp.git/commit
Make the code to restart a clock a separate function and call it if a clock gets...
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 14 Jul 2022 16:55:38 +0000 (17:55 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 14 Jul 2022 16:55:38 +0000 (17:55 +0100)
commitbf4d7c3d6a96d7b38f5e05532efe7b3b2705b439
treea7180480aa991f5317dd88fa71f25c359eddddac
parent4d000a33ebd50fcde79162444a6a4c69efdf82e1
Make the code to restart a clock a separate function and call it if a clock gets stuck. Include the correction field in the calculation of the precise origin timestamp. If a new clock is out by more than -4 seconds, treat it as a discontinuity rather than noise.
nqptp-clock-sources.h
nqptp-message-handlers.c
nqptp.c
nqptp.h