Stig Bjørlykke
6d1dae6f28
Make all proto_* values static.
...
svn path=/trunk/; revision=30516
2009-10-11 16:24:29 +00:00
Kovarththanan Rajaratnam
7ab993bee7
Remove unused NEED_PACKET_PROTO_H variable
...
svn path=/trunk/; revision=30409
2009-10-08 17:26:57 +00:00
Kovarththanan Rajaratnam
c19f7978db
Sanitize epan includes
...
svn path=/trunk/; revision=29500
2009-08-21 20:32:50 +00:00
Kovarththanan Rajaratnam
6110a96f68
Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29345
2009-08-09 07:59:51 +00:00
Stig Bjørlykke
e3ef20f3ea
From Kovarththanan Rajaratnam:
...
Clean up header field info in asn1/*-template.c files.
From me:
Fixed a few typos in the patch.
svn path=/trunk/; revision=28817
2009-06-23 06:02:12 +00:00
Stig Bjørlykke
8b156ecfc8
Removed some "statement not reached" warnings.
...
svn path=/trunk/; revision=27827
2009-03-23 13:03:18 +00:00
Stig Bjørlykke
783fd3b199
Corrected oid names.
...
svn path=/trunk/; revision=27673
2009-03-09 13:26:47 +00:00
Bill Meier
ee908a7abd
#include <epan/conversation.h> not req'd ...
...
svn path=/trunk/; revision=27392
2009-02-07 16:01:26 +00:00
Bill Meier
35e5fa9bc1
#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...
...
svn path=/trunk/; revision=27390
2009-02-07 14:33:47 +00:00
Bill Meier
0817daf0c7
Do find_dissector_table("ber.oid") during startup
...
in proto_reg_handoff instead of during dissection.
svn path=/trunk/; revision=27008
2008-12-15 20:52:40 +00:00
Anders Broman
d7c62b2db5
Use the unmodified DialoguePDUs ASN1 file.
...
svn path=/trunk/; revision=26192
2008-09-14 14:42:39 +00:00
Anders Broman
14f76023b3
Remove the rest of the ANSI TCAP stuff.
...
svn path=/trunk/; revision=26191
2008-09-14 14:33:01 +00:00
Anders Broman
eb9dc794b2
Start to get rid of the "old" ANSI TCAP stuff.
...
svn path=/trunk/; revision=26189
2008-09-13 16:38:21 +00:00
Anders Broman
16512c7b8c
Use original UnidialoguePDUs.
...
svn path=/trunk/; revision=26188
2008-09-13 15:32:59 +00:00
Anders Broman
d8954a4c0e
Move the ITU asn1 files to /tcap
...
svn path=/trunk/; revision=26186
2008-09-13 11:44:33 +00:00
Anders Broman
228b16850c
Get rid of some unused code warnings.
...
svn path=/trunk/; revision=25843
2008-07-26 22:39:32 +00:00
Jeff Morriss
10a67c2028
sccp_ssn_table is not used so remove it. The handoff function does not need to be called after preference changes so stop doing that. Found this on the hunt for bug 2053's cause but it shouldn't (AFAICS) be related.
...
svn path=/trunk/; revision=25080
2008-04-16 14:28:22 +00:00
Stig Bjørlykke
b091b8d26c
Rewrote to use g_strlcpy and g_strlcat.
...
svn path=/trunk/; revision=24525
2008-03-01 17:23:39 +00:00
Jörg Mayer
3d22aa561b
asn1/*/Makefile.nmake were not part of the source package.
...
Spotted by Tomas Kukosa.
svn path=/trunk/; revision=23921
2007-12-19 10:02:50 +00:00
Tomas Kukosa
1e794fc494
ANSI TCAP regenerated and tested with -T -X asn2wrs options
...
asn2wrs has -T (tagged types support) and -X (new BER sttructures) default behavior
remove all -T and -X usage
svn path=/trunk/; revision=23823
2007-12-10 08:35:41 +00:00
Anders Broman
524db0a082
From Florent DROUIN:
...
Since the use of the function 'dissect_ber_tagged_type' for DialoguePortion,
the file tcap.cnf must be updated to remove the decoding of the tag and length.
This decoding is now done in the new function 'dissect_ber_tagged_type'.
The file tcap.cnf has been updated to take into account this change.
But this leads to a change in tcap.asn too, for the definition of the
ExternalPDU.
I think this part of the ASN1 file is specific to Wireshark and can be
modified.
In the meantime, I did update the DEBUG part for packet_ber.c for the function
(dissect_ber_tagged_type)
svn path=/trunk/; revision=23442
2007-11-13 21:59:53 +00:00
Anders Broman
079e1446f9
Update to use the -X and -T asn2wrs flags.
...
svn path=/trunk/; revision=23394
2007-11-07 21:22:25 +00:00
Anders Broman
1950ffc214
Apply the small performance enhancment patches for:
...
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster.
Replace
- col_append_fstr() with faster col_append_str()
- col_add_str() with col_set_str()
when it's safe
svn path=/trunk/; revision=23252
2007-10-23 05:50:00 +00:00
Jeff Morriss
1fb716d4ff
Display TCAP parameter lengths in decimal (like packet-ber does). Fix hex-pane byte highlighting for primitive parameters with tags or lengths longer than 1 octet (contructed ones are OK). Finally, fix up the indenting in this function.
...
svn path=/trunk/; revision=23154
2007-10-11 22:49:52 +00:00
Jörg Mayer
0e0bed500d
- Remove -e option if the generated -exp.cnf file isn't used.
...
- Add EXPORT_FILES to all files that still contain -e.
svn path=/trunk/; revision=23145
2007-10-11 05:27:27 +00:00
Jörg Mayer
61cde0d09e
- Change Makefiles to include preinc
...
- Add missing new directories to asn1/Makefile.nmake
svn path=/trunk/; revision=23141
2007-10-10 19:03:24 +00:00
Jörg Mayer
973239b13c
Split tcap into tcap and ansi-tcap. Just assume that all the
...
extra asn files belong to ansi-tcap.
svn path=/trunk/; revision=23134
2007-10-10 12:06:30 +00:00
Stig Bjørlykke
48de2df871
Updated tcap Makefile to also build ANSI TCAP on unix.
...
svn path=/trunk/; revision=22893
2007-09-17 18:24:20 +00:00
Jeff Morriss
e2b37cf8df
From Florent Drouin: malloc the size of the structure, not the size of a pointer to the structure. Hopefully this will fix bug 1844.
...
svn path=/trunk/; revision=22891
2007-09-17 17:53:50 +00:00
Anders Broman
0254fe13d9
Remove debug code.
...
svn path=/trunk/; revision=22867
2007-09-13 20:24:50 +00:00
Anders Broman
30e64dade4
Try to protect the hash table...
...
svn path=/trunk/; revision=22866
2007-09-13 20:20:11 +00:00
Anders Broman
120a0759b3
Warning fixes.
...
svn path=/trunk/; revision=22855
2007-09-12 18:12:18 +00:00
Anders Broman
c4daf58278
Use the new ANSI TCAP dissector.
...
svn path=/trunk/; revision=22854
2007-09-12 16:45:53 +00:00
Luis Ontanon
00c5e48a17
get users of oid_resolv to use the new oids, rollout packet-snmp.c
...
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Jörg Mayer
b312e64f6a
get_ber_length doesn't need the tree argument, get rid of it.
...
Rebuild asn1 dissectors.
svn path=/trunk/; revision=22627
2007-08-24 07:12:04 +00:00
Anders Broman
64ae231eaa
From Chris Maynard:
...
Fix display filter field problems
Correct the template files in the case of generated dissectors.
svn path=/trunk/; revision=22621
2007-08-24 05:58:08 +00:00
Anders Broman
c7fd82dbbe
Add code for finding sub dissectors.
...
svn path=/trunk/; revision=22544
2007-08-17 23:23:36 +00:00
Anders Broman
8d76d4130e
Collect context data.
...
svn path=/trunk/; revision=22528
2007-08-16 19:59:55 +00:00
Anders Broman
d2e37e0fef
Change tcap_private to ansi_tcap_private.
...
svn path=/trunk/; revision=22505
2007-08-15 05:47:17 +00:00
Anders Broman
1518d1b07a
Preparations to split the TCAP dissector into ANSI and ITU parts.
...
svn path=/trunk/; revision=22501
2007-08-14 22:05:36 +00:00
Anders Broman
2bcdc1570a
Update the makefile
...
svn path=/trunk/; revision=22498
2007-08-14 06:20:54 +00:00
Anders Broman
ba7b62649a
Add files for ANSI TCAP.
...
svn path=/trunk/; revision=22497
2007-08-14 06:14:31 +00:00
Anders Broman
4b6cfd0f16
Add the original TCAP ASN1 files.
...
svn path=/trunk/; revision=22496
2007-08-14 06:03:52 +00:00
Jeff Morriss
7c4cca3e63
From Florent Drouin:
...
Correct bug in TCAP statistics when read filter is used.
Rename the TCAP decoding functions to show which are ITU vs. ANSI.
Don't unregister an ITU SSN if it's used by an ANSI subdissector.
svn path=/trunk/; revision=22421
2007-07-30 17:10:20 +00:00
Jeff Morriss
29facf8ff9
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
2007-07-27 19:24:40 +00:00
Tomas Kukosa
e5922df225
- use #.FN_HDR where #.FN_BODY is not necessary
...
- modify subtypes for individual TCMessage/ansi... fields instead of switching based on hf_index inside common TransactionPDU type
svn path=/trunk/; revision=22411
2007-07-27 06:23:45 +00:00
Jeff Morriss
45ee7230cc
Change a bunch of calls to col_append_*() to col_add_*() in places where we
...
_want_ what's currently in the INFO column (usually a more generic message
type from a lower level dissector) replaced (usually with a more
specific--higher level--message type from the currect dissector). Add a
comment there not to change it back and to explain the use of col_set_fence()
in case someone finds data there that they _don't_ want replaced.
svn path=/trunk/; revision=22409
2007-07-26 20:05:54 +00:00
Jeff Morriss
10dcbaa760
From Florent Drouin: fix for bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1681 : initialize the variable containing the OID so the dialog portion gets decoded properly
...
svn path=/trunk/; revision=22298
2007-07-13 13:45:11 +00:00
Tomas Kukosa
1dcf2aaef0
use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)
...
svn path=/trunk/; revision=22054
2007-06-06 08:12:27 +00:00
Anders Broman
dca634c4de
Prepare for the use of the new -X parameter for BER encoded protocols.
...
svn path=/trunk/; revision=21889
2007-05-22 16:17:54 +00:00