summaryrefslogtreecommitdiff
path: root/packet-dcerpc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-12-06 23:30:36 +0000
committerGuy Harris <guy@alum.mit.edu>2001-12-06 23:30:36 +0000
commit787a331ae6c64dd6413825224010639a1b238fab (patch)
tree30bc4e9802cc032eed98e48e35ab63cf77012664 /packet-dcerpc.h
parent4e775d2e64678568bf04bea31c27f5cb47f07c25 (diff)
downloadwireshark-787a331ae6c64dd6413825224010639a1b238fab.tar.gz
From Todd Sabin:
add "dissect_ndr_ctx_hnd()" for dissecting context handles, and use it in various DCERPC dissectors; beef up the MS Security Account Manager dissector. Also, export "NT_errors[]" for use by that dissector. svn path=/trunk/; revision=4350
Diffstat (limited to 'packet-dcerpc.h')
-rw-r--r--packet-dcerpc.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/packet-dcerpc.h b/packet-dcerpc.h
index 14a207a988..c2799ccb17 100644
--- a/packet-dcerpc.h
+++ b/packet-dcerpc.h
@@ -1,7 +1,7 @@
/* packet-dcerpc.h
* Copyright 2001, Todd Sabin <tas@webspan.net>
*
- * $Id: packet-dcerpc.h,v 1.4 2001/11/27 09:27:29 guy Exp $
+ * $Id: packet-dcerpc.h,v 1.5 2001/12/06 23:30:35 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -32,6 +32,11 @@ typedef struct _e_uuid_t {
guint8 Data4[8];
} e_uuid_t;
+typedef struct _e_ctx_hnd {
+ guint32 Data1;
+ e_uuid_t uuid;
+} e_ctx_hnd;
+
typedef struct _e_dce_cn_common_hdr_t {
guint8 rpc_ver;
guint8 rpc_ver_minor;
@@ -117,6 +122,9 @@ int dissect_ndr_uint32 (tvbuff_t *tvb, gint offset, packet_info *pinfo,
int dissect_ndr_uuid_t (tvbuff_t *tvb, gint offset, packet_info *pinfo,
proto_tree *tree, char *drep,
int hfindex, e_uuid_t *pdata);
+int dissect_ndr_ctx_hnd (tvbuff_t *tvb, gint offset, packet_info *pinfo,
+ proto_tree *tree, char *drep,
+ int hfindex, e_ctx_hnd *pdata);
typedef int (dcerpc_dissect_fnct_t)(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *drep);