aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index f9c659b3f3a9..586afafb1b67 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -147,6 +147,7 @@ enum dbg_level {
147#include <linux/seq_file.h> 147#include <linux/seq_file.h>
148#include "types.h" 148#include "types.h"
149 149
150extern char bat_routing_algo[];
150extern struct list_head hardif_list; 151extern struct list_head hardif_list;
151 152
152extern unsigned char broadcast_addr[]; 153extern unsigned char broadcast_addr[];
@@ -157,6 +158,9 @@ void mesh_free(struct net_device *soft_iface);
157void inc_module_count(void); 158void inc_module_count(void);
158void dec_module_count(void); 159void dec_module_count(void);
159int is_my_mac(const uint8_t *addr); 160int is_my_mac(const uint8_t *addr);
161int bat_algo_register(struct bat_algo_ops *bat_algo_ops);
162int bat_algo_select(struct bat_priv *bat_priv, char *name);
163int bat_algo_seq_print_text(struct seq_file *seq, void *offset);
160 164
161#ifdef CONFIG_BATMAN_ADV_DEBUG 165#ifdef CONFIG_BATMAN_ADV_DEBUG
162int debug_log(struct bat_priv *bat_priv, const char *fmt, ...) __printf(2, 3); 166int debug_log(struct bat_priv *bat_priv, const char *fmt, ...) __printf(2, 3);