Hello!

Are you talking about the "clock discipline state machine"?

I also had a hard time finding information about the state's numerical values as "procedures and algorithms briefings" only contain symbolic names. Check the file ntpd/ntp_loopfilter.c. I hope these are the valid values for "state":

#define S_NSET  0               /* clock never set */
#define S_FSET  1               /* frequency set from the drift file */
#define S_SPIK  2               /* spike detected */
#define S_FREQ  3               /* frequency mode */
#define S_SYNC  4               /* clock synchronized */

Cheers
Daniel

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions

Reply via email to