summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/debugfs.h
diff options
context:
space:
mode:
authorSimon Wunderlich <simon@open-mesh.com>2013-11-21 14:16:12 +0100
committerAntonio Quartulli <antonio@meshcoding.com>2014-01-12 14:41:15 +0100
commit5bc7c1eb44f25a2e0d6a37af8eb1e07c7d2d43e6 (patch)
tree95ed7f0f81e6ab7af35f95501d370bcf6f71d127 /net/batman-adv/debugfs.h
parentf3b3d9018975ffb2680b7c1d37122f9d80301587 (diff)
downloadop-kernel-dev-5bc7c1eb44f25a2e0d6a37af8eb1e07c7d2d43e6.zip
op-kernel-dev-5bc7c1eb44f25a2e0d6a37af8eb1e07c7d2d43e6.tar.gz
batman-adv: add debugfs structure for information per interface
To show information per interface, add a debugfs hardif structure similar to the system in sysfs. Hard interface folders will be created in "$debugfs/batman-adv/". Files are not yet added. 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/debugfs.h')
-rw-r--r--net/batman-adv/debugfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/debugfs.h b/net/batman-adv/debugfs.h
index 0861b62..981794f 100644
--- a/net/batman-adv/debugfs.h
+++ b/net/batman-adv/debugfs.h
@@ -24,5 +24,7 @@ void batadv_debugfs_init(void);
void batadv_debugfs_destroy(void);
int batadv_debugfs_add_meshif(struct net_device *dev);
void batadv_debugfs_del_meshif(struct net_device *dev);
+int batadv_debugfs_add_hardif(struct batadv_hard_iface *hard_iface);
+void batadv_debugfs_del_hardif(struct batadv_hard_iface *hard_iface);
#endif /* _NET_BATMAN_ADV_DEBUGFS_H_ */
OpenPOWER on IntegriCloud