aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/atn-ulcs
AgeCommit message (Collapse)AuthorFilesLines
2014-12-23asn1 generated dissectors: cleanup #include usageBill Meier1-10/+6
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387 Reviewed-on: https://code.wireshark.org/review/6008 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-21Have a heur_dissector_list_t be an opaque handle.Guy Harris1-3/+1
This allows dissector lists to be looked up by name, so they can be shared by multiple dissectors. (This means that there's no "udplite" heuristic dissector list, but there shouldn't be one - protocols can run atop UDP or UDPLite equally well, and they share a port namespace and uint dissector table, so they should share a heuristic dissector table as well.) Change-Id: Ifb2d2c294938c06d348a159adea7a57db8d770a7 Reviewed-on: https://code.wireshark.org/review/5936 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-10-13ASN1: Register PDU-dissectors as NEWStig Bjørlykke2-6/+7
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-4/+11
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-07-30Add some files under asn1 to the distribution.Guy Harris1-1/+1
Include CMakeLists.txt files and the gnm subdirectory, along with the top-level Makefile.inc and Makefile.preinc files. Don't explicitly include Custom.make, as automake does that automatically given that it's included by asn1/Makefile.am. Add some files to EXTRA_DIST lists. Move some .asn files to EXTRA_DIST; they don't need to be in SRC_FILES, as SRC_FILES always includes EXTRA_DIST, and they *do* need to be in EXTRA_DIST so that they're in the distribution. Change-Id: Id91df577260fa57028d40fe098be1d79c59398e6 Reviewed-on: https://code.wireshark.org/review/3273 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-22Get rid of some unused variables.Guy Harris1-1/+0
Change-Id: I2a806af639e5f0519ba93b0048ec7a4624fa33fc Reviewed-on: https://code.wireshark.org/review/2567 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-22convert to proto_tree_add_subtree[_format] for ASN.1 dissectorsMichael Mann2-35/+12
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-05-27Fix build on my old Windows XP Buildbot (With VS2008EE) (Try 2...)Alexis La Goutte1-0/+2
../../asn1/atn-ulcs/packet-atn-ulcs-template.c(126) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory Change-Id: Id3c3082fe91a79e44abbfd4e2b2f1fc7d5c183d4 Reviewed-on: https://code.wireshark.org/review/1814 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-05-21Change the signature of dissector_try_heuristic() to return hdtbl_entryAndersBroman2-2/+8
which can be used to call the found heuristic dissector on the next pass. Introduce call_heur_dissector_direct() to be used to call a heuristic dissector which accepted the frame on the first pass. Change-Id: I524edd717b7d92b510bd60acfeea686d5f2b4582 Reviewed-on: https://code.wireshark.org/review/1697 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-06Apply found fix-encoding-args.pl errors in the dissector directory.Michael Mann1-1/+1
I coincidentally found a few files with errors, so I thought it might be time to run it on the whole directory again. Change-Id: Ia32e54b3b1b94e5a418ed758ea79807c8bc7e798 Reviewed-on: https://code.wireshark.org/review/978 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-17Revert de6bfa12b0c002e1930cfb9946078097d294acf8 (break Linux and Mac OS X ↵Alexis La Goutte1-0/+1
buildbot...) Change-Id: If5a6a77909b2d178052605cf2fc6fc0ef758553c Reviewed-on: https://code.wireshark.org/review/706 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-03-17Fix build on my old Windows XP Buildbot (With VS2008EE)Alexis La Goutte1-1/+0
../../asn1/atn-ulcs/packet-atn-ulcs-template.c(126) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory Change-Id: I8825a2f0b6440ec5a4bbfb49ea5c183dd8cbf03f Reviewed-on: https://code.wireshark.org/review/705 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-10Use tvb_length() instead of tvb_reported_length_remaining() for a heuristics ↵Bill Meier1-1/+1
length check. Change-Id: I197fe3d401ffb2d5894c823690a11f4a68fb7268 Reviewed-on: https://code.wireshark.org/review/585 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-02-26Remove trailing whitespace from asn1 .cnf & template.[hc] files. Regenerate ↵Bill Meier2-23/+23
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 Morriss7-16/+0
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>
2014-01-14But *do* cast const void * to the appropriate type.Guy Harris1-4/+4
svn path=/trunk/; revision=54778
2014-01-14Don't cast away constness.Guy Harris1-6/+6
svn path=/trunk/; revision=54777
2013-12-11Fix (-W)unused-const-variable error found by ClangAlexis La Goutte1-2/+2
svn path=/trunk/; revision=53935
2013-12-10comment out unused functionsMartin Kaiser1-0/+2
fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9538 reported by Yaniv Kaul svn path=/trunk/; revision=53902
2013-12-10- Forward declaration of register functions.Anders Broman1-1/+4
svn path=/trunk/; revision=53901
2013-11-22Fix unused-const-variable error when build with clang 3.4Alexis La Goutte1-0/+2
svn path=/trunk/; revision=53509
2013-11-17Add a way to retrieve a PER variable bit string lengthPascal Quantin1-2/+4
svn path=/trunk/; revision=53382
2013-10-31Add a data parameter to call_ber_oid_callback to be able to pass data to ↵Michael Mann1-2/+2
subdissectors found with dissector_try_string_new. The intention is to aid in the removal of pinfo->private_data use as well as static global variables in a dissector. For now, all calls to call_ber_oid_callback have the data parameter set to NULL. svn path=/trunk/; revision=52994
2013-09-15Fix checkapi warnings (missing id)Jörg Mayer4-18/+73
Replace Makefile.{am,nmake,common} that did not conform by their asn1/c133/ version. svn path=/trunk/; revision=52062
2013-09-12Give various files RCS IDs.Guy Harris2-1/+3
svn path=/trunk/; revision=51963
2013-09-08Add a chunk forgotten in r51846Pascal Quantin1-57/+59
svn path=/trunk/; revision=51847
2013-09-08Slightly different fix for ↵Pascal Quantin1-64/+66
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9117 : Check that tvb returned by dissect_per_bit_string is not null before trying to use it svn path=/trunk/; revision=51846
2013-09-07Fix the FSF address in the license header for the new ASN.1 dissectors.Evan Huus2-7/+3
svn path=/trunk/; revision=51830
2013-09-05Convert atn-* dissectors to wmem. No emem in new code please!Evan Huus3-41/+34
svn path=/trunk/; revision=51780
2013-09-05Add missing CMakeLists.txt filesJörg Mayer1-0/+56
svn path=/trunk/; revision=51771
2013-08-08From Mathias Guettler:Anders Broman7-0/+2149
New dissector for Air/Ground Datalink ICAO doc 9705 Ed2: ULCS, CM, CPDLC. Just adding the files to SVN for now. svn path=/trunk/; revision=51210