summaryrefslogtreecommitdiffstats
path: root/net/ieee802154/core.h
diff options
context:
space:
mode:
authorAlexander Aring <aar@pengutronix.de>2016-06-18 10:45:34 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-07-08 12:20:57 +0200
commit66e5c2672cd11b9310008099faf6a4ffb9dfb6d0 (patch)
tree44fa2118c4570d457a5f4cafd33ec9fdd4bc28f3 /net/ieee802154/core.h
parentaece0c3fe1f06962a591268b8c236df0ae5d9e4e (diff)
downloadlinux-66e5c2672cd11b9310008099faf6a4ffb9dfb6d0.tar.bz2
ieee802154: add netns support
This patch adds netns support for 802.15.4 subsystem. Most parts are copy&pasted from wireless subsystem, it has the identically userspace API. Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com> Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: Alexander Aring <aar@pengutronix.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/ieee802154/core.h')
-rw-r--r--net/ieee802154/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ieee802154/core.h b/net/ieee802154/core.h
index 231fade959f3..81141f58d079 100644
--- a/net/ieee802154/core.h
+++ b/net/ieee802154/core.h
@@ -38,6 +38,8 @@ wpan_phy_to_rdev(struct wpan_phy *wpan_phy)
extern struct list_head cfg802154_rdev_list;
extern int cfg802154_rdev_list_generation;
+int cfg802154_switch_netns(struct cfg802154_registered_device *rdev,
+ struct net *net);
/* free object */
void cfg802154_dev_free(struct cfg802154_registered_device *rdev);
struct cfg802154_registered_device *