batman-adv: netlink: add gateway table queries
commitd7129dafcb71adfd1a166d0477ce0f564cf410d5
authorSven Eckelmann <sven@narfation.org>
Sun, 3 Jul 2016 11:31:42 +0000 (3 13:31 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 9 Aug 2016 05:54:40 +0000 (9 07:54 +0200)
tree553aa588c486c86ac4ec07fe56d1c1fdbd2b33fd
parentf02a478f518ee5690f279c8c2d3a6222143a7b20
batman-adv: netlink: add gateway table queries

Add BATADV_CMD_GET_GATEWAYS commands, using handlers bat_gw_dump in
batadv_algo_ops. Will always return -EOPNOTSUPP for now, as no
implementations exist yet.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
include/uapi/linux/batman_adv.h
net/batman-adv/gateway_client.c
net/batman-adv/gateway_client.h
net/batman-adv/netlink.c
net/batman-adv/types.h