Re: [tipc-discussion] [PATCH iproute2 4/4] tipc: implement bearer add functionality

2016-05-26 Thread Erik Hugne
> .ti -8 > +.B tipc bearer add remoteip REMOTEIP media udp name NAME Why is the parameter order different from "bearer enable"? tipc bearer enable media udp localip xxx name yyy? Or can you specify it in this order when adding replicast remoteips aswell? //E ---

[tipc-discussion] [PATCH iproute2 4/4] tipc: implement bearer add functionality

2016-05-26 Thread Richard Alpe
This patch introduces "tipc bearer add" which can be used to add remoteip addresses to an existing UDP bearer. This puts the bearer in replicast mode, which means the bearer will emulate mutlicast by sending multiple unicast copies of the same packet. This allow more than two nodes to communicate

[tipc-discussion] [PATCH iproute2 3/4] tipc: add the ability to print UDP bearer options

2016-05-26 Thread Richard Alpe
In this patch we add the ability to print local and remote UDP bearer information. More specifically localip, localport, remoteip and remoteport. Signed-off-by: Richard Alpe --- man/man8/tipc-bearer.8 | 31 ++-- tipc/bearer.c | 134 --

[tipc-discussion] [PATCH iproute2 1/4] tipc: fix UDP bearer synopsis

2016-05-26 Thread Richard Alpe
Local ip is not required to identify a UDP bearer and shouldn't be passed to bearer disable, set or get. In this patch we remove the localip entry from the synopsis of these functions. Signed-off-by: Richard Alpe --- man/man8/tipc-bearer.8 | 14 -- 1 file changed, 4 insertions(+), 10

[tipc-discussion] [PATCH iproute2 0/4] introduce bearer get and bearer add

2016-05-26 Thread Richard Alpe
Here is a early preview of the bearer add (replicast) and bearer get functions I'm working on. There is still some testing and tweaking left for the replicast functionality. You can expect a new version of this and the kernel counterpart next week. Richard Alpe (4): tipc: fix UDP bearer synopsi

[tipc-discussion] [PATCH iproute2 2/4] tipc: remove redundant function enable_l2_bearer()

2016-05-26 Thread Richard Alpe
Signed-off-by: Richard Alpe --- tipc/bearer.c | 21 ++--- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/tipc/bearer.c b/tipc/bearer.c index 30b54d9..32abad6 100644 --- a/tipc/bearer.c +++ b/tipc/bearer.c @@ -67,8 +67,7 @@ static void cmd_bearer_enable_udp_help(str