summaryrefslogtreecommitdiffstats
path: root/net/mac802154/ieee802154_i.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-12 03:36:53 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-11-12 05:10:37 +0100
commitbe4fd8e5d9f5cd3fdc368e32e7957bcb83bcbb8b (patch)
tree177a559b3871138fe989511cfc8ec6de7b5623d6 /net/mac802154/ieee802154_i.h
parent912f67aec761ea4d2107ed0bcb5aef01ae1ecd2e (diff)
downloadlinux-be4fd8e5d9f5cd3fdc368e32e7957bcb83bcbb8b.tar.bz2
mac802154: add ifname change notifier
This patch adds a netdev notifier for interface renaming. We have a name attribute inside of subif data struct. This is needed to have always the actual netdev name in sdata name attribute. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/ieee802154_i.h')
-rw-r--r--net/mac802154/ieee802154_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac802154/ieee802154_i.h b/net/mac802154/ieee802154_i.h
index 4be5e23c7e8b..69cb585e162f 100644
--- a/net/mac802154/ieee802154_i.h
+++ b/net/mac802154/ieee802154_i.h
@@ -169,6 +169,9 @@ void mac802154_get_table(struct net_device *dev,
struct ieee802154_llsec_table **t);
void mac802154_unlock_table(struct net_device *dev);
+/* interface handling */
+int ieee802154_iface_init(void);
+void ieee802154_iface_exit(void);
struct net_device *
mac802154_add_iface(struct wpan_phy *phy, const char *name, int type);
void ieee802154_if_remove(struct ieee802154_sub_if_data *sdata);