summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/sensors.c
AgeCommit message (Expand)Author
2009-05-13when using a timedelta sensor for -s, if the sensor is invalid duringKevin Steves
2009-02-08spelling in commentKevin Steves
2009-01-27fix printf format specification to print max len 4 for refid,Kevin Steves
2009-01-26return the correct refid for a sensor; ok henning@Christian Weisgerber
2008-06-10According to the latest SNTPv4 spec in RFC4330, secondary serversChristian Weisgerber
2008-06-09rename refstr to refid since it is an int32; ok henningTheo de Raadt
2008-06-09do not copy up to two garbage characters from a 1 char string into a 4 charTheo de Raadt
2008-06-09spacingTheo de Raadt
2008-06-09Allow outgoing replies from sensor-driven servers to have aChris Kuethe
2008-03-02set the refid for v4 queries too. this allows sensor-driven ntpd to says itsChris Kuethe
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-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker
2007-01-15the new sensors tre can give us the number of sensors per type.Henning Brauer
2007-01-15Although Unix compilers accept more than one definition of a globalOtto Moerbeek
2007-01-14Add some comments on the expresssion which converts sensor timedeltasOtto Moerbeek
2006-12-28forgot a dereference in the previous conversion; ok deraadt@Christian Weisgerber
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-10-12need to call adjtime once in a while here too, otherwise sensor-onlyHenning Brauer
2006-10-12internally, ntpd doesn't work with absolute offsets to system time, butHenning Brauer
2006-08-19make sure updates from sensors have the "synced" flag setHenning Brauer
2006-06-30spacesTheo de Raadt
2006-06-02just ise "HARD" as refid with sensors for v3 clientsHenning Brauer
2006-06-01urgs, other stuff snuck inHenning Brauer
2006-06-01do not use /dev/hotplug for now, only one reader supported yetHenning Brauer
2006-05-29when we cannot open /dev/hotplug, donn't bail, just work withoutHenning Brauer
2006-05-28allow for weight to be added to sensors or servers, so that one canHenning Brauer
2006-05-28get clock src id from the timedelta sensor desc.Henning Brauer
2006-05-28if sysctl gives ENOENT the sensor is gone and we remove itHenning Brauer
2006-05-28let sensor_query handle removals itselfHenning Brauer
2006-05-28sensor_byid not needed any moreHenning Brauer
2006-05-28hotplug devid will go away in a minute, so don't use it here any longerHenning Brauer
2006-05-28do not bother with rmeoval events, we remove sensors whoch vanished orHenning Brauer
2006-05-28DV_SENSORS is no more, plug workaround for the time to the real solutionHenning Brauer
2006-05-28make use of the new hotplug events for sensors showing up or vanishingHenning Brauer
2006-05-27add sensor_byid(), return sensor by its idHenning Brauer
2006-05-27stop passing the config around all time, just store one copyHenning Brauer
2006-05-27factor out sensor_probe from sensor_scan so we can probe a sensors whenHenning Brauer
2006-05-27make ntpd listen on the hotplug socket and decode yadda yadda, becauseHenning 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