diff options
author | Maciek Machnikowski <maciek@machnikowski.net> | 2022-02-21 21:06:37 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-22 17:03:40 -0800 |
commit | f64ae40de5efaa33c36f4e2226b33824ba1b42a7 (patch) | |
tree | 34d534cde652d8f2ab5429d74795e509b6c66807 /net/ipv6/tcp_ipv6.c | |
parent | cc727b6418004e90e1fea04d70f95e97dcf45331 (diff) |
testptp: add option to shift clock by nanoseconds
Add option to shift the clock by a specified number of nanoseconds.
The new argument -n will specify the number of nanoseconds to add to the
ptp clock. Since the API doesn't support negative shifts those needs to
be calculated by subtracting full seconds and adding a nanosecond offset.
Signed-off-by: Maciek Machnikowski <maciek@machnikowski.net>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Link: https://lore.kernel.org/r/20220221200637.125595-1-maciek@machnikowski.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions