aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-10-01 03:57:36 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-11-07 14:00:18 -0500
commit0e861a3c4ffef56822e1d51c355e5020deaeaf5a (patch)
treeadd3d078ae497fdff62a7bad8dd83c81255b6806 /net/batman-adv/main.h
parent7cdcf6dddc428c90ac867267a8d301e9e8b25612 (diff)
batman-adv: Distributed ARP Table - add a new debug log level
A new log level has been added to concentrate messages regarding DAT: ARP snooping, requests, response and DHT related messages. The new log level is named BATADV_DBG_DAT Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 897ba6a8f8f2..c08724a165b9 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -171,6 +171,7 @@ int batadv_algo_seq_print_text(struct seq_file *seq, void *offset);
171 * @BATADV_DBG_ROUTES: route added / changed / deleted 171 * @BATADV_DBG_ROUTES: route added / changed / deleted
172 * @BATADV_DBG_TT: translation table messages 172 * @BATADV_DBG_TT: translation table messages
173 * @BATADV_DBG_BLA: bridge loop avoidance messages 173 * @BATADV_DBG_BLA: bridge loop avoidance messages
174 * @BATADV_DBG_DAT: ARP snooping and DAT related messages
174 * @BATADV_DBG_ALL: the union of all the above log levels 175 * @BATADV_DBG_ALL: the union of all the above log levels
175 */ 176 */
176enum batadv_dbg_level { 177enum batadv_dbg_level {
@@ -178,7 +179,8 @@ enum batadv_dbg_level {
178 BATADV_DBG_ROUTES = BIT(1), 179 BATADV_DBG_ROUTES = BIT(1),
179 BATADV_DBG_TT = BIT(2), 180 BATADV_DBG_TT = BIT(2),
180 BATADV_DBG_BLA = BIT(3), 181 BATADV_DBG_BLA = BIT(3),
181 BATADV_DBG_ALL = 15, 182 BATADV_DBG_DAT = BIT(4),
183 BATADV_DBG_ALL = 31,
182}; 184};
183 185
184#ifdef CONFIG_BATMAN_ADV_DEBUG 186#ifdef CONFIG_BATMAN_ADV_DEBUG