HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / dissectors / packet-dcerpc-dcom.h
blob2fee544b034c2c719a3490ed331ab3bdd95894f9
1 /* packet-dcerpc-dcom.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_DCERPC_DCOM_H__
25 #define __PACKET_DCERPC_DCOM_H__
27 typedef struct tagCOMVERSION
29 guint16 MajorVersion;
30 guint16 MinorVersion;
31 } COMVERSION;
33 typedef struct tagORPC_EXTENT
35 e_uuid_t id;
36 guint32 size;
37 /* guint8 data[]; */
38 } ORPC_EXTENT;
40 typedef struct tagORPC_EXTENT_ARRAY
42 guint32 size;
43 guint32 reserved;
44 ORPC_EXTENT **extent;
45 } ORPC_EXTENT_ARRAY;
47 typedef struct tagORPCTHIS {
48 COMVERSION version;
49 guint32 flags;
50 guint32 reserved1;
51 e_uuid_t cid;
52 ORPC_EXTENT_ARRAY *extensions;
53 } ORPCTHIS;
55 typedef struct tagMInterfacePointer {
56 guint32 ulCntData;
57 /* guint8 abData[]; */
58 } MInterfacePointer, *PMInterfacePointer;
60 typedef struct tagORPCTHAT {
61 guint32 flags;
62 ORPC_EXTENT_ARRAY *extensions;
63 } ORPCTHAT;
65 typedef struct tagSTRINGBINDING {
66 unsigned short wTowerId; /* Cannot be zero. */
67 unsigned short aNetworkAddr; /* Zero terminated. */
68 } STRINGBINDING;
70 typedef struct tagSECURITYBINDING {
71 unsigned short wAuthnSvc; /* Cannot be zero. */
72 unsigned short wAuthzSvc; /* Must not be zero. */
73 unsigned short aPrincName; /* Zero terminated. */
74 } SECURITYBINDING;
76 typedef struct tagDUALSTRINGARRAY {
77 unsigned short wNumEntries; /* Number of entries in array. */
78 unsigned short wSecurityOffset; /* Offset of security info. */
79 /* [size_is(wNumEntries)] unsigned short aStringArray[]; */
80 } DUALSTRINGARRAY;
82 #endif /* packet-dcerpc-dcom.h */