diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2016-08-27 20:23:38 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-09-19 20:19:34 +0200 |
commit | 70ecce91e3a2d7e332fe56fd065c67d404b8fccf (patch) | |
tree | 3a33a62c593f60583207d8db4a29e68ddea44c98 /include/net/bluetooth | |
parent | Bluetooth: Check SOL_HCI for raw socket options (diff) | |
download | linux-70ecce91e3a2d7e332fe56fd065c67d404b8fccf.tar.xz linux-70ecce91e3a2d7e332fe56fd065c67d404b8fccf.zip |
Bluetooth: Store control socket cookie and comm information
To further allow unique identification and tracking of control socket,
store cookie and comm information when binding the socket.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index bfd1590821d6..69b5174168b7 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h @@ -371,6 +371,7 @@ void hci_sock_set_flag(struct sock *sk, int nr); void hci_sock_clear_flag(struct sock *sk, int nr); int hci_sock_test_flag(struct sock *sk, int nr); unsigned short hci_sock_get_channel(struct sock *sk); +u32 hci_sock_get_cookie(struct sock *sk); int hci_sock_init(void); void hci_sock_cleanup(void); |