conf: add mindelay and asymmetry options to NTP sources

This commit is contained in:
Miroslav Lichvar
2017-08-18 16:20:12 +02:00
parent b06d74ab73
commit 8ccda538d3
4 changed files with 30 additions and 6 deletions

View File

@@ -48,6 +48,8 @@ typedef struct {
double max_delay;
double max_delay_ratio;
double max_delay_dev_ratio;
double min_delay;
double asymmetry;
double offset;
} SourceParameters;
@@ -63,6 +65,7 @@ typedef struct {
#define SRC_DEFAULT_MAXSOURCES 4
#define SRC_DEFAULT_MINSAMPLES (-1)
#define SRC_DEFAULT_MAXSAMPLES (-1)
#define SRC_DEFAULT_ASYMMETRY 1.0
#define INACTIVE_AUTHKEY 0
/* Flags for source selection */