Re: [B.A.T.M.A.N.] [PATCH 05/10] batman-adv: netlink: add originator and neighbor table queries

Sven Eckelmann
2016-04-29T21:05:30Z

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

On Thursday 28 April 2016 22:37:23 Andrew Lunn wrote:
> From: Matthias Schiffer <mschiffer@universe-factory.net>
>
> 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 <mschiffer@universe-factory.net>
> ---
[...]
> @@ -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.