diff options
author | Sven Eckelmann <sven@narfation.org> | 2018-11-23 16:07:12 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2019-02-09 14:28:15 +0100 |
commit | 7e6f461efe2554e35b740f3faea2994fc9551947 (patch) | |
tree | 5296a62240edac69b4877e3d9f55c26fde294cff /net/batman-adv/netlink.h | |
parent | batman-adv: Add throughput_override hardif genl configuration (diff) | |
download | linux-7e6f461efe2554e35b740f3faea2994fc9551947.tar.xz linux-7e6f461efe2554e35b740f3faea2994fc9551947.zip |
batman-adv: Trigger genl notification on sysfs config change
The generic netlink code is expected to trigger notification messages when
configuration might have been changed. But the configuration of batman-adv
is most of the time still done using sysfs. So the sysfs interface should
also trigger the corresponding netlink messages via the "config" multicast
group.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/netlink.h')
-rw-r--r-- | net/batman-adv/netlink.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/batman-adv/netlink.h b/net/batman-adv/netlink.h index 216484b8b82d..7273368544fc 100644 --- a/net/batman-adv/netlink.h +++ b/net/batman-adv/netlink.h @@ -34,6 +34,12 @@ int batadv_netlink_tpmeter_notify(struct batadv_priv *bat_priv, const u8 *dst, u8 result, u32 test_time, u64 total_bytes, u32 cookie); +int batadv_netlink_notify_mesh(struct batadv_priv *bat_priv); +int batadv_netlink_notify_hardif(struct batadv_priv *bat_priv, + struct batadv_hard_iface *hard_iface); +int batadv_netlink_notify_vlan(struct batadv_priv *bat_priv, + struct batadv_softif_vlan *vlan); + extern struct genl_family batadv_netlink_family; #endif /* _NET_BATMAN_ADV_NETLINK_H_ */ |