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