Linux 5.7.7
[linux/fpc-iii.git] / net / batman-adv / bat_algo.h
blob686a60bc9492caacf920e477bc437f7cca154475
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors:
4 * Marek Lindner, Linus Lüssing
5 */
7 #ifndef _NET_BATMAN_ADV_BAT_ALGO_H_
8 #define _NET_BATMAN_ADV_BAT_ALGO_H_
10 #include "main.h"
12 #include <linux/netlink.h>
13 #include <linux/seq_file.h>
14 #include <linux/skbuff.h>
15 #include <linux/types.h>
17 extern char batadv_routing_algo[];
18 extern struct list_head batadv_hardif_list;
20 void batadv_algo_init(void);
21 int batadv_algo_register(struct batadv_algo_ops *bat_algo_ops);
22 int batadv_algo_select(struct batadv_priv *bat_priv, char *name);
23 int batadv_algo_seq_print_text(struct seq_file *seq, void *offset);
24 int batadv_algo_dump(struct sk_buff *msg, struct netlink_callback *cb);
26 #endif /* _NET_BATMAN_ADV_BAT_ALGO_H_ */