summaryrefslogtreecommitdiff
path: root/lib/bluetooth.h
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@nokia.com>2011-01-25 11:45:47 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2011-01-27 11:00:21 +0200
commit2430512c983cad8c20252f1df8f297399993ca3d (patch)
treede107dc46c1a8aadfed48e1adb6b966096af8641 /lib/bluetooth.h
parent06ee7ea71b692212a116e56a4b5047ed82d453b4 (diff)
downloadbluez-2430512c983cad8c20252f1df8f297399993ca3d.tar.gz
Bluetooth: flushable packet supports headers
Modify headers to enable support for flushable packets. Following commit: 8bcbd526c84724d8de087130d53e79da256e34bf to linux kernel implements functionality on kernel side.
Diffstat (limited to 'lib/bluetooth.h')
-rw-r--r--lib/bluetooth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index a0486c7d4..bc0921e85 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -70,6 +70,11 @@ struct bt_security {
#define BT_DEFER_SETUP 7
+#define BT_FLUSHABLE 8
+
+#define BT_FLUSHABLE_OFF 0
+#define BT_FLUSHABLE_ON 1
+
/* Connection and socket states */
enum {
BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */