1 /* 1 /* 2 BlueZ - Bluetooth protocol stack for Linux 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporat 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 4 5 Written 2000,2001 by Maxim Krasnyansky <max 5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 6 6 7 This program is free software; you can redi 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Publi 8 it under the terms of the GNU General Public License version 2 as 9 published by the Free Software Foundation; 9 published by the Free Software Foundation; 10 10 11 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT W 11 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 12 OR IMPLIED, INCLUDING BUT NOT LIMITED TO TH 12 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 13 FITNESS FOR A PARTICULAR PURPOSE AND NONINF 13 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. 14 IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) A 14 IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY 15 CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUEN 15 CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES 16 WHATSOEVER RESULTING FROM LOSS OF USE, DATA 16 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 17 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TOR 17 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 18 OR IN CONNECTION WITH THE USE OR PERFORMANC 18 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 19 19 20 ALL LIABILITY, INCLUDING LIABILITY FOR INFR 20 ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS, 21 COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, REL 21 COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS 22 SOFTWARE IS DISCLAIMED. 22 SOFTWARE IS DISCLAIMED. 23 */ 23 */ 24 24 25 #ifndef __SCO_H 25 #ifndef __SCO_H 26 #define __SCO_H 26 #define __SCO_H 27 27 28 /* SCO defaults */ 28 /* SCO defaults */ 29 #define SCO_DEFAULT_MTU 500 29 #define SCO_DEFAULT_MTU 500 30 30 31 /* SCO socket address */ 31 /* SCO socket address */ 32 struct sockaddr_sco { 32 struct sockaddr_sco { 33 sa_family_t sco_family; 33 sa_family_t sco_family; 34 bdaddr_t sco_bdaddr; 34 bdaddr_t sco_bdaddr; 35 }; 35 }; 36 36 37 /* SCO socket options */ 37 /* SCO socket options */ 38 #define SCO_OPTIONS 0x01 38 #define SCO_OPTIONS 0x01 39 struct sco_options { 39 struct sco_options { 40 __u16 mtu; 40 __u16 mtu; 41 }; 41 }; 42 42 43 #define SCO_CONNINFO 0x02 43 #define SCO_CONNINFO 0x02 44 struct sco_conninfo { 44 struct sco_conninfo { 45 __u16 hci_handle; 45 __u16 hci_handle; 46 __u8 dev_class[3]; 46 __u8 dev_class[3]; 47 }; 47 }; 48 48 49 #endif /* __SCO_H */ 49 #endif /* __SCO_H */ 50 50
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.