aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcap.c
AgeCommit message (Collapse)AuthorFilesLines
2005-08-18From Tim Endean:Anders Broman1-149/+232
Small patch to ber.c The tcap dissector has been updated to use this length. I have not tested other asn.1 dissectors to ensure that they correctly use the indefinite encoding flag instead of the length value returning zero. There may also be some problems when re-assembly is needed, but the ability to deal with indefinite length is much more useful. For developers the get_ber_length now returns the length of the pdu including the EOC, where you have dissectors that use packet-ber.c the eoc may need to be dealt with separately. The tcap dissector has had numerous changes to make it less cluttered, and the useful feature of the previous version where a dialogue could be filtered out by selecting either the source or destination transaction ID has been incorporated into this version. svn path=/trunk/; revision=15414
2005-07-21change the symbol dissect_ber_CHOICE back into dissect_ber_choiceRonnie Sahlberg1-18/+18
svn path=/trunk/; revision=14980
2005-07-12Fix some more signed vs. unsigned warnings.Guy Harris1-21/+21
svn path=/trunk/; revision=14903
2005-06-26make dissect_ber_choice take a guint* that will return theRonnie Sahlberg1-37/+37
index of the branch taken or -1 to make prettifications easier to implement. change the signature of dissect_ber_choice and rename it to dissect_ber_CHOICE to catch all occurences of the use of this function update asn2eth to use the new name/signature update all occurences of this function to the new name and new signature. svn path=/trunk/; revision=14758
2005-06-23From Valery Vybornov:Anders Broman1-1/+5
add register_dissector to packet-tcap.c svn path=/trunk/; revision=14738
2005-06-21the maximum ASN OID length is 256 bytes and there is a define to control this.Ronnie Sahlberg1-2/+2
fix bug251 and all other occurances where an oid string passed to packet_ber_object_identifier() is not defined as foo[MAX_OID_STR_LEN] svn path=/trunk/; revision=14720
2005-06-20move two functions that are not used by tcap and only used by gsm_a and ↵Ronnie Sahlberg1-60/+0
gsm_ss into gsm_ss. remove the include <epan.asn1.h> from tcap since it no longer needs that file. only 9 dissectors remain that use asn1.h svn path=/trunk/; revision=14710
2005-06-16Clean up white space.Guy Harris1-78/+71
Register "standard" and "lock_info_col" as obsolete preferences, so they're silently ignored rather than triggering warnings. Propagate changes to check for "dissect_ber_octet_string()" supplying a null tvbuff pointer from the checkins to the generated dissector ("Do not modify this file" means "Do not modify this file"!) to the tcap.cnf file, so that they're not lost if the dissector is regenerated. (Don't propagate the checks for "tvb_new_subset()" returning null - it never returns null.) Pass -1 to "tvb_new_subset()" when appropriate. When looping over packet data, check against the reported length, not the captured length, so we indicate a short frame if we get stopped by the snapshot length. Get rid of unused variables. svn path=/trunk/; revision=14658
2005-06-09From Tim Endean:Anders Broman1-2/+8
Check for tvb. svn path=/trunk/; revision=14592
2005-06-08From Olivier Jacques, Anders Broman1-19/+20
- beautify TCAP decoding without upper dissector associated. With a couple of if (parameter_tvb) trown in to hopfully fix a Buildbot crash output svn path=/trunk/; revision=14590
2005-06-08From Tim Endean:Anders Broman1-1/+1
Fix ssn range svn path=/trunk/; revision=14585
2005-06-07Some fixes from Tim EndeanAnders Broman1-97/+150
svn path=/trunk/; revision=14578
2005-06-07From Tim Endean:Anders Broman1-2413/+2394
- I have had to make some changes to packet-ber to allow for PRIVATE and APPLICATION tags. - Both ANSI and ITU variants supported without configuration. - Asn.1 dissectors can now register using an OID value as well as an SSN, the oid it tried first. svn path=/trunk/; revision=14572
2005-05-03Fix two places where we might loop infinitely, including the one found inGerald Combs1-2/+10
bug 155. Fix a couple of compiler warnings. svn path=/trunk/; revision=14289
2005-05-02Use the correct parameters in a function call.Anders Broman1-1/+1
svn path=/trunk/; revision=14271
2005-05-01Make sure we pass a positive length to proto_item_set_len().Gerald Combs1-0/+1
svn path=/trunk/; revision=14254
2005-04-30Fix a buffer overflow found during fuzz testing.Gerald Combs1-2/+2
svn path=/trunk/; revision=14247
2005-02-09Move the following files from /trunk to /trunk/epan:Lars Roland1-1/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. svn path=/trunk/; revision=13366
2005-02-01Improve handling of pinfo->private_dataAnders Broman1-1/+5
svn path=/trunk/; revision=13228
2005-01-31Put application context OID in pinfo->private data to be used by ↵Anders Broman1-1/+4
sub-dissector(s). svn path=/trunk/; revision=13218
2004-12-31Use "proto_tree_add_item()" to add a chunk of bytes to the protocolGuy Harris1-2/+2
tree. svn path=/trunk/; revision=12900
2004-12-27Again, some warnings removed.Ulf Lamping1-2/+2
svn path=/trunk/; revision=12842
2004-12-26Again, some warnings removed.Ulf Lamping1-1/+1
svn path=/trunk/; revision=12837
2004-10-27Improve OID dissection and make it possible to call an "OID" Dissector for ↵Anders Broman1-31/+69
Dialougedata parameter. svn path=/trunk/; revision=12413
2004-10-17"ssn_range" needs to be a copy of "global_ssn_range", so that it's notGuy Harris1-1/+1
freed if "global_ssn_range" is changed because the preference was changed. svn path=/trunk/; revision=12321
2004-10-16Remove the fixed maximum number of subranges in a range_t; dynamicallyGuy Harris1-5/+6
allocate them to be large enough. Add checks that the numbers in the range fit in a guint32. Check the validity of a range before saving or printing, and report errors in an alert box. Clean up white space. svn path=/trunk/; revision=12320
2004-10-15Don't declare functions inside functions - not all C compilers supportGuy Harris1-16/+19
that. svn path=/trunk/; revision=12301
2004-10-14From Jeff Morriss: PREF_RANGE preference type, for ranges of integers.Guy Harris1-25/+49
svn path=/trunk/; revision=12300
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-09-04From Jeff Morriss: the code path that's bypassed with the "if (tree)"Guy Harris1-16/+12
and "if (!tree)" checks updates the Info column and calls subdissectors, so we can't bypass all of it - don't bypass any of it. svn path=/trunk/; revision=11903
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+2900
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410