diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-08-27 05:45:37 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-10-29 04:42:51 -0400 |
commit | 0aca86cd92282359d2f7202804bd92e7d092c04e (patch) | |
tree | 048c313ab2a075b73fecab882a602711a5e883ab /net/batman-adv/main.h | |
parent | 7f91d06c90204227e91a1332c8c8e527009ec778 (diff) |
batman-adv: add kernel-doc for enum batadv_dbg_level
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r-- | net/batman-adv/main.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index 9b94f05f8a17..897ba6a8f8f2 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h | |||
@@ -165,12 +165,19 @@ int batadv_algo_register(struct batadv_algo_ops *bat_algo_ops); | |||
165 | int batadv_algo_select(struct batadv_priv *bat_priv, char *name); | 165 | int batadv_algo_select(struct batadv_priv *bat_priv, char *name); |
166 | int batadv_algo_seq_print_text(struct seq_file *seq, void *offset); | 166 | int batadv_algo_seq_print_text(struct seq_file *seq, void *offset); |
167 | 167 | ||
168 | /* all messages related to routing / flooding / broadcasting / etc */ | 168 | /** |
169 | * enum batadv_dbg_level - available log levels | ||
170 | * @BATADV_DBG_BATMAN: OGM and TQ computations related messages | ||
171 | * @BATADV_DBG_ROUTES: route added / changed / deleted | ||
172 | * @BATADV_DBG_TT: translation table messages | ||
173 | * @BATADV_DBG_BLA: bridge loop avoidance messages | ||
174 | * @BATADV_DBG_ALL: the union of all the above log levels | ||
175 | */ | ||
169 | enum batadv_dbg_level { | 176 | enum batadv_dbg_level { |
170 | BATADV_DBG_BATMAN = BIT(0), | 177 | BATADV_DBG_BATMAN = BIT(0), |
171 | BATADV_DBG_ROUTES = BIT(1), /* route added / changed / deleted */ | 178 | BATADV_DBG_ROUTES = BIT(1), |
172 | BATADV_DBG_TT = BIT(2), /* translation table operations */ | 179 | BATADV_DBG_TT = BIT(2), |
173 | BATADV_DBG_BLA = BIT(3), /* bridge loop avoidance */ | 180 | BATADV_DBG_BLA = BIT(3), |
174 | BATADV_DBG_ALL = 15, | 181 | BATADV_DBG_ALL = 15, |
175 | }; | 182 | }; |
176 | 183 | ||