chrony/test
Miroslav Lichvar b0267475e3 ntp: extend local timestamp for PTP correction
Add two new fields to the NTP_Local_Timestamp structure:
- receive duration as the time it takes to receive the ethernet frame,
  currently known only with HW timestamping
- network correction as a generalized PTP correction

The PTP correction is provided by transparent clocks in the correction
field of PTP messages to remove the receive, processing and queueing
delays of network switches and routers. Only one-step end-to-end unicast
transparent clocks are useful for NTP-over-PTP. Two-step transparent
clocks use follow-up messages and peer-to-peer transparent clocks don't
handle delay requests.

The RX duration will be included in the network correction to compensate
for asymmetric link speeds of the server and client as the NTP RX
timestamp corresponds to the end of the reception (in order to
compensate for the asymmetry in the normal case when no corrections
are applied).
2023-09-26 15:10:19 +02:00
..
compilation configure: prefer gnutls over nss and tomcrypt for hashing 2023-09-12 10:36:23 +02:00
kernel test: extend frequency in ntp_adjtime() test 2020-08-31 10:17:21 +02:00
simulation ntp: rename exp1 extension field 2023-09-26 15:01:24 +02:00
system conf: fix reloading modified sources specified by IP address 2023-09-12 08:02:36 +02:00
unit ntp: extend local timestamp for PTP correction 2023-09-26 15:10:19 +02:00