aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-12 07:35:21 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-12 07:35:21 +0000
commita8fc99ae5a8d656301777a43a447f36225312b8d (patch)
tree628094cc7eb21dfe7155db88f571e6254d3e2223 /packet-dcerpc.h
parent9249d8094f32cb73c2f48da24e18ff08afa9ea16 (diff)
From Ronnie Sahlberg:
SAMR updates; a bugfix in dissect_ndr_pointer() (should not check referent id for aliases for unique pointers); enhancement to dissect_ndr_pointer() to make it possible to hand a generic int value to the dissector for the pointer object in a similar way as hf_index values are passed through the pointer layer. svn path=/trunk/; revision=4721
Diffstat (limited to 'packet-dcerpc.h')
-rw-r--r--packet-dcerpc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-dcerpc.h b/packet-dcerpc.h
index 193f0d406c..9c9211792d 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.11 2002/02/11 08:19:09 guy Exp $
+ * $Id: packet-dcerpc.h,v 1.12 2002/02/12 07:35:21 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -142,7 +142,7 @@ typedef int (dcerpc_dissect_fnct_t)(tvbuff_t *tvb, int offset, packet_info *pinf
#define NDR_POINTER_PTR 3
int dissect_ndr_pointer (tvbuff_t *tvb, gint offset, packet_info *pinfo,
proto_tree *tree, char *drep,
- dcerpc_dissect_fnct_t *fnct, int type, int hf_index);
+ dcerpc_dissect_fnct_t *fnct, int type, char *text, int hf_index, int levels);
/* dissect a NDR unidimensional conformant array */
int dissect_ndr_ucarray(tvbuff_t *tvb, gint offset, packet_info *pinfo,
@@ -206,6 +206,7 @@ typedef struct _dcerpc_info {
guint32 array_actual_count;
guint32 array_actual_count_offset;
int hf_index;
+ int levels; /* number of levels upwards in the tree to append text*/
dcerpc_call_value *call_data;
} dcerpc_info;