[chrony-users] [PATCH] socket: enable nanosecond resolution receive timestamp on FreeBSD

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


This is just a quick patch to get better resolution receive timestamps from
the kernel.  As far as I can tell, the timestamps are supposed to be using
the unix epoch.  If not, I can switch it up from SO_TS_REALTIME to
SO_TS_MONOTONIC which does marginally less work but its epoch isn't January
1, 1970 - it's essentially the uptime.

Let me know if I missed anything.

Jeff.






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/