diff options
-rw-r--r-- | Documentation/networking/batman-adv.txt | 3 | ||||
-rw-r--r-- | net/batman-adv/main.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt index a173d2a879f5..c1d82047a4b1 100644 --- a/Documentation/networking/batman-adv.txt +++ b/Documentation/networking/batman-adv.txt | |||
@@ -203,7 +203,8 @@ abled during run time. Following log_levels are defined: | |||
203 | 2 - Enable messages related to route added / changed / deleted | 203 | 2 - Enable messages related to route added / changed / deleted |
204 | 4 - Enable messages related to translation table operations | 204 | 4 - Enable messages related to translation table operations |
205 | 8 - Enable messages related to bridge loop avoidance | 205 | 8 - Enable messages related to bridge loop avoidance |
206 | 15 - enable all messages | 206 | 16 - Enable messaged related to DAT, ARP snooping and parsing |
207 | 31 - Enable all messages | ||
207 | 208 | ||
208 | The debug output can be changed at runtime using the file | 209 | The debug output can be changed at runtime using the file |
209 | /sys/class/net/bat0/mesh/log_level. e.g. | 210 | /sys/class/net/bat0/mesh/log_level. e.g. |
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 | */ |
176 | enum batadv_dbg_level { | 177 | enum 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 |