Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Improve Tcap session management

From: Florent Drouin <florent.drouin@xxxxxxxxxxxxxxxxx>
Date: Wed, 25 Jul 2007 17:41:02 +0200
   Hi,

Could you apply this patch to improve the Tcap session management,
and create the missing version tag in epan/tcap-persistentdata.c and epan/tcap-persistentdata.h ?
Thanks.

This patch affects the following files:
asn1/tcap/tcap.cnf
asn1/tcap/packet-tcap-template.c
asn1/tcap/packet-tcap-template.h
epan/tcap-persistentdata.c
epan/tcap-persistentdata.h

and here is the description:
- 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

Regards
Florent

Attachment: patch_tcap.tar.gz
Description: GNU Zip compressed data