bluetooth.h (91de76e661a266731fc2889a398ad1694df9d523) | bluetooth.h (2064ee332e4c1b7495cf68b84355c213d8fe71fd) |
---|---|
1/* 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License version 2 as --- 133 unchanged lines hidden (view full) --- 142 BT_INFO("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 143#define bt_dev_warn(hdev, fmt, ...) \ 144 BT_WARN("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 145#define bt_dev_err(hdev, fmt, ...) \ 146 BT_ERR("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 147#define bt_dev_dbg(hdev, fmt, ...) \ 148 BT_DBG("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 149 | 1/* 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License version 2 as --- 133 unchanged lines hidden (view full) --- 142 BT_INFO("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 143#define bt_dev_warn(hdev, fmt, ...) \ 144 BT_WARN("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 145#define bt_dev_err(hdev, fmt, ...) \ 146 BT_ERR("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 147#define bt_dev_dbg(hdev, fmt, ...) \ 148 BT_DBG("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 149 |
150#define bt_dev_err_ratelimited(hdev, fmt, ...) \ 151 BT_ERR_RATELIMITED("%s: " fmt, (hdev)->name, ##__VA_ARGS__) 152 |
|
150/* Connection and socket states */ 151enum { 152 BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ 153 BT_OPEN, 154 BT_BOUND, 155 BT_LISTEN, 156 BT_CONNECT, 157 BT_CONNECT2, --- 256 unchanged lines hidden --- | 153/* Connection and socket states */ 154enum { 155 BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ 156 BT_OPEN, 157 BT_BOUND, 158 BT_LISTEN, 159 BT_CONNECT, 160 BT_CONNECT2, --- 256 unchanged lines hidden --- |