Add maxdelaydevratio command

This commit is contained in:
Miroslav Lichvar
2010-12-03 18:41:35 +01:00
parent b977c95be4
commit 6ed5a65064
9 changed files with 108 additions and 2 deletions

10
candm.h
View File

@@ -88,7 +88,8 @@
#define REQ_ACTIVITY 44
#define REQ_MODIFY_MINSTRATUM 45
#define REQ_MODIFY_POLLTARGET 46
#define N_REQUEST_TYPES 47
#define REQ_MODIFY_MAXDELAYDEVRATIO 47
#define N_REQUEST_TYPES 48
/* Special utoken value used to log on with first exchange being the
password. (This time value has long since gone by) */
@@ -164,6 +165,12 @@ typedef struct {
int32_t EOR;
} REQ_Modify_Maxdelayratio;
typedef struct {
IPAddr address;
Float new_max_delay_dev_ratio;
int32_t EOR;
} REQ_Modify_Maxdelaydevratio;
typedef struct {
IPAddr address;
int32_t new_min_stratum;
@@ -386,6 +393,7 @@ typedef struct {
REQ_Dump dump;
REQ_Modify_Maxdelay modify_maxdelay;
REQ_Modify_Maxdelayratio modify_maxdelayratio;
REQ_Modify_Maxdelaydevratio modify_maxdelaydevratio;
REQ_Modify_Minstratum modify_minstratum;
REQ_Modify_Polltarget modify_polltarget;
REQ_Modify_Maxupdateskew modify_maxupdateskew;