batman-adv: netlink: add routing_algo query
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 3 Jul 2016 11:31:35 +0000 (13:31 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 9 Aug 2016 05:54:36 +0000 (07:54 +0200)
commit07a3061e0832fe22932e0fa977581e45b9c42431
tree7ba704ec4c864bc69589ed0e3950aab259b15207
parent94969208c8c7f3dd06c0e5e61155077b573d5d5f
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>
include/uapi/linux/batman_adv.h
net/batman-adv/bat_algo.c
net/batman-adv/bat_algo.h
net/batman-adv/netlink.c
net/batman-adv/netlink.h