summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
AgeCommit message (Expand)Author
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
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