3 * BlueZ - Bluetooth protocol stack for Linux
5 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
6 * Copyright (C) 2002-2008 Marcel Holtmann <marcel@holtmann.org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
33 #define SCO_DEFAULT_MTU 500
34 #define SCO_DEFAULT_FLUSH_TO 0xFFFF
36 #define SCO_CONN_TIMEOUT (HZ * 40)
37 #define SCO_DISCONN_TIMEOUT (HZ * 2)
38 #define SCO_CONN_IDLE_TIMEOUT (HZ * 60)
40 /* SCO socket address */
42 sa_family_t sco_family;
46 /* set/get sockopt defines */
47 #define SCO_OPTIONS 0x01
52 #define SCO_CONNINFO 0x02