Re: [Linuxptp-devel] [PATCH 4/5] Common type holding an address

2014-04-22 Thread Jiri Benc
On Thu, 17 Apr 2014 07:19:05 +0200, Richard Cochran wrote: I don't see why you need to call into the transport twice. Can't you pass addr=NULL in order to get the default address? Makes sense. Jiri -- Jiri Benc

[Linuxptp-devel] [PATCH v2 2/2] Implement transport_sendto

2014-04-22 Thread Jiri Benc
Also, document transport_send, transport_peer and transport_sendto usage. Signed-off-by: Jiri Benc jb...@redhat.com --- transport.c |8 transport.h | 33 + 2 files changed, 41 insertions(+), 0 deletions(-) diff --git a/transport.c b/transport.c

[Linuxptp-devel] [PATCH v2 0/2] Common address struct, sendto implementation

2014-04-22 Thread Jiri Benc
Changes in v2: removed default_addr, passing NULL address to transport send methods instead. Jiri Benc (2): Common type holding an address Implement transport_sendto address.h | 38 +++ msg.h |6 raw.c | 50