On Thursday 28 April 2016 22:37:23 Andrew Lunn wrote: > From: Matthias Schiffer <[email protected]> > > Add BATADV_CMD_GET_ORIGINATORS and BATADV_CMD_GET_NEIGHBORS commands, > using handlers bat_orig_dump and bat_neigh_dump in batadv_algo_ops. Will > always return -EOPNOTSUPP for now, as no implementations exist yet. > > Signed-off-by: Matthias Schiffer <[email protected]> > --- [...] > @@ -1311,9 +1312,15 @@ struct batadv_algo_ops { > struct batadv_hard_iface *if_outgoing2); > void (*bat_neigh_print)(struct batadv_priv *priv, struct seq_file *seq); > void (*bat_neigh_free)(struct batadv_neigh_node *neigh); > + void (*bat_neigh_dump)(struct sk_buff *msg, struct netlink_callback *cb, > + struct batadv_priv *priv, > + struct batadv_hard_iface *hard_iface); > /* orig_node handling API */ > void (*bat_orig_print)(struct batadv_priv *priv, struct seq_file *seq, > struct batadv_hard_iface *hard_iface); > + void (*bat_orig_dump)(struct sk_buff *msg, struct netlink_callback *cb, > + struct batadv_priv *priv, > + struct batadv_hard_iface *hard_iface); > void (*bat_orig_free)(struct batadv_orig_node *orig_node); > int (*bat_orig_add_if)(struct batadv_orig_node *orig_node, > int max_if_num);
Kernel-doc is missing for these two new entries.
Kind regards,
Sven
signature.asc
Description: This is a digitally signed message part.
