sco.h revision 40d3651f0ad7f3e25950ff7124547438bef57be7
1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Bluez header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to Android. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19#ifndef __SCO_H 20#define __SCO_H 21#ifdef __cplusplus 22#endif 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define SCO_DEFAULT_MTU 500 25#define SCO_DEFAULT_FLUSH_TO 0xFFFF 26#define SCO_CONN_TIMEOUT (HZ * 40) 27#define SCO_DISCONN_TIMEOUT (HZ * 2) 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29#define SCO_CONN_IDLE_TIMEOUT (HZ * 60) 30struct sockaddr_sco { 31 sa_family_t sco_family; 32 bdaddr_t sco_bdaddr; 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 uint16_t sco_pkt_type; 35}; 36#define SCO_OPTIONS 0x01 37struct sco_options { 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 uint16_t mtu; 40}; 41#define SCO_CONNINFO 0x02 42struct sco_conninfo { 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 uint16_t hci_handle; 45 uint8_t dev_class[3]; 46}; 47#ifdef __cplusplus 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49#endif 50#endif 51 52