Richard Cochran
2013-10-08 18:22:24 UTC
* Changes in v3:
- update man pages
* Changes in v2:
- update gPTP.cfg with the new option
- allow the maximum possible UDS path
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 (5):
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.
Extend the interface name length to allow any UDS address.
pmc: bring the man page more up to date.
clock.c | 2 +-
config.c | 5 +++++
config.h | 3 ++-
default.cfg | 1 +
gPTP.cfg | 1 +
pmc.8 | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
pmc.c | 12 +++++++++++-
ptp4l.8 | 6 +++++-
ptp4l.c | 2 ++
uds.c | 6 ++++--
uds.h | 3 ++-
11 files changed, 87 insertions(+), 9 deletions(-)
- update man pages
* Changes in v2:
- update gPTP.cfg with the new option
- allow the maximum possible UDS path
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 (5):
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.
Extend the interface name length to allow any UDS address.
pmc: bring the man page more up to date.
clock.c | 2 +-
config.c | 5 +++++
config.h | 3 ++-
default.cfg | 1 +
gPTP.cfg | 1 +
pmc.8 | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
pmc.c | 12 +++++++++++-
ptp4l.8 | 6 +++++-
ptp4l.c | 2 ++
uds.c | 6 ++++--
uds.h | 3 ++-
11 files changed, 87 insertions(+), 9 deletions(-)
--
1.7.10.4
1.7.10.4