]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: update NTP-over-PTP support
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 20 Jun 2024 07:31:31 +0000 (09:31 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 20 Jun 2024 12:35:28 +0000 (14:35 +0200)
commitc46e0549ab7ea42dd3832281915478354a5d096b
treee45a8ecd933788aedf5107977966785cc706e8f1
parent8f5b3084144967b313cfb51285bf6517e06e1b9e
ntp: update NTP-over-PTP support

Following the latest version of the draft, accept NTP messages in both
PTPv2 and PTPv2.1 messages, accept sync messages in addition to delay
request messages, and check the minorSdoId field in PTPv2.1 messages.

Transmitted messages are still PTPv2 delay requests.

Don't switch to the organization-specific TLV yet. Wait for the NTP TLV
subtype and Network Correction extension field to be assigned by IANA to
avoid an additional break in compatibility.
ntp_io.c
ptp.h