rfcomm.h (2c068e0b924c6fabd9a2ac59bc451b4b656cbae3) rfcomm.h (1c64834e0624c61735308138e67cc3b527f41621)
1/*
2 RFCOMM implementation for Linux Bluetooth stack (BlueZ)
3 Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com>
4 Copyright (C) 2002 Marcel Holtmann <marcel@holtmann.org>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version 2 as
8 published by the Free Software Foundation;

--- 310 unchanged lines hidden (view full) ---

319#define RFCOMM_MAX_DEV 256
320
321#define RFCOMMCREATEDEV _IOW('R', 200, int)
322#define RFCOMMRELEASEDEV _IOW('R', 201, int)
323#define RFCOMMGETDEVLIST _IOR('R', 210, int)
324#define RFCOMMGETDEVINFO _IOR('R', 211, int)
325#define RFCOMMSTEALDLC _IOW('R', 220, int)
326
1/*
2 RFCOMM implementation for Linux Bluetooth stack (BlueZ)
3 Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com>
4 Copyright (C) 2002 Marcel Holtmann <marcel@holtmann.org>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version 2 as
8 published by the Free Software Foundation;

--- 310 unchanged lines hidden (view full) ---

319#define RFCOMM_MAX_DEV 256
320
321#define RFCOMMCREATEDEV _IOW('R', 200, int)
322#define RFCOMMRELEASEDEV _IOW('R', 201, int)
323#define RFCOMMGETDEVLIST _IOR('R', 210, int)
324#define RFCOMMGETDEVINFO _IOR('R', 211, int)
325#define RFCOMMSTEALDLC _IOW('R', 220, int)
326
327/* rfcomm_dev.flags bit definitions */
327#define RFCOMM_REUSE_DLC 0
328#define RFCOMM_RELEASE_ONHUP 1
329#define RFCOMM_HANGUP_NOW 2
330#define RFCOMM_TTY_ATTACHED 3
328#define RFCOMM_REUSE_DLC 0
329#define RFCOMM_RELEASE_ONHUP 1
330#define RFCOMM_HANGUP_NOW 2
331#define RFCOMM_TTY_ATTACHED 3
331#define RFCOMM_TTY_RELEASED 4
332#define RFCOMM_DEFUNCT_BIT4 4 /* don't reuse this bit - userspace visible */
332
333
334/* rfcomm_dev.status bit definitions */
335#define RFCOMM_DEV_RELEASED 0
336
333struct rfcomm_dev_req {
334 s16 dev_id;
335 u32 flags;
336 bdaddr_t src;
337 bdaddr_t dst;
338 u8 channel;
339};
340

--- 29 unchanged lines hidden ---
337struct rfcomm_dev_req {
338 s16 dev_id;
339 u32 flags;
340 bdaddr_t src;
341 bdaddr_t dst;
342 u8 channel;
343};
344

--- 29 unchanged lines hidden ---