Richard Cochran
2013-10-06 17:33:30 UTC
* 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 (4):
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.
clock.c | 2 +-
config.c | 5 +++++
config.h | 3 ++-
default.cfg | 1 +
gPTP.cfg | 1 +
pmc.c | 12 +++++++++++-
ptp4l.c | 2 ++
uds.c | 6 ++++--
uds.h | 3 ++-
9 files changed, 29 insertions(+), 6 deletions(-)
- 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 (4):
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.
clock.c | 2 +-
config.c | 5 +++++
config.h | 3 ++-
default.cfg | 1 +
gPTP.cfg | 1 +
pmc.c | 12 +++++++++++-
ptp4l.c | 2 ++
uds.c | 6 ++++--
uds.h | 3 ++-
9 files changed, 29 insertions(+), 6 deletions(-)
--
1.7.10.4
1.7.10.4