This series prepares the way for a Transparent Clock implementation.

Patches 1-4 are more or less trivial cleanups.

Patch 5 moves a large block of code from main() in ptp4l.c into
clock_create().  Right now, much of the clock initialization logic is
performed in main(), but that stuff really belongs in the clock
instance.  Two more similar patches are coming in Batch II.

Patch 6 simplifies the clock_create() interface even more.

Review and comments are welcome.

Thanks,
Richard


Richard Cochran (6):
  Properly initialize the message lists.
  fault: protect header against multiple inclusion.
  print: add missing include directive.
  config: get the time stamp information early.
  clock: simplify the create method.
  clock: remove redundant parameter from the create method.

 clock.c  | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 clock.h  |  6 +----
 config.c |  7 +----
 config.h |  1 -
 ds.h     |  5 ----
 fault.h  |  5 ++++
 msg.c    |  2 +-
 port.c   |  1 +
 print.h  |  2 ++
 ptp4l.c  | 86 ++---------------------------------------------------------
 10 files changed, 97 insertions(+), 111 deletions(-)

-- 
2.1.4


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to