linux/include/net/bluetooth/hci_sock.h

/*
   BlueZ - Bluetooth protocol stack for Linux
   Copyright (C) 2000-2001 Qualcomm Incorporated

   Written 2000,2001 by Maxim Krasnyansky <[email protected]>

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License version 2 as
   published by the Free Software Foundation;

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
   IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY
   CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
   ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

   ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS,
   COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS
   SOFTWARE IS DISCLAIMED.
*/

#ifndef __HCI_SOCK_H
#define __HCI_SOCK_H

/* Socket options */
#define HCI_DATA_DIR
#define HCI_FILTER
#define HCI_TIME_STAMP

/* CMSG flags */
#define HCI_CMSG_DIR
#define HCI_CMSG_TSTAMP

struct sockaddr_hci {};
#define HCI_DEV_NONE

#define HCI_CHANNEL_RAW
#define HCI_CHANNEL_USER
#define HCI_CHANNEL_MONITOR
#define HCI_CHANNEL_CONTROL
#define HCI_CHANNEL_LOGGING

struct hci_filter {};

struct hci_ufilter {};

#define HCI_FLT_TYPE_BITS
#define HCI_FLT_EVENT_BITS
#define HCI_FLT_OGF_BITS
#define HCI_FLT_OCF_BITS

/* Ioctl defines */
#define HCIDEVUP
#define HCIDEVDOWN
#define HCIDEVRESET
#define HCIDEVRESTAT

#define HCIGETDEVLIST
#define HCIGETDEVINFO
#define HCIGETCONNLIST
#define HCIGETCONNINFO
#define HCIGETAUTHINFO

#define HCISETRAW
#define HCISETSCAN
#define HCISETAUTH
#define HCISETENCRYPT
#define HCISETPTYPE
#define HCISETLINKPOL
#define HCISETLINKMODE
#define HCISETACLMTU
#define HCISETSCOMTU

#define HCIBLOCKADDR
#define HCIUNBLOCKADDR

#define HCIINQUIRY

/* Ioctl requests structures */
struct hci_dev_stats {};

struct hci_dev_info {};

struct hci_conn_info {};

struct hci_dev_req {};

struct hci_dev_list_req {};

struct hci_conn_list_req {};

struct hci_conn_info_req {};

struct hci_auth_info_req {};

struct hci_inquiry_req {};
#define IREQ_CACHE_FLUSH

#endif /* __HCI_SOCK_H */