ntp: add support for interleaved symmetric mode

Add xleave option to the peer directive to enable an interleaved mode
compatible with ntpd. This allows peers to exchange transmit timestamps
captured after the actual transmission and significantly improve
the accuracy of the measurements.
This commit is contained in:
Miroslav Lichvar
2016-10-10 12:15:34 +02:00
parent 997406fe47
commit 90b25f5b83
6 changed files with 130 additions and 69 deletions

View File

@@ -42,6 +42,7 @@ typedef struct {
int max_sources;
int min_samples;
int max_samples;
int interleaved;
int sel_options;
uint32_t authkey;
double max_delay;