DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.sbin/dntpd client.c client.h defs.h main.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Apr 2005 16:09:32 -0700 (PDT)

dillon      2005/04/24 16:09:32 PDT

DragonFly src repository

  Modified files:
    usr.sbin/dntpd       client.c client.h defs.h main.c 
  Log:
  Implement a variable polling rate capability.
  
  Implement a polling state which runs through a fast-startup to get a rough
  offset correction, a medium-polled acquisition mode to get a rough
  frequency correction, and a long-polled maintainance mode (assuming the
  time source is good enough) to get a fine frequency correction.
  
  startup mode:		6 five-second polls
  acquisition mode:	16 five-minute polls
  maintainance mode:	30 minute polls (if the correllation is good enough)
  
  Implement a short failure mode (3 failed polls in a row) which returns
  to an aquisition state on recovery, and a long failure mode (10 failed polls
  in a row) which returns to a startup state on recovery.
  
  When resetting a regression, also remove any alternate regression further
  on down the alt chain (since they won't be staggered any more).
  
  Revision  Changes    Path
  1.5       +191 -9    src/usr.sbin/dntpd/client.c
  1.4       +28 -6     src/usr.sbin/dntpd/client.h
  1.4       +3 -1      src/usr.sbin/dntpd/defs.h
  1.3       +26 -25    src/usr.sbin/dntpd/main.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dntpd/client.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dntpd/client.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dntpd/defs.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dntpd/main.c.diff?r1=1.2&r2=1.3&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]