Re: [B.A.T.M.A.N.] [PATCH v8 05/14] batman-adv: netlink: add translation table query

2016-05-26 Thread Antonio Quartulli
On Thu, May 26, 2016 at 10:30:15AM +0200, Sven Eckelmann wrote: > Hi, > > thanks a lot for your feedback. > > > On Thursday 26 May 2016 06:39:14 Linus Lüssing wrote: > > On Mon, May 23, 2016 at 05:59:36PM +0200, Simon Wunderlich wrote: > > > +static int > > > +batadv_tt_local_dump_entry(struct s

Re: [B.A.T.M.A.N.] [PATCH v8 05/14] batman-adv: netlink: add translation table query

2016-05-26 Thread Sven Eckelmann
Hi, thanks a lot for your feedback. On Thursday 26 May 2016 06:39:14 Linus Lüssing wrote: > On Mon, May 23, 2016 at 05:59:36PM +0200, Simon Wunderlich wrote: > > +static int > > +batadv_tt_local_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, > > + struct batadv_priv *b

Re: [B.A.T.M.A.N.] [PATCH v8 05/14] batman-adv: netlink: add translation table query

2016-05-25 Thread Linus Lüssing
On Mon, May 23, 2016 at 05:59:36PM +0200, Simon Wunderlich wrote: > +static int > +batadv_tt_local_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, > +struct batadv_priv *bat_priv, > +struct batadv_tt_common_entry *common) > +{ [...] > + if (!

[B.A.T.M.A.N.] [PATCH v8 05/14] batman-adv: netlink: add translation table query

2016-05-23 Thread Simon Wunderlich
From: Matthias Schiffer This adds the commands BATADV_CMD_GET_TRANSTABLE_LOCAL and BATADV_CMD_GET_TRANSTABLE_GLOBAL, which correspond to the transtable_local and transtable_global debugfs files. The batadv_tt_client_flags enum is moved to the UAPI to expose it as part of the netlink API. Signed