batman-adv: netlink: hardif query
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 3 Jul 2016 11:31:36 +0000 (13:31 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 9 Aug 2016 05:54:36 +0000 (07:54 +0200)
commitb60620cf567b79da46096a0ba29b39f23b6e7f1c
tree8bbeb4bcc0f5534f049f609a1b0bc2f60679e4a5
parent07a3061e0832fe22932e0fa977581e45b9c42431
batman-adv: netlink: hardif query

BATADV_CMD_GET_HARDIFS will return the list of hardifs (including index,
name and MAC address) of all hardifs for a given softif.

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_HARDIFS, add policy for attributes]
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/netlink.c