batctl: add neighbor table support
Commit Message
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
debug.c | 6 ++++++
debug.h | 1 +
man/batctl.8 | 3 +++
3 files changed, 10 insertions(+)
Comments
On Friday, August 07, 2015 23:56:05 Marek Lindner wrote:
> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
> ---
> debug.c | 6 ++++++
> debug.h | 1 +
> man/batctl.8 | 3 +++
> 3 files changed, 10 insertions(+)
Applied in revision bf133f0.
Regards,
Marek
@@ -31,6 +31,12 @@
const struct debug_table_data batctl_debug_tables[BATCTL_TABLE_NUM] = {
{
+ .opt_long = "neighbors",
+ .opt_short = "n",
+ .debugfs_name = "neighbors",
+ .header_lines = 2,
+ },
+ {
.opt_long = "originators",
.opt_short = "o",
.debugfs_name = "originators",
@@ -30,6 +30,7 @@
#define DEBUG_LOG "log"
enum batctl_debug_tables {
+ BATCTL_TABLE_NEIGHBORS,
BATCTL_TABLE_ORIGINATORS,
BATCTL_TABLE_GATEWAYS,
BATCTL_TABLE_TRANSLOCAL,
@@ -204,6 +204,9 @@ The local and global translation tables also support the "\-u" and "\-m" option
List of debug tables:
.RS 10
+\- neighbors|n
+.RE
+.RS 10
\- originators|o
.RE
.RS 10