diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-09-24 08:05:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-09-24 08:05:50 +0000 |
commit | d2d2015fe2511a159b096ca6d016a93a0e9b591c (patch) | |
tree | ab7ed248e762ca938a682d5dda386f82c03dd38c /packet-dcerpc-dcom.h | |
parent | 14d13e3401e0c34c139c51f5b2c716960e3a0ab2 (diff) |
From Yaniv Kaul: DCERPC OXID operation #5 dissection.
svn path=/trunk/; revision=8530
Diffstat (limited to 'packet-dcerpc-dcom.h')
-rw-r--r-- | packet-dcerpc-dcom.h | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/packet-dcerpc-dcom.h b/packet-dcerpc-dcom.h new file mode 100644 index 0000000000..f459b9468b --- /dev/null +++ b/packet-dcerpc-dcom.h @@ -0,0 +1,82 @@ +/* packet-dcerpc-dcom.h + * + * $Id: packet-dcerpc-dcom.h,v 1.1 2003/09/24 08:05:50 guy Exp $ + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@ethereal.com> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PACKET_DCERPC_DCOM_H__ +#define __PACKET_DCERPC_DCOM_H__ + +typedef struct tagCOMVERSION + { + guint16 MajorVersion; + guint16 MinorVersion; + } COMVERSION; + +typedef struct tagORPC_EXTENT + { + e_uuid_t id; + guint32 size; +/* guint8 data[]; */ + } ORPC_EXTENT; + +typedef struct tagORPC_EXTENT_ARRAY + { + guint32 size; + guint32 reserved; + ORPC_EXTENT **extent; + } ORPC_EXTENT_ARRAY; + +typedef struct tagORPCTHIS { + COMVERSION version; + guint32 flags; + guint32 reserved1; + e_uuid_t cid; + ORPC_EXTENT_ARRAY *extensions; + } ORPCTHIS; + +typedef struct tagMInterfacePointer { + guint32 ulCntData; +/* guint8 abData[]; */ + } MInterfacePointer, *PMInterfacePointer; + +typedef struct tagORPCTHAT { + guint32 flags; + ORPC_EXTENT_ARRAY *extensions; + } ORPCTHAT; + +typedef struct tagSTRINGBINDING { + unsigned short wTowerId; // Cannot be zero. + unsigned short aNetworkAddr; // Zero terminated. + } STRINGBINDING; + +typedef struct tagSECURITYBINDING { + unsigned short wAuthnSvc; // Cannot be zero. + unsigned short wAuthzSvc; // Must not be zero. + unsigned short aPrincName; // Zero terminated. + } SECURITYBINDING; + +typedef struct tagDUALSTRINGARRAY { + unsigned short wNumEntries; // Number of entries in array. + unsigned short wSecurityOffset; // Offset of security info. +/* [size_is(wNumEntries)] unsigned short aStringArray[]; */ + } DUALSTRINGARRAY; + +#endif /* packet-dcerpc-dcom.h */ |