diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-01-04 17:10:56 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-01-08 07:25:59 +0100 |
commit | 4dc315e267fe4a3c863fec21f26aa0a418c3f07a (patch) | |
tree | 28520bbff95eb443d5a338072ddab110fc1d5bb5 /net/ieee802154/6lowpan/6lowpan_i.h | |
parent | ieee802154: 6lowpan: move receive functionality (diff) | |
download | linux-4dc315e267fe4a3c863fec21f26aa0a418c3f07a.tar.xz linux-4dc315e267fe4a3c863fec21f26aa0a418c3f07a.zip |
ieee802154: 6lowpan: move transmit functionality
This patch moves all relevant transmit functionality into a separate tx.c
file. We can simple separate this functionality like we did it in mac802154.
Signed-off-by: Alexander Aring <alex.aring@gmail.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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ieee802154/6lowpan/6lowpan_i.h b/net/ieee802154/6lowpan/6lowpan_i.h index 29ec61b01752..e50f69da78eb 100644 --- a/net/ieee802154/6lowpan/6lowpan_i.h +++ b/net/ieee802154/6lowpan/6lowpan_i.h @@ -3,6 +3,7 @@ #include <linux/list.h> +#include <net/ieee802154_netdev.h> #include <net/inet_frag.h> struct lowpan_create_arg { @@ -63,4 +64,9 @@ int lowpan_net_frag_init(void); void lowpan_rx_init(void); void lowpan_rx_exit(void); +int lowpan_header_create(struct sk_buff *skb, struct net_device *dev, + unsigned short type, const void *_daddr, + const void *_saddr, unsigned int len); +netdev_tx_t lowpan_xmit(struct sk_buff *skb, struct net_device *dev); + #endif /* __IEEE802154_6LOWPAN_I_H__ */ |