Repository : ssh://git@open-mesh.org/batctl
On branch : master
commit bf133f02daa92ab656efc01a3a37386a18fc69ae Author: Marek Lindner mareklindner@neomailbox.ch Date: Fri Aug 7 23:56:05 2015 +0800
batctl: add neighbor table support
Signed-off-by: Marek Lindner mareklindner@neomailbox.ch
bf133f02daa92ab656efc01a3a37386a18fc69ae debug.c | 6 ++++++ debug.h | 1 + man/batctl.8 | 3 +++ 3 files changed, 10 insertions(+)
diff --git a/debug.c b/debug.c index c3959db..bcdeef7 100644 --- a/debug.c +++ b/debug.c @@ -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", diff --git a/debug.h b/debug.h index 8287b54..6cbfcd8 100644 --- a/debug.h +++ b/debug.h @@ -31,6 +31,7 @@ #define DEBUG_ROUTING_ALGOS "routing_algos"
enum batctl_debug_tables { + BATCTL_TABLE_NEIGHBORS, BATCTL_TABLE_ORIGINATORS, BATCTL_TABLE_GATEWAYS, BATCTL_TABLE_TRANSLOCAL, diff --git a/man/batctl.8 b/man/batctl.8 index d1acd44..73d15e7 100644 --- a/man/batctl.8 +++ b/man/batctl.8 @@ -210,6 +210,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