summaryrefslogtreecommitdiff
path: root/net/ieee802154/6lowpan/6lowpan_i.h
diff options
context:
space:
mode:
authorAlexander Aring <aar@pengutronix.de>2016-04-11 12:04:18 +0300
committerMarcel Holtmann <marcel@holtmann.org>2016-04-13 11:41:09 +0300
commit2e4d60cbcfc2d16a2a2efaae3fe08f2e457d59a1 (patch)
tree1ecef44ca224fa5e64dc0dbba6f19d9c2826045c /net/ieee802154/6lowpan/6lowpan_i.h
parent5a7f97e570fbe0ae7e6fd035f7af0cd6a1a9baa1 (diff)
downloadlinux-2e4d60cbcfc2d16a2a2efaae3fe08f2e457d59a1.tar.xz
6lowpan: change naming for lowpan private data
This patch changes the naming for interface private data for lowpan intefaces. The current private data scheme is: ------------------------------------------------- | 6LoWPAN Generic | LinkLayer 6LoWPAN | ------------------------------------------------- the current naming schemes are: - 6LoWPAN Generic: - lowpan_priv - LinkLayer 6LoWPAN: - BTLE - lowpan_dev - 802.15.4: - lowpan_dev_info the new naming scheme with this patch will be: - 6LoWPAN Generic: - lowpan_dev - LinkLayer 6LoWPAN: - BTLE - lowpan_btle_dev - 802.15.4: - lowpan_802154_dev Signed-off-by: Alexander Aring <aar@pengutronix.de> Reviewed-by: Stefan Schmidt<stefan@osg.samsung.com> Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/ieee802154/6lowpan/6lowpan_i.h')
-rw-r--r--net/ieee802154/6lowpan/6lowpan_i.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ieee802154/6lowpan/6lowpan_i.h b/net/ieee802154/6lowpan/6lowpan_i.h
index b4092a9ff24a..b02b74de8ffa 100644
--- a/net/ieee802154/6lowpan/6lowpan_i.h
+++ b/net/ieee802154/6lowpan/6lowpan_i.h
@@ -48,15 +48,15 @@ static inline u32 ieee802154_addr_hash(const struct ieee802154_addr *a)
}
/* private device info */
-struct lowpan_dev_info {
+struct lowpan_802154_dev {
struct net_device *wdev; /* wpan device ptr */
u16 fragment_tag;
};
static inline struct
-lowpan_dev_info *lowpan_dev_info(const struct net_device *dev)
+lowpan_802154_dev *lowpan_802154_dev(const struct net_device *dev)
{
- return (struct lowpan_dev_info *)lowpan_priv(dev)->priv;
+ return (struct lowpan_802154_dev *)lowpan_dev(dev)->priv;
}
int lowpan_frag_rcv(struct sk_buff *skb, const u8 frag_type);