diff options
author | Simon Wunderlich <simon@open-mesh.com> | 2013-11-21 11:52:16 +0100 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2014-01-12 14:41:16 +0100 |
commit | cb1c92ec37fb70543d133a1fa7d9b54d6f8a1ecd (patch) | |
tree | 5629a86404cd0aab5cffabfa5f769d550685f151 /net/batman-adv/types.h | |
parent | 5bc7c1eb44f25a2e0d6a37af8eb1e07c7d2d43e6 (diff) | |
download | talos-op-linux-cb1c92ec37fb70543d133a1fa7d9b54d6f8a1ecd.tar.gz talos-op-linux-cb1c92ec37fb70543d133a1fa7d9b54d6f8a1ecd.zip |
batman-adv: add debugfs support to view multiif tables
Show tables for the multi interface operation. Originator tables
are added per hard interface.
This patch also changes the API by adding the interface to the
bat_orig_print() parameters.
Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r-- | net/batman-adv/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 529b3747a085..8a1fa167e126 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -1083,7 +1083,8 @@ struct batadv_algo_ops { struct batadv_neigh_node *neigh2, struct batadv_hard_iface *if_outgoing2); /* orig_node handling API */ - void (*bat_orig_print)(struct batadv_priv *priv, struct seq_file *seq); + void (*bat_orig_print)(struct batadv_priv *priv, struct seq_file *seq, + 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); |