Re: [Linuxptp-devel] unknown option ntpshm_segment at line 8 in eno1 section

2015-08-03 Thread Keller, Jacob E
On Sun, 2015-08-02 at 02:58 +, Gary E. Miller wrote: Yo Richard! On Sat, 1 Aug 2015 20:09:38 +0200 Richard Cochran richardcoch...@gmail.com wrote: The configuration file scheme can't do what you want it to do, even without the ntpshm_segment option. Yeah, sadly...

Re: [Linuxptp-devel] unknown option ntpshm_segment at line 8 in eno1 section

2015-08-03 Thread Miroslav Lichvar
On Sun, Aug 02, 2015 at 02:58:34AM +, Gary E. Miller wrote: is the same as entering ptp4l -i eno1 -i eno2 Sadly, no. When you do that ptp4l only uses one SHM, not two. Now if ptp4l read the [eno1] and [eno2] sections it would work. There is one ptp4l instance (and

[Linuxptp-devel] [PATCH] Add options to configure TTL/hop limit for UDP/UDP6 transports.

2015-08-03 Thread Miroslav Lichvar
Signed-off-by: Miroslav Lichvar mlich...@redhat.com --- config.c| 12 config.h| 2 ++ default.cfg | 2 ++ ptp4l.8 | 10 ++ ptp4l.c | 3 +++ udp.c | 7 +++ udp.h | 5 + udp6.c | 6 ++ udp6.h | 5 + 9 files changed,

Re: [Linuxptp-devel] unknown option ntpshm_segment at line 8 in eno1 section

2015-08-03 Thread Gary E. Miller
Yo Miroslav! On Mon, 3 Aug 2015 11:47:43 +0200 Miroslav Lichvar mlich...@redhat.com wrote: On Sun, Aug 02, 2015 at 02:58:34AM +, Gary E. Miller wrote: is the same as entering ptp4l -i eno1 -i eno2 Sadly, no. When you do that ptp4l only uses one SHM, not two. Now if

Re: [Linuxptp-devel] [PATCH] Add options to configure TTL/hop limit for UDP/UDP6 transports.

2015-08-03 Thread Richard Cochran
I have no problem with adding these options. On Mon, Aug 03, 2015 at 03:49:43PM +0200, Miroslav Lichvar wrote: +unsigned char udp_ttl = 1; ... + if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_TTL, udp_ttl, +sizeof(udp_ttl))) { + pr_err(setsockopt

Re: [Linuxptp-devel] [PATCH] Add options to configure TTL/hop limit for UDP/UDP6 transports.

2015-08-03 Thread Keller, Jacob E
On Mon, 2015-08-03 at 22:02 +0200, Richard Cochran wrote: I have no problem with adding these options. On Mon, Aug 03, 2015 at 03:49:43PM +0200, Miroslav Lichvar wrote: +unsigned char udp_ttl = 1; ... + if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_TTL, udp_ttl, +