diff options
author | Simon Wunderlich <sw@simonwunderlich.de> | 2016-07-03 13:31:47 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-08-09 07:54:43 +0200 |
commit | ea4152e1171604f325f1a5f080190823a0edbc1f (patch) | |
tree | bb735d3b5aa3cd6224d8e0fe25d6f97b061d7e64 /net/batman-adv/netlink.c | |
parent | batman-adv: Provide bla group in the mesh_info netlink msg (diff) | |
download | linux-ea4152e1171604f325f1a5f080190823a0edbc1f.tar.xz linux-ea4152e1171604f325f1a5f080190823a0edbc1f.zip |
batman-adv: add backbone table netlink support
Dump the list of bridge loop avoidance backbones via the netlink socket.
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/netlink.c')
-rw-r--r-- | net/batman-adv/netlink.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c index 464de9d05135..c3f68167591d 100644 --- a/net/batman-adv/netlink.c +++ b/net/batman-adv/netlink.c @@ -600,6 +600,13 @@ static struct genl_ops batadv_netlink_ops[] = { .policy = batadv_netlink_policy, .dumpit = batadv_bla_claim_dump, }, + { + .cmd = BATADV_CMD_GET_BLA_BACKBONE, + .flags = GENL_ADMIN_PERM, + .policy = batadv_netlink_policy, + .dumpit = batadv_bla_backbone_dump, + }, + }; /** |