]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
Add is a field to store the grandmaster the previous offset refers to. The idea is...
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 9 Jul 2022 09:00:18 +0000 (10:00 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 9 Jul 2022 09:00:18 +0000 (10:00 +0100)
nqptp-clock-sources.h

index 04fd16eda187ee09bb93c0a99e227df95ac8972f..46740faad39d11950e7082b57f46e6c7bd454ce1 100644 (file)
@@ -37,7 +37,7 @@ typedef struct {
   int follow_up_number;
   int announcements_without_followups; // add 1 for every announce, reset with a followup
   uint64_t clock_id;
-  uint64_t previous_offset, previous_offset_time;
+  uint64_t previous_offset, previous_offset_time, previous_offset_grandmaster;
   uint64_t mastership_start_time; // set to the time of the first sample used as master
 
   // for garbage collection