summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
AgeCommit message (Expand)Author
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
2004-10-14Have ntpd use IPTOS_LOWDELAY; ok henning@Darren Tucker
2004-09-18don't call settimeofday() when the offset is smaller than 180 seconds,Henning Brauer
2004-09-18add a new -s option, that tells ntpd to set the time using settimeofday()Henning Brauer
2004-09-18do not bother overallocating and shrinking the pfd and idx2peer arrays,Henning Brauer
2004-09-16the "type" param to imsg_compose and imsg_create is really anHenning Brauer
2004-09-15imsg framework cleanup:Henning Brauer
2004-09-15remove the unused variable/macro code, ok theoHenning Brauer
2004-08-12do not try to getaddrinfo() in the unprivileged process, send an imsgHenning Brauer
2004-08-10move memory allocation for new peers into a new function, makes ID allocationHenning Brauer
2004-07-29keep an ID per server we talk toHenning Brauer
2004-07-28when a dns lookup fails at parse time, do not abort but try againHenning Brauer
2004-07-25remove unused functionHenning Brauer
2004-07-20wrap the heads for the linked list of addresses into a new ntp_addr_wrapHenning Brauer
2004-07-18query interval scaling, episode IIHenning Brauer
2004-07-14do not do the stratum guessing dance.Henning Brauer
2004-07-13Respond to client queries with better server statistics. We now outputAlexander Guy
2004-07-11Start collecting the remote server state along with the calculatedAlexander Guy
2004-07-10KNF; ok henning@Alexander Guy
2004-07-10short fixed point <-> double conversion routines; ok henning@Alexander Guy
2004-07-10scale query interval based on local clock offset. tested by manyHenning Brauer
2004-07-09make lint a wee bit happierTheo de Raadt
2004-07-09rework dns handling with all its cosequences...Henning Brauer
2004-07-08remove all handling of netmasks/prefix lengths - we don't need that in ntpd.Henning Brauer
2004-07-07* Convert to use the new double-based time handling functions.Alexander Guy
2004-07-07do not listen anywhere by default.Henning Brauer
2004-07-07swicth all the host_* functions to work on a newly inventedHenning Brauer
2004-07-07keep a "trustlevel" per peer. loose credit for loosing a packet, looseHenning Brauer
2004-07-06Implement the clock filter as descirbed by David Mills:Henning Brauer
2004-07-05keep last 8 offset,delay pairs - we'll need them for the clock filters later.Henning Brauer
2004-07-05delay, not errorHenning Brauer
2004-07-05calculate the median offset from all servers we sync to and callHenning Brauer
2004-07-04put interval defines in ntpd.h and name them consistentlyHenning Brauer
2004-07-04Compute the local clock offset from the server's response.Alexander Guy
2004-06-18size struct pollfd and idx2peer dynamically instead of imposing an arbitaryHenning Brauer
2004-06-17provide most of the client functionality.Henning Brauer
2004-06-05Move prototype definitions. Add multi-include protection to header.Alexander Guy
2004-06-02prepare for client functionalityHenning Brauer
2004-06-01first cut at config file parserHenning Brauer
2004-06-01allow ntpd to listen on nearly arbitary number of sockets (OPEN_MAX - 1 atm).Henning Brauer