RE: [iproute2-next v5] tipc: support interface name when activating UDP bearer

2019-06-23 Thread Hoang Le
com; ying@windriver.com; netdev@vger.kernel.org; tipc-discuss...@lists.sourceforge.net Subject: Re: [iproute2-next v5] tipc: support interface name when activating UDP bearer On 6/13/19 2:07 AM, Hoang Le wrote: > @@ -119,6 +121,74 @@ static int generate_multicast(short af, char *buf, in

Re: [iproute2-next v5] tipc: support interface name when activating UDP bearer

2019-06-21 Thread David Ahern
On 6/13/19 2:07 AM, Hoang Le wrote: > @@ -119,6 +121,74 @@ static int generate_multicast(short af, char *buf, int > bufsize) > return 0; > } > > +static struct ifreq ifr = {}; you don't need to initialize globals, but you could pass a a struct as the arg to the filter here which is both

[iproute2-next v5] tipc: support interface name when activating UDP bearer

2019-06-13 Thread Hoang Le
Support for indicating interface name has an ip address in parallel with specifying ip address when activating UDP bearer. This liberates the user from keeping track of the current ip address for each device. Old command syntax: $tipc bearer enable media udp name NAME localip IP New command synta