summaryrefslogtreecommitdiffstats
path: root/include/net/6lowpan.h
diff options
context:
space:
mode:
authorAlexander Aring <aar@pengutronix.de>2016-04-11 11:04:24 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-04-13 10:41:10 +0200
commitedc73417d8f33a1dd329295275168923298d9a7b (patch)
treef629c744507e2be18a485330e8b2f9bc24457c9e /include/net/6lowpan.h
parent6lowpan: add lowpan_is_ll function (diff)
downloadlinux-edc73417d8f33a1dd329295275168923298d9a7b.tar.xz
linux-edc73417d8f33a1dd329295275168923298d9a7b.zip
6lowpan: move mac802154 header
In case of link-layer specific handling for 802.15.4 we need to cast to 802.15.4 sepcific structures. Simple add this header when include the 6lowpan header. 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 'include/net/6lowpan.h')
-rw-r--r--include/net/6lowpan.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h
index 04b877c5baff..da84cf920b78 100644
--- a/include/net/6lowpan.h
+++ b/include/net/6lowpan.h
@@ -58,6 +58,9 @@
#include <net/ipv6.h>
#include <net/net_namespace.h>
+/* special link-layer handling */
+#include <net/mac802154.h>
+
#define EUI64_ADDR_LEN 8
#define LOWPAN_NHC_MAX_ID_LEN 1