Skip to content
Commit 792dfd4a authored by Tomasz Gorochowik's avatar Tomasz Gorochowik Committed by Jukka Rissanen
Browse files

net: gptp: Convert SyncReceiptTime to ExtendedTimestamp



SyncReceiptTime should use an ExtendedTimestamp (with fractional
nanoseconds precision). Add a struct with the definition of the needed
type and convert that variable.

The struct representing the ExtendedTimestamp is named
net_ptp_extended_time to keep consistency with the existing net_ptp_time
which is used for regular PTP timestamps.

See 802.1AS-2011 chapters 10.2.3.4 and 6.3.3.5 for more reference.

Signed-off-by: default avatarTomasz Gorochowik <tgorochowik@antmicro.com>
parent a84e60b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment