mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
18722c2470
This is initial version of http://tools.ietf.org/html/draft-ietf-6lo-btle-00 By default the 6LoWPAN support is not activated and user needs to tweak /sys/kernel/debug/bluetooth/hci0/6lowpan file. The kernel needs IPv6 support before 6LoWPAN is usable. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
27 lines
847 B
C
27 lines
847 B
C
/*
|
|
Copyright (c) 2013 Intel Corp.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License version 2 and
|
|
only version 2 as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __6LOWPAN_H
|
|
#define __6LOWPAN_H
|
|
|
|
#include <linux/skbuff.h>
|
|
#include <net/bluetooth/l2cap.h>
|
|
|
|
int bt_6lowpan_recv(struct l2cap_conn *conn, struct sk_buff *skb);
|
|
int bt_6lowpan_add_conn(struct l2cap_conn *conn);
|
|
int bt_6lowpan_del_conn(struct l2cap_conn *conn);
|
|
int bt_6lowpan_init(void);
|
|
void bt_6lowpan_cleanup(void);
|
|
|
|
#endif /* __6LOWPAN_H */
|