mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
6lowpan: move 6lowpan header to include/net
This header is used by bluetooth and ieee802154 branch. This patch move this header to the include/net directory to avoid a use of a relative path in include. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
91c6922745
commit
cefc8c8a7c
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#include "6lowpan.h"
|
#include "6lowpan.h"
|
||||||
|
|
||||||
#include "../ieee802154/6lowpan.h" /* for the compression support */
|
#include <net/6lowpan.h> /* for the compression support */
|
||||||
|
|
||||||
#define IFACE_NAME_TEMPLATE "bt%d"
|
#define IFACE_NAME_TEMPLATE "bt%d"
|
||||||
#define EUI64_ADDR_LEN 8
|
#define EUI64_ADDR_LEN 8
|
||||||
|
@ -54,11 +54,10 @@
|
|||||||
#include <linux/if_arp.h>
|
#include <linux/if_arp.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/netdevice.h>
|
#include <linux/netdevice.h>
|
||||||
|
#include <net/6lowpan.h>
|
||||||
#include <net/ipv6.h>
|
#include <net/ipv6.h>
|
||||||
#include <net/af_ieee802154.h>
|
#include <net/af_ieee802154.h>
|
||||||
|
|
||||||
#include "6lowpan.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Uncompress address function for source and
|
* Uncompress address function for source and
|
||||||
* destination address(non-multicast).
|
* destination address(non-multicast).
|
||||||
|
@ -52,10 +52,10 @@
|
|||||||
#include <net/af_ieee802154.h>
|
#include <net/af_ieee802154.h>
|
||||||
#include <net/ieee802154.h>
|
#include <net/ieee802154.h>
|
||||||
#include <net/ieee802154_netdev.h>
|
#include <net/ieee802154_netdev.h>
|
||||||
|
#include <net/6lowpan.h>
|
||||||
#include <net/ipv6.h>
|
#include <net/ipv6.h>
|
||||||
|
|
||||||
#include "reassembly.h"
|
#include "reassembly.h"
|
||||||
#include "6lowpan.h"
|
|
||||||
|
|
||||||
static LIST_HEAD(lowpan_devices);
|
static LIST_HEAD(lowpan_devices);
|
||||||
|
|
||||||
|
@ -24,10 +24,10 @@
|
|||||||
#include <linux/export.h>
|
#include <linux/export.h>
|
||||||
|
|
||||||
#include <net/ieee802154_netdev.h>
|
#include <net/ieee802154_netdev.h>
|
||||||
|
#include <net/6lowpan.h>
|
||||||
#include <net/ipv6.h>
|
#include <net/ipv6.h>
|
||||||
#include <net/inet_frag.h>
|
#include <net/inet_frag.h>
|
||||||
|
|
||||||
#include "6lowpan.h"
|
|
||||||
#include "reassembly.h"
|
#include "reassembly.h"
|
||||||
|
|
||||||
static struct inet_frags lowpan_frags;
|
static struct inet_frags lowpan_frags;
|
||||||
|
Loading…
Reference in New Issue
Block a user