[Linuxptp-devel] Stepping the time backwards with phc2sys

2018-01-15 Thread Loy, Matthias
in dieser E-Mail enthaltene Information ist vertraulich und lediglich fuer den Empfaenger bestimmt. Sollten Sie nicht der eigentliche Empfaenger sein, informieren Sie mich bitte kurz und loeschen diese E-Mail. From 7de00c7bfb577964ec04ba4e25d1fe686116ff40 Mon Sep 17 00:00:00 2001 From: Matthias Loy

[Linuxptp-devel] understanding currentUtcOffsetValid

2018-01-13 Thread Loy, Matthias
Hi, we are not really sure about the meaning of the parameter currentUtcOffsetValid delivered by pmc GET TIME_PROPERTIES_DATA_SET. For my understanding if currentUtcOffsetValid is 0, the ptp clock uses an utc offset currentUtcOffset but is not sure whether this is the current value issued by the

[Linuxptp-devel] Wrong time structure in clock_adjtime?

2018-01-11 Thread Loy, Matthias
Hello, I am confused about the usage of clock_settime() and clock_adjtime(). The first one gets a struct timespec which contains seconds and nanosconds. clock_adjtime takes a timex structure that contains a timeval structure which holds seconds and microseconds. When looking into the source of