Richard Cochran
2013-09-30 18:34:56 UTC
This patch series shows a way how to make the address of the server's
UNIX domain socket configurable at run time. This can be useful when
running multiple ptp4l instances. There are at least two uses cases for
this, namely when testing over a virtual tuntap network, and when
running multiple grand masters on different ports with different
settings.
Warning: compile tested only. Comments and testing are appreciated.
Thanks,
Richard
Richard Cochran (3):
Convert the hard coded UDS server path into a variable.
Introduce a configuration file option for the server's UDS address.
pmc: add a command line option to select the server's UDS address.
clock.c | 2 +-
config.c | 5 +++++
config.h | 1 +
default.cfg | 1 +
pmc.c | 12 +++++++++++-
ptp4l.c | 2 ++
uds.c | 6 ++++--
uds.h | 3 ++-
8 files changed, 27 insertions(+), 5 deletions(-)
UNIX domain socket configurable at run time. This can be useful when
running multiple ptp4l instances. There are at least two uses cases for
this, namely when testing over a virtual tuntap network, and when
running multiple grand masters on different ports with different
settings.
Warning: compile tested only. Comments and testing are appreciated.
Thanks,
Richard
Richard Cochran (3):
Convert the hard coded UDS server path into a variable.
Introduce a configuration file option for the server's UDS address.
pmc: add a command line option to select the server's UDS address.
clock.c | 2 +-
config.c | 5 +++++
config.h | 1 +
default.cfg | 1 +
pmc.c | 12 +++++++++++-
ptp4l.c | 2 ++
uds.c | 6 ++++--
uds.h | 3 ++-
8 files changed, 27 insertions(+), 5 deletions(-)
--
1.7.10.4
1.7.10.4