mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
ntp: add support for HW timestamping on Linux
Add a new directive to specify interfaces which should be used for HW timestamping. Extend the Linux ntp_io initialization to enable HW timestamping, configure the RX filter using the SIOCSHWTSTAMP ioctl, open their PHC devices, and track them as hwclock instances. When messages with HW timestamps are received, use the PTP_SYS_OFFSET ioctl to make PHC samples for hwclock.
This commit is contained in:
Reference in New Issue
Block a user