summaryrefslogtreecommitdiff
path: root/net/batman-adv/netlink.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-07-03 14:31:35 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2016-08-09 08:54:36 +0300
commit07a3061e0832fe22932e0fa977581e45b9c42431 (patch)
tree7ba704ec4c864bc69589ed0e3950aab259b15207 /net/batman-adv/netlink.h
parent94969208c8c7f3dd06c0e5e61155077b573d5d5f (diff)
downloadlinux-07a3061e0832fe22932e0fa977581e45b9c42431.tar.xz
batman-adv: netlink: add routing_algo query
BATADV_CMD_GET_ROUTING_ALGOS is used to get the list of supported routing algorithms. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Andrew Lunn <andrew@lunn.ch> [sven.eckelmann@open-mesh.com: Reduce the number of changes to BATADV_CMD_GET_ROUTING_ALGOS, fix includes] Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/netlink.h')
-rw-r--r--net/batman-adv/netlink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/batman-adv/netlink.h b/net/batman-adv/netlink.h
index 945653ab58c6..b399f49504df 100644
--- a/net/batman-adv/netlink.h
+++ b/net/batman-adv/netlink.h
@@ -21,6 +21,7 @@
#include "main.h"
#include <linux/types.h>
+#include <net/genetlink.h>
void batadv_netlink_register(void);
void batadv_netlink_unregister(void);
@@ -29,4 +30,6 @@ int batadv_netlink_tpmeter_notify(struct batadv_priv *bat_priv, const u8 *dst,
u8 result, u32 test_time, u64 total_bytes,
u32 cookie);
+extern struct genl_family batadv_netlink_family;
+
#endif /* _NET_BATMAN_ADV_NETLINK_H_ */