ntp: add support for software timestamping on Linux

Enable SCM_TIMESTAMPING control messages and the socket's error queue in
order to receive our transmitted packets with a more accurate transmit
timestamp. Add a new file for Linux-specific NTP I/O and implement
processing of these messages there.
This commit is contained in:
Miroslav Lichvar
2016-10-07 17:03:09 +02:00
parent 14c8f07629
commit 997406fe47
7 changed files with 374 additions and 10 deletions

View File

@@ -82,6 +82,7 @@ typedef enum {
typedef enum {
LOGF_Reference,
LOGF_NtpIO,
LOGF_NtpIOLinux,
LOGF_NtpCore,
LOGF_NtpSignd,
LOGF_NtpSources,