Skip to content
Commit 36402b6d authored by Florian Grandel's avatar Florian Grandel Committed by Carles Cufí
Browse files

net: pkt: time: introduce ns timestamp helper



A little refactoring that simplifies dealing with nanosecond timestamp
values in packets and further decouples calling code from PTP:

Benefits:
- simplifies calling code by removing redundant conversions.
- prepares for removing PTP dependencies from net_pkt.

Signed-off-by: default avatarFlorian Grandel <fgrandel@code-for-humans.de>
parent 8a25b039
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment