FIXUP: WIP: verification_trailer
[wireshark-wip.git] / epan / dissectors / packet-btl2cap.h
blob533902a7be8784c27fa3fdeeb8a38ae70d323fd0
1 /* packet-btl2cap.h
3 * $Id$
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #ifndef __PACKET_BTL2CAP_H__
25 #define __PACKET_BTL2CAP_H__
27 #define BTL2CAP_PSM_SDP 0x0001
28 #define BTL2CAP_PSM_RFCOMM 0x0003
29 #define BTL2CAP_PSM_TCS_BIN 0x0005
30 #define BTL2CAP_PSM_TCS_BIN_CORDLESS 0x0007
31 #define BTL2CAP_PSM_BNEP 0x000f
32 #define BTL2CAP_PSM_HID_CTRL 0x0011
33 #define BTL2CAP_PSM_HID_INTR 0x0013
34 #define BTL2CAP_PSM_UPNP 0x0015
35 #define BTL2CAP_PSM_AVCTP_CTRL 0x0017
36 #define BTL2CAP_PSM_AVDTP 0x0019
37 #define BTL2CAP_PSM_AVCTP_BRWS 0x001b
38 #define BTL2CAP_PSM_UDI_C_PLANE 0x001d
39 #define BTL2CAP_PSM_ATT 0x001f
40 #define BTL2CAP_PSM_3DS 0x0021
42 #define BTL2CAP_DYNAMIC_PSM_START 0x1000
44 #define BTL2CAP_FIXED_CID_NULL 0x0000
45 #define BTL2CAP_FIXED_CID_SIGNAL 0x0001
46 #define BTL2CAP_FIXED_CID_CONNLESS 0x0002
47 #define BTL2CAP_FIXED_CID_AMP_MAN 0x0003
48 #define BTL2CAP_FIXED_CID_ATT 0x0004
49 #define BTL2CAP_FIXED_CID_LE_SIGNAL 0x0005
50 #define BTL2CAP_FIXED_CID_SMP 0x0006
51 #define BTL2CAP_FIXED_CID_AMP_TEST 0x003F
52 #define BTL2CAP_FIXED_CID_MAX 0x0040
54 typedef struct _btl2cap_data_t {
55 guint32 interface_id;
56 guint32 adapter_id;
57 guint16 chandle; /* only low 12 bits used */
58 guint16 cid;
59 guint16 psm;
60 guint32 first_scid_frame;
61 guint32 first_dcid_frame;
62 guint32 remote_bd_addr_oui;
63 guint32 remote_bd_addr_id;
64 } btl2cap_data_t;
66 #endif
69 * Editor modelines - http://www.wireshark.org/tools/modelines.html
71 * Local variables:
72 * c-basic-offset: 4
73 * tab-width: 8
74 * indent-tabs-mode: nil
75 * End:
77 * vi: set shiftwidth=4 tabstop=8 expandtab:
78 * :indentSize=4:tabSize=8:noTabs=true: