mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:55:07 -05:00
ntp: smear leap second with slewing mode and smoothing
Suppress leap second in packets sent to clients when smoothing and leap second slew mode are enabled.
This commit is contained in:
@@ -69,6 +69,9 @@ typedef void (*REF_ModeEndHandler)(int result);
|
||||
/* Set the handler for being notified of mode ending */
|
||||
extern void REF_SetModeEndHandler(REF_ModeEndHandler handler);
|
||||
|
||||
/* Get leap second handling mode */
|
||||
extern REF_LeapMode REF_GetLeapMode(void);
|
||||
|
||||
/* Function which takes a local cooked time and returns the estimated
|
||||
time of the reference. It also returns the other parameters
|
||||
required for forming the outgoing NTP packet.
|
||||
|
||||
Reference in New Issue
Block a user