summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp_msg.c
AgeCommit message (Expand)Author
2007-10-19don't fill the logs; spotted by deraadt@ ok henning@Otto Moerbeek
2007-05-26use __packed structs for the on-the-wire packets and just memcpy at onceHenning Brauer
2006-07-01remove some unneeded includes; one found by vetinariOtto Moerbeek
2005-09-24Log source address for 'malformed packet' errors. ok henning@Darren Tucker
2004-12-14sendto() takes socklen_t as an argument; ok henning@Darren Tucker
2004-12-08use two tiny macros for copying fields out to simplify reading; henning@ okMichael Shalayeff
2004-12-08uniquely name members of s_fixedpt and l_fixedpt; henning@ okMichael Shalayeff
2004-10-22oupsHenning Brauer
2004-10-22in server mode reply with stratum from the peer that we currently preferHenning Brauer
2004-10-13in struct ntp_msg, rename "distance" to "rootdelay" to closer match RFCsHenning Brauer
2004-10-13fall cleaningHenning Brauer
2004-09-24connect() the client-side sockets. idea & test & ok camield@Henning Brauer
2004-08-30ENOBUFS, EHOSTUNREACH, ENETDOWN and EHOSTDOWN are bad reasons to log; ok otto...Theo de Raadt
2004-08-10wrong sizeof; Brian Poole <raj@cerias.purdue.edu>Henning Brauer
2004-07-11Use SA_LEN(sa) instead of sa->sa_len; ok henning@Darren Tucker
2004-07-09don't panic when sendto() fails; for the client part just re-scheduleHenning Brauer
2004-07-07* Convert to use the new double-based time handling functions.Alexander Guy
2004-06-02prepare for client functionalityHenning Brauer