diff options
author | Simon Wunderlich <simon@open-mesh.com> | 2013-11-21 13:16:12 (GMT) |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2014-01-12 13:41:15 (GMT) |
commit | 5bc7c1eb44f25a2e0d6a37af8eb1e07c7d2d43e6 (patch) | |
tree | 95ed7f0f81e6ab7af35f95501d370bcf6f71d127 /net/batman-adv/types.h | |
parent | f3b3d9018975ffb2680b7c1d37122f9d80301587 (diff) | |
download | linux-5bc7c1eb44f25a2e0d6a37af8eb1e07c7d2d43e6.tar.xz |
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/types.h')
-rw-r--r-- | net/batman-adv/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 1409279..529b374 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -84,6 +84,7 @@ struct batadv_hard_iface_bat_iv { * @rcu: struct used for freeing in an RCU-safe manner * @bat_iv: BATMAN IV specific per hard interface data * @cleanup_work: work queue callback item for hard interface deinit + * @debug_dir: dentry for nc subdir in batman-adv directory in debugfs */ struct batadv_hard_iface { struct list_head list; @@ -98,6 +99,7 @@ struct batadv_hard_iface { struct rcu_head rcu; struct batadv_hard_iface_bat_iv bat_iv; struct work_struct cleanup_work; + struct dentry *debug_dir; }; /** |