aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tcap-persistentdata.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-07-27 19:24:40 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-07-27 19:24:40 +0000
commit29facf8ff9be835fc97df4a96a3d649967dc00b3 (patch)
tree6f44aac0fb94a35b64a39b0819dab799f24a44f2 /epan/tcap-persistentdata.h
parentf104bfa2adba5535ff818a0afd0b9acecf0764bb (diff)
From Florent Drouin:
- add support of session management for tcap ANSI. (In fact, this support already exist for ANSI MAP subdissector, but as our simulators can reuse the tcap transaction Id, the decoding of the response may be wrong) - move the code related to asn1 in tcap.cnf, and update tcap.cnf - move the code related to the session management in tcap-persistentdata - add a compilation option to free the entry in the hashtable for a closed transaction. This is used only for tshark statistics generation, with huge file. - cleanup and add some comments Add Id tags to epan/tcap-persistentdata.{c,h} svn path=/trunk/; revision=22415
Diffstat (limited to 'epan/tcap-persistentdata.h')
-rw-r--r--epan/tcap-persistentdata.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/epan/tcap-persistentdata.h b/epan/tcap-persistentdata.h
index 2b00df6d6e..9136bf8f74 100644
--- a/epan/tcap-persistentdata.h
+++ b/epan/tcap-persistentdata.h
@@ -8,6 +8,8 @@
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
+ * $Id$
+ *
* 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
@@ -43,11 +45,13 @@ struct tcaphash_context_t {
gboolean upper_dissector;
gboolean oid_present;
gchar oid[LENGTH_OID+1];
+ gboolean subdissector_present;
dissector_handle_t subdissector_handle;
void (* callback) (tvbuff_t *,packet_info *, proto_tree *, struct tcaphash_context_t *);
struct tcaphash_begincall_t * begincall;
struct tcaphash_contcall_t * contcall;
- struct tcaphash_endcall_t * endcall;
+ struct tcaphash_endcall_t * endcall;
+ struct tcaphash_ansicall_t * ansicall;
};
struct tcaphash_begincall_t {
@@ -74,6 +78,14 @@ struct tcaphash_endcall_t {
struct tcaphash_endcall_t * previous_endcall;
};
+struct tcaphash_ansicall_t {
+ struct tcaphash_ansi_info_key_t * ansikey;
+ struct tcaphash_context_t * context;
+ gboolean father;
+ struct tcaphash_ansicall_t * next_ansicall;
+ struct tcaphash_ansicall_t * previous_ansicall;
+};
+
/* The Key for the hash table is the TCAP origine transaction identifier
of the TC_BEGIN containing the InitialDP */
@@ -103,6 +115,13 @@ struct tcaphash_end_info_key_t {
guint32 dpc_hash;
};
+struct tcaphash_ansi_info_key_t {
+ guint32 hashKey;
+ guint32 tid;
+ guint32 opc_hash;
+ guint32 dpc_hash;
+};
+
/* List of infos to store for the analyse */
struct tcapsrt_info_t {