Discussion:
[Linuxptp-devel] [PATCHv2 0/4] timemaster
Miroslav Lichvar
2014-10-02 08:38:30 UTC
Permalink
Changes since v1:
- add support for posix_spawn() to compile on systems missing fork()
- define _GNU_SOURCE for vasprintf()
- resolve conflict with config.h
- minor updates in man page

timemaster is a program that uses ptp4l and phc2sys in combination with
chronyd or ntpd to synchronize the system clock to NTP and PTP time
sources. The PTP time is provided by phc2sys and ptp4l via SHM reference
clocks to chronyd/ntpd, which can compare all time sources and use the
best sources to synchronize the system clock.

Miroslav Lichvar (4):
Don't print messages in signal handler.
Don't include config.h in util.h
Add string and pointer array utility functions.
Add timemaster.

config.h | 8 -
incdefs.sh | 23 +-
makefile | 7 +-
phc_ctl.c | 1 +
timemaster.8 | 335 +++++++++++++++++
timemaster.c | 1171 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
util.c | 96 ++++-
util.h | 69 +++-
8 files changed, 1695 insertions(+), 15 deletions(-)
create mode 100644 timemaster.8
create mode 100644 timemaster.c
--
1.9.3
Loading...