summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-10-20 09:31:22 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-10-21 01:49:25 +0300
commit6350047eb8dbd3dcf0ff29a637ece96db8f59d8d (patch)
treef6cd61e1ddf0b7602e1d73c0e929dbf5958a7cbd /net/ieee802154
parent607b0bd3f2b9ac118f2c67dbd18c55f1f5aefeb1 (diff)
downloadlinux-6350047eb8dbd3dcf0ff29a637ece96db8f59d8d.tar.xz
6lowpan: move IPHC functionality defines
This patch removes the IPHC related defines for doing bit manipulation from global 6lowpan header to the iphc file which should the only one implementation which use these defines. Also move next header compression defines to their nhc implementation. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/ieee802154')
-rw-r--r--net/ieee802154/6lowpan/tx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ieee802154/6lowpan/tx.c b/net/ieee802154/6lowpan/tx.c
index 2a5b2c2b922b..f6594a87d6fc 100644
--- a/net/ieee802154/6lowpan/tx.c
+++ b/net/ieee802154/6lowpan/tx.c
@@ -14,6 +14,9 @@
#include "6lowpan_i.h"
+#define LOWPAN_FRAG1_HEAD_SIZE 0x4
+#define LOWPAN_FRAGN_HEAD_SIZE 0x5
+
/* don't save pan id, it's intra pan */
struct lowpan_addr {
u8 mode;