summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
AgeCommit message (Expand)Author
2007-12-23remove some unused #defines; ok henning@Kevin Steves
2007-12-22just call getpwnam(NTPD_USER) once; ok henning@Kevin Steves
2007-10-15Allow ntpd to report the status of peers and sensors to syslog. ThisOtto Moerbeek
2007-09-13Provide the -n switch like in the other imsg daemons for testingPierre-Yves Ritschard
2007-09-12Add a knob to compensate for a refclock that is early or late. Based on aChris Kuethe
2007-08-04This diff makes ntpd poll for sensors more aggressively when the use ofChris Kuethe
2007-04-30aggressive spelling fix, spotted by jbgTheo de Raadt
2007-03-23Increase sensor polling interval to 30s, just like ntp polls. ThisChris Kuethe
2007-03-01read buffer size must be >= max imsg size.Henning Brauer
2007-01-15Although Unix compilers accept more than one definition of a globalOtto Moerbeek
2006-12-23adapt to new two-level sensor sysctl framework; by Constantine A. MureninTheo de Raadt
2006-11-20with usig the meadian offset froma number of measurements the recordingHenning Brauer
2006-10-27use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasingHenning Brauer
2006-10-24timedelta sensors are usually updated very often, but we used to queryHenning Brauer
2006-06-30spacesTheo de Raadt
2006-06-26increase polling intervbal, but only after we are synced and have doneOtto Moerbeek
2006-06-22Save the computed clock drift and use it on startup. ok deraadt@Otto Moerbeek
2006-06-18tsk, tsk, tsk... the rule is simple: any define consisting ofOtto Moerbeek
2006-06-17Import frequency conrrection code from dragonfly, whith some changes:Otto Moerbeek
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
2006-06-04Only invalidate stored replies if an adjustment was really made.Otto Moerbeek
2006-05-28allow for weight to be added to sensors or servers, so that one canHenning Brauer
2006-05-28let sensor_query handle removals itselfHenning Brauer
2006-05-27stop passing the config around all time, just store one copyHenning Brauer
2006-05-27make ntpd listen on the hotplug socket and decode yadda yadda, becauseHenning Brauer
2006-05-27scan for new timedelta sensors every five minutes for now, ok deraadtHenning Brauer
2006-05-27config file bits for timedelta sensors, so one can specify which devicesHenning Brauer
2006-05-26add support for timedelta sensors, which pretty much means udcf(4) rightHenning Brauer
2006-05-25figure out the refid to send to NTP v3 clients early and store itHenning Brauer
2005-09-24Log source address for 'malformed packet' errors. ok henning@Darren Tucker
2005-08-10Propogate server's leap indicator flags to clients; ok henning@Darren Tucker
2005-07-15shrink read buffer size from 64k to 4k, this is not bgpd and we're dealingHenning Brauer
2005-07-05Save transmit time for each peer for later use as refid for SNTPv4Darren Tucker
2005-06-19use a #define for the time to wait on -s and clarify a log msgHenning Brauer
2005-06-19use a little state engine to keep track of delayed dns lookups and such,Henning Brauer
2005-04-26unify shared code a bit again to make future syncs easierHenning Brauer
2005-03-23wpos in struct buf_read and datalen in imsg_get should be size_t and notHenning Brauer
2005-02-03Implement simple duplicate suppression of peer errors; ok henning@Darren Tucker
2005-02-02buffer structs and API ssize_t -> size_t; from bgpdHenning Brauer
2005-01-28Simplify interval scaling and randomize query intervals; ok henning@Darren Tucker
2005-01-27Scale query interval by the overall offset not per-peer offset, so weDarren Tucker
2005-01-27Delay before retrying a query on timeout; ok henning@Darren Tucker
2004-12-16Limit the number of addresses used by the 'servers' directive to 8; ok henning@Darren Tucker
2004-12-09define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ okMichael Shalayeff
2004-12-06do not log tiny local clock drifts; w/ help from Joerg Sonnenberger <joerg@br...Michael Shalayeff
2004-12-06ensure the most excellent alignment in the structs; henning@ okMichael Shalayeff
2004-11-12some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de>Henning Brauer
2004-11-10ntp_adjtime() -> priv_adjtime()Henning Brauer
2004-11-10const'ify conffileHenning Brauer
2004-10-22in server mode reply with stratum from the peer that we currently preferHenning Brauer