diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-10-25 01:08:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-10-25 01:08:49 +0000 |
commit | 35c1970720a4ba8332174dc5e72d4a6bb94c62b1 (patch) | |
tree | 30cd9aa591a7fbd887e846e479d34f4d06eb03df /packet-dcerpc.h | |
parent | 75c2155cadc5385ea0c105f8e8113750402838a6 (diff) |
From Ronnie Sahlberg: Ethereal support for DCERPCSTAT.
svn path=/trunk/; revision=6499
Diffstat (limited to 'packet-dcerpc.h')
-rw-r--r-- | packet-dcerpc.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/packet-dcerpc.h b/packet-dcerpc.h index 04ab146ec2..d0a1762443 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.23 2002/10/23 03:49:10 guy Exp $ + * $Id: packet-dcerpc.h,v 1.24 2002/10/25 01:08:42 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -95,6 +95,7 @@ typedef struct _e_dce_dg_common_hdr_t { #define PDU_CO_CANCEL 18 #define PDU_ORPHANED 19 + /* * helpers for packet-dcerpc.c and packet-dcerpc-ndr.c * If you're writing a subdissector, you almost certainly want the @@ -238,4 +239,22 @@ typedef struct _dcerpc_info { void *private_data; } dcerpc_info; + +/* the registered subdissectors */ +extern GHashTable *dcerpc_uuids; + +typedef struct _dcerpc_uuid_key { + e_uuid_t uuid; + guint16 ver; +} dcerpc_uuid_key; + +typedef struct _dcerpc_uuid_value { + int proto; + int ett; + gchar *name; + dcerpc_sub_dissector *procs; + int opnum_hf; +} dcerpc_uuid_value; + + #endif /* packet-dcerpc.h */ |