aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-q932.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-08Replace deprecated tvb_length with tvb_reported_length.AndersBroman1-1/+1
Change-Id: I45d2ae41da823c50ba383a8e2aaec570ee3ad842 Reviewed-on: https://code.wireshark.org/review/7979 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-13ASN1: Register PDU-dissectors as NEWStig Bjørlykke1-9/+15
Change-Id: I1a317b19d8076588c9305dae6287bb80cc14da64 Reviewed-on: https://code.wireshark.org/review/4494 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-08-09Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors.Michael Mann1-14/+32
This mostly involved adding expert info capabilities to many of the dissectors so that they could correctly flag error conditions. Only remaining proto_tree_add_text calls are in H248.cnf, which has a convoluted way of using hf_ data to make its tree. Change-Id: I6412150c2ec1977d7fa38f3f0ed416680bdfb141 Reviewed-on: https://code.wireshark.org/review/3500 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-22convert to proto_tree_add_subtree[_format] for ASN.1 dissectorsMichael Mann1-4/+4
Change-Id: I753ca95e2e1b38bad2c09955317e648c525e40ef Reviewed-on: https://code.wireshark.org/review/2509 Tested-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-1/+1
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-1/+1
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-1/+1
tvb_new_subset -> tvb_new_subset_remaining it appears that's what the intention is. Change-Id: I2334bbf3f10475b3c22391392fc8b6864454de2d Reviewed-on: https://code.wireshark.org/review/1999 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-02-26Remove trailing whitespace from asn1 .cnf & template.[hc] files. Regenerate ↵Bill Meier1-10/+10
dissectors. Change-Id: I0e779b2ac2f608356649c5bbfca438141070dea4 Reviewed-on: https://code.wireshark.org/review/412 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-7/+5
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954 Reviewed-on: https://code.wireshark.org/review/244 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-12-19Rename a couple of to_str functions to have ep_ in the name. This makes itEvan Huus1-1/+1
obvious that the returned string is ephemeral, and opens up the original names in the API for versions that take a wmem pool (and thus can work in any scope). svn path=/trunk/; revision=54249
2013-12-17Make local functions static. Include *.h when needed.Anders Broman1-1/+1
svn path=/trunk/; revision=54201
2013-12-08- Forward declaration of register functions.Anders Broman1-5/+7
svn path=/trunk/; revision=53861
2013-11-03Have rose_ctx_t passed into subdissectors instead of using pinfo->private_data.Michael Mann1-4/+3
svn path=/trunk/; revision=53061
2013-05-27Postfix FT_NONE fields with "_element" string to reduce number of ↵Pascal Quantin1-13/+13
incompatible filters in ASN.1 dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2402 svn path=/trunk/; revision=49599
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2013-03-19From beroset:Anders Broman1-3/+3
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429
2013-02-17Add a preferense to the Q.932 dissector wether facility messages should be ↵Anders Broman1-14/+60
dissected as QSIG or ETSI. Add the ISUP Supplementary services dissector. svn path=/trunk/; revision=47713
2012-09-24Regenerate asn.1 dissectors.Jakub Zawadzki1-5/+5
svn path=/trunk/; revision=45110
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-10-15Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;Bill Meier1-1/+1
The only change in each file is in a comment showing the asn2wrs cmd used to build that file. svn path=/trunk/; revision=39427
2011-09-27Get rid of check_col, while at it set ENC.Anders Broman1-5/+5
svn path=/trunk/; revision=39164
2011-05-13Regenerate ASN.1 dissectors to update the #line directive.Stig Bjørlykke1-11/+11
svn path=/trunk/; revision=37118
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
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-05-11Add a little more code to avoid not-very-useful blurbs:Jeff Morriss1-3/+3
- 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-37/+37
svn path=/trunk/; revision=32746
2009-10-11Make all proto_* values static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30516
2009-06-26Re-generate asn1 dissectors after hf_register_info cleanup.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28848
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-8/+8
(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-1/+1
svn path=/trunk/; revision=28379
2009-02-07#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...Bill Meier1-6/+5
svn path=/trunk/; revision=27390
2009-01-28#include prefs.h not req'dBill Meier1-6/+5
svn path=/trunk/; revision=27322
2008-11-04asn2wrs generated files changed as a result of recent asn1 template changes Bill Meier1-9/+4
svn path=/trunk/; revision=26698
2008-07-26Get rid of few warnings (unused generated code, signed/unsigned mismatch)Tomas Kukosa1-2/+2
svn path=/trunk/; revision=25839
2008-05-21Fix some of the Errors/warnings detected by checkapi.Anders Broman1-4/+5
svn path=/trunk/; revision=25335
2008-01-04Get rid of dissect_ber_boolean_value() and change the signature ofAnders Broman1-3/+3
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-2/+2
regenerate involved dissectors svn path=/trunk/; revision=23783
2007-10-17- register QSIG over SIPTomas Kukosa1-2/+2
- regenerate Q932, Q932-ROS, QSIG from new makefiles svn path=/trunk/; revision=23215
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-07-20QSIG fully implementedTomas Kukosa1-0/+2
svn path=/trunk/; revision=22361
2007-07-18rose_ctx_t structure usage in Q.932 dissectorTomas Kukosa1-7/+11
svn path=/trunk/; revision=22349
2007-07-13- get rid of anonymous unionsTomas Kukosa1-1/+1
- move some structures from packet-per and packet-q932-ros to asn1.h svn path=/trunk/; revision=22295
2007-06-05Q.932 and QSIG regenerated with -X (new BER) optionTomas Kukosa1-206/+101
svn path=/trunk/; revision=22044
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-45/+45
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-13/+13
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-136/+143
svn path=/trunk/; revision=21753
2007-05-06Start introducing actx to ber functions.Anders Broman1-34/+34
svn path=/trunk/; revision=21705
2007-05-04- Q.932: fix warningsTomas Kukosa1-7/+4
- RNSAP: generate field functions only for necessary types - other dissectors regenerated svn path=/trunk/; revision=21683
2007-05-04fix few warnings in Q.932 and QSIG dissectorsTomas Kukosa1-5/+8
svn path=/trunk/; revision=21677
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa1-1/+1
private implementations were renamed EXTERNAL -> EXTERNALt svn path=/trunk/; revision=21662