aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcap.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-9/+9
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-06-04tcaphash_context_t.oid is of size LENGTH_OID+1, not LENGTH_OID. Just use ↵Jeff Morriss1-8/+8
sizeof(tcaphash_context_t.oid) instead of LENGTH_OID so we can use that last byte. This allows us to retrieve the whole ACN when the ACN is LENGTH_OID bytes long. svn path=/trunk/; revision=33089
2010-05-11Add a little more code to avoid not-very-useful blurbs:Jeff Morriss1-6/+6
- Change spaces in the name to underscores before comparing it to the blurb. - Check if the type simply as T_ prepended to the name. - Don't put in a blurb of "NULL". and regenerate the dissectors. svn path=/trunk/; revision=32748
2010-05-11Regenerate a few more of the ASN.1 dissectorsJeff Morriss1-63/+63
svn path=/trunk/; revision=32747
2010-04-06#include <stdio.h> not needed.Bill Meier1-7/+6
svn path=/trunk/; revision=32405
2009-10-11Make all proto_* values static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30516
2009-10-09Regenerate asn1 dissectors (no change, only some line offset changes)Kovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=30454
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29499
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-4/+1
svn path=/trunk/; revision=29345
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-18/+18
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-05-16Regenerate all asn2wrs generated dissectors.Stig Bjørlykke1-5/+5
svn path=/trunk/; revision=28379
2009-03-23Removed some "statement not reached" warnings.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=27827
2009-03-09Corrected oid names.Stig Bjørlykke1-3/+3
svn path=/trunk/; revision=27673
2009-02-07#include <epan/conversation.h> not req'd ...Bill Meier1-7/+6
svn path=/trunk/; revision=27392
2009-02-07#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...Bill Meier1-7/+6
svn path=/trunk/; revision=27390
2008-12-15Do find_dissector_table("ber.oid") during startupBill Meier1-3/+2
in proto_reg_handoff instead of during dissection. svn path=/trunk/; revision=27008
2008-11-01Regenerate all asn2wrs generated dissectorsAnders Broman1-5/+5
svn path=/trunk/; revision=26670
2008-09-14Use the unmodified DialoguePDUs ASN1 file.Anders Broman1-454/+445
svn path=/trunk/; revision=26192
2008-09-14Remove the rest of the ANSI TCAP stuff.Anders Broman1-543/+50
svn path=/trunk/; revision=26191
2008-09-13Start to get rid of the "old" ANSI TCAP stuff.Anders Broman1-674/+31
svn path=/trunk/; revision=26189
2008-09-13Use original UnidialoguePDUs.Anders Broman1-147/+241
svn path=/trunk/; revision=26188
2008-07-26Get rid of some unused code warnings.Anders Broman1-89/+25
svn path=/trunk/; revision=25843
2008-04-16sccp_ssn_table is not used so remove it. The handoff function does not need ↵Jeff Morriss1-15/+6
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-03-01Rewrote to use g_strlcpy and g_strlcat.Stig Bjørlykke1-26/+27
svn path=/trunk/; revision=24525
2008-01-04Get rid of dissect_ber_boolean_value() and change the signature ofAnders Broman1-1/+1
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature. Regenerate all BER dissectors. svn path=/trunk/; revision=24015
2007-12-06fix field attributes handling for tagged typesTomas Kukosa1-4/+4
regenerate involved dissectors svn path=/trunk/; revision=23783
2007-11-13From Florent DROUIN:Anders Broman1-92/+29
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-07Update to use the -X and -T asn2wrs flags.Anders Broman1-770/+572
svn path=/trunk/; revision=23394
2007-10-11Display TCAP parameter lengths in decimal (like packet-ber does). Fix ↵Jeff Morriss1-28/+42
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-09-12Use the new ANSI TCAP dissector.Anders Broman1-2/+2
svn path=/trunk/; revision=22854
2007-08-25get users of oid_resolv to use the new oids, rollout packet-snmp.cLuis Ontanon1-1/+1
svn path=/trunk/; revision=22651
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer1-2/+2
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-08-14Preparations to split the TCAP dissector into ANSI and ITU parts.Anders Broman1-5/+44
svn path=/trunk/; revision=22501
2007-07-30From Florent Drouin:Jeff Morriss1-12/+14
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-27From Florent Drouin:Jeff Morriss1-132/+219
- 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- use #.FN_HDR where #.FN_BODY is not necessaryTomas Kukosa1-47/+79
- 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-26Change a bunch of calls to col_append_*() to col_add_*() in places where weJeff Morriss1-43/+50
_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-13From Florent Drouin: fix for bug ↵Jeff Morriss1-3/+6
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-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-154/+154
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-39/+39
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-506/+507
svn path=/trunk/; revision=21753
2007-05-06Start introducing actx to ber functions.Anders Broman1-119/+119
svn path=/trunk/; revision=21705
2007-04-23From Florent DROUIN:Anders Broman1-19/+14
I have made some changes to the final patch to have the operation code decoded as ForwardSM. A change for TCAP is included too, to be sure that the application context is not overwritten by the User Info OID (this was the case, when a MAP open dialog was included in the request). Fix bug: http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1498 svn path=/trunk/; revision=21543
2007-04-23TCAP: Fix up indentation a bit.Anders Broman1-76/+79
GSM MAP: Add returnResultNotLast from TCAP to the included ROS stuff. svn path=/trunk/; revision=21537
2007-04-23Mark all the items for TCAP statistics as generatedJeff Morriss1-39/+41
svn path=/trunk/; revision=21524
2007-04-23Formating changes and align a bit to spec.Anders Broman1-23/+36
svn path=/trunk/; revision=21521
2007-04-21EXPORT DialoguePDU UniDialoguePDU and make them callable by OID.Anders Broman1-29/+54
svn path=/trunk/; revision=21487
2007-04-21Put some missing TAG:s in the tree if internal BER fields shown.Anders Broman1-26/+39
svn path=/trunk/; revision=21486
2007-04-03Implement a proposal from Elefterios Gabriel for SCCP:Luis Ontanon1-6/+33
Add a table of DPCs and SSNs that allow to override the protocol that would be choosen so that the same SSN can use two different protocols in two different DPCs. I did not believe it someone could have done it, then I saw the captures... svn path=/trunk/; revision=21321
2007-03-21change the signature that asn2wrs generates for functions to marm all ↵Ronnie Sahlberg1-205/+205
parameters as _U_ to reduce the number of compiler warnings. update some template and cnf files to use _U_ as well svn path=/trunk/; revision=21088