diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-11-05 16:56:23 +0300 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-11-06 14:32:24 +0300 |
commit | bb1cafb8fc414d6dbe933f888df6540c2ef02101 (patch) | |
tree | 56e385a44ccd1d14f962a9ae42f8584e71cfbde2 /include/net/wpan-phy.h | |
parent | 0a868b26c8ba32f6988f87dd81697917a2f612b6 (diff) | |
download | lwn-bb1cafb8fc414d6dbe933f888df6540c2ef02101.tar.gz lwn-bb1cafb8fc414d6dbe933f888df6540c2ef02101.zip |
ieee802154: add support for creation/removal of logic interfaces
Add support for two more NL802154 commands: ADD_IFACE and DEL_IFACE,
thus allowing creation and removal of logic WPAN interfaces on the top
of wpan-phy.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'include/net/wpan-phy.h')
-rw-r--r-- | include/net/wpan-phy.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/wpan-phy.h b/include/net/wpan-phy.h index a65e98509fbc..85926231c07a 100644 --- a/include/net/wpan-phy.h +++ b/include/net/wpan-phy.h @@ -41,6 +41,10 @@ struct wpan_phy { struct device dev; int idx; + struct net_device *(*add_iface)(struct wpan_phy *phy, + const char *name); + void (*del_iface)(struct wpan_phy *phy, struct net_device *dev); + char priv[0] __attribute__((__aligned__(NETDEV_ALIGN))); }; |