summaryrefslogtreecommitdiffstats
path: root/include/net/ieee802154_netdev.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-02-28 07:32:43 +0100
committerDavid S. Miller <davem@davemloft.net>2014-02-28 17:05:21 -0500
commit89745c9c41b093e4041f290343e8916f74f26051 (patch)
tree68e405c408295a071ed16e9e77397e031fd9554d /include/net/ieee802154_netdev.h
parent4e76ca7f3e4c4b100f19b1bdfc1ed2b541d045e2 (diff)
6lowpan: add frag information struct
This patch adds a 6lowpan fragmentation struct into cb of skb which is necessary to hold fragmentation information. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ieee802154_netdev.h')
-rw-r--r--include/net/ieee802154_netdev.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/ieee802154_netdev.h b/include/net/ieee802154_netdev.h
index 8196d5d4035..97b2e34d87f 100644
--- a/include/net/ieee802154_netdev.h
+++ b/include/net/ieee802154_netdev.h
@@ -29,6 +29,12 @@
#include <net/af_ieee802154.h>
+struct ieee802154_frag_info {
+ __be16 d_tag;
+ u16 d_size;
+ u8 d_offset;
+};
+
/*
* A control block of skb passed between the ARPHRD_IEEE802154 device
* and other stack parts.
@@ -39,6 +45,7 @@ struct ieee802154_mac_cb {
struct ieee802154_addr da;
u8 flags;
u8 seq;
+ struct ieee802154_frag_info frag_info;
};
static inline struct ieee802154_mac_cb *mac_cb(struct sk_buff *skb)