aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ranap
Commit message (Collapse)AuthorAgeFilesLines
* [GTPv2] Dissect UTRAN F-Container content.AndersBroman2015-11-032-0/+8
| | | | | | | | | | Change-Id: Idaf07e31876b453f88c5fd7e886c72dffcb35a96 Reviewed-on: https://code.wireshark.org/review/11492 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com> (cherry picked from commit 1316fdf209af0ff5a881dc8ae1ad8ede6ef78bda) Reviewed-on: https://code.wireshark.org/review/11522
* Remove all preferences related to enabling/disabling heuristic dissectors.Michael Mann2015-07-171-6/+3
| | | | | | | | | | | | | The preferences are still supported for backwards compatibility, but the heuristic_protos file has final say on the "preference" to enable/disable a heuristic dissector. Also add parameter to heur_dissector_add() for the "default" enable/disable of a heuristic dissector. With this parameter, a few more (presumably weak) heuristic dissectors have been "registered" but of course default to being disabled. Change-Id: I51bebb2146ef3fbb8418d4f5c7f2cb2b58003a22 Reviewed-on: https://code.wireshark.org/review/9610 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
* Add "user presentable" and "unique string ids" to heuristic table entries.Michael Mann2015-07-121-2/+2
| | | | | | | | | This allows better presentation of heuristic dissectors to the end user. Change-Id: I2ff3985ab914e83c2989880cc0c7b9904045b3f6 Reviewed-on: https://code.wireshark.org/review/9602 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
* RANAP: if bindingid looks like port number, extract and showMartin Mathieson2015-07-081-0/+12
| | | | | | | | Change-Id: Ibfb98bf72ebbd620f21a13e5a4435144a8ef9f6a Reviewed-on: https://code.wireshark.org/review/9560 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
* RANAP: call nsap properly when bindingID is included in transport addressMartin Mathieson2015-06-231-3/+4
| | | | | | | Change-Id: I45fed890cc2f7f5d106bbb7b35038d8db141fa4e Reviewed-on: https://code.wireshark.org/review/9036 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
* Fix some cases where we're shifting a signed 1 left.Guy Harris2015-05-011-3/+3
| | | | | | | | | | | | | | | | | Shift 1U instead, to make sure it's unsigned; the result of, for example, the result of shifting a signed value left is undefined if the value times 2^{shift count} doesn't fit in the *signed* type of the shifted value. That means, in particular, that the result of shifting 1 left by {number of bits in an int - 1} is undefined. (In *practice*, it'll probably be -2^32, with the bit you want set, but that's not guaranteed, and GCC 5.1 seems not to like it.) Make some other left-hand operands of <<, and some variables holding results from shifts of that sort, unsigned, while we're at it. Change-Id: Ie72a9d0d518f59b35948267d10c80735d162e8bb Reviewed-on: https://code.wireshark.org/review/8264 Reviewed-by: Guy Harris <guy@alum.mit.edu>
* [RANAP] Heuristics does not work with lenght detremant of 2 bytes.AndersBroman2015-04-271-3/+5
| | | | | | Change-Id: Ib26b9d66e690770a27d63f75f4c9a935fc93b2b0 Reviewed-on: https://code.wireshark.org/review/8209 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* [E212]Modify dissect_e212_mcc_mnc() to take E212 number type as anAndersBroman2015-01-141-1/+1
| | | | | | | | argument. While at it remove deprecated APIs Change-Id: Ib1a7e9d7aeba6379fb4492816a0ac602e67493c6 Reviewed-on: https://code.wireshark.org/review/6534 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* asn1 generated dissectors: cleanup #include usageBill Meier2014-12-231-2/+0
| | | | | | Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387 Reviewed-on: https://code.wireshark.org/review/6008 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Remove sccp_info member from packet_info structure.Michael Mann2014-11-262-12/+20
| | | | | | | | sccp_msg_info_t* is now passed from SCCP dissector to its subdissectors through dissector data parameter. Change-Id: Iab4aae58f8995e844f72e02e9f2de36e83589fc0 Reviewed-on: https://code.wireshark.org/review/5442 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Fix some spelling & grammar.Bill Meier2014-09-091-1/+1
| | | | | | Change-Id: Iedeaa411caa0823922dd79c27897a2349d4e6907 Reviewed-on: https://code.wireshark.org/review/4054 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Remove unused hf and deprecated APIAndersBroman2014-08-192-7/+2
| | | | | | Change-Id: I5196f2be4b15704517ff1dc8bfacc6f9b52ecd71 Reviewed-on: https://code.wireshark.org/review/3720 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Use the E212 function to dissect IMSI correct the filter Id string inAndersBroman2014-08-191-6/+6
| | | | | | | | E212. Change-Id: I203502b39d4ef216282d305f90c930aca84241bf Reviewed-on: https://code.wireshark.org/review/3718 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Add some files under asn1 to the distribution.Guy Harris2014-07-301-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>
* batch of tvb-length conversionsEvan Huus2014-06-211-16/+13
| | | | | | Change-Id: I76ca4d075756e3ac691070e0c05344a410ea2498 Reviewed-on: https://code.wireshark.org/review/2507 Reviewed-by: Evan Huus <eapache@gmail.com>
* Revert "Update ASN.1 source files with the API changes done in g021e7af"Pascal Quantin2014-06-192-16/+16
| | | | | | | | This reverts commit e308e7c4de81c2ff7159e444b865ac59de4faa2b. Change-Id: I079616d63f643f79f1bc03ef5fdf724f36df4071 Reviewed-on: https://code.wireshark.org/review/2435 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
* Update ASN.1 source files with the API changes done in g021e7afPascal Quantin2014-06-182-16/+16
| | | | | | Change-Id: I52ecfccbce423206242e3cf99401a8c9e1655d88 Reviewed-on: https://code.wireshark.org/review/2385 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
* More fiddling with heuristic.AndersBroman2014-03-261-2/+2
| | | | | | Change-Id: I50b78cc38c6f529695ecd54ced0ed94e8a683534 Reviewed-on: https://code.wireshark.org/review/835 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Fix off by one errorAndersBroman2014-03-261-1/+1
| | | | | | Change-Id: I24c9e988786a95489f918bed2c043e6eb23e4caa Reviewed-on: https://code.wireshark.org/review/834 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Strengthen RANAP heuristic.AndersBroman2014-03-251-1/+10
| | | | | | Change-Id: I8f6515d2716bb633f753243b7f86d371a22ebbad Reviewed-on: https://code.wireshark.org/review/826 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss2014-02-1813-28/+1
| | | | | | | 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>
* Rename a couple of to_str functions to have ep_ in the name. This makes itEvan Huus2013-12-191-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
* - Forward declaration of register functions.Anders Broman2013-12-081-1/+0
| | | | svn path=/trunk/; revision=53872
* - Forward declaration of register functions.Anders Broman2013-12-081-0/+3
| | | | svn path=/trunk/; revision=53859
* emem -> wmem conversion:Pascal Quantin2013-09-221-1/+1
| | | | | | | | | | | | - ep_tvb_get_bits() -> wmem_packet_tvb_get_bits() - tvb_g_memdup()/ep_tvb_memdup() -> tvb_memdup() - tvb_fake_unicode()/tvb_get_ephemeral_faked_unicode() -> tvb_get_faked_unicode() - tvb_get_g_string()/tvb_get_ephemeral_string()/tvb_get_seasonal_string() -> tvb_get_string() - tvb_get_g_unicode_string()/tvb_get_ephemeral_unicode_string() -> tvb_get_unicode_string() - tvb_get_ephemeral_string_enc() -> tvb_get_string_enc() - update docs accordingly svn path=/trunk/; revision=52172
* Remove all non-ASCII characters from all .asn files. I didn't see the harm ↵Chris Maynard2013-09-182-32/+32
| | | | | | in replacing them all as opposed to only those not copied verbatim from other sources. svn path=/trunk/; revision=52132
* emem -> wmem (don't forget about .cnf)Jörg Mayer2013-09-151-204/+204
| | | | svn path=/trunk/; revision=52058
* Add an option to dissect RRC-Container IEPascal Quantin2013-06-241-0/+4
| | | | svn path=/trunk/; revision=50130
* Convert the rest of the ASN1 dissectors from emem to wmem.Evan Huus2013-06-191-2/+2
| | | | svn path=/trunk/; revision=50063
* I added EXPORT_FILES in too many places, remove themJörg Mayer2013-05-111-4/+0
| | | | | | (via "copy - modify too little - paste" cycle) svn path=/trunk/; revision=49255
* Some more protocols can be generated via cmakeJörg Mayer2013-05-101-0/+36
| | | | svn path=/trunk/; revision=49233
* Just whitespace changesJörg Mayer2013-05-051-4/+4
| | | | svn path=/trunk/; revision=49167
* Stub cmake support for generating the asn1 dissectors.Jörg Mayer2013-04-231-0/+23
| | | | | | | It doesn't do anything yet, it is just to make svn status readable again. svn path=/trunk/; revision=49007
* From beroset:Anders Broman2013-03-191-3/+3
| | | | | | | remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429
* We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss2012-09-201-3/+1
| | | | svn path=/trunk/; revision=45015
* Add data parameter to dissector_try_uint_newJakub Zawadzki2012-09-111-10/+10
| | | | svn path=/trunk/; revision=44874
* Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki2012-09-101-18/+18
| | | | | | Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
* Fix field type for some 64 bits header fieldsPascal Quantin2012-08-151-4/+0
| | | | svn path=/trunk/; revision=44513
* - Put back not used constants to fill value_strings_ext.Anders Broman2012-07-313-2/+11
| | | | | | - Don't dissect RRC container, it seems to only cause grief. svn path=/trunk/; revision=44156
* Update Free Software Foundation address.Jakub Zawadzki2012-06-285-5/+5
| | | | | | (COPYING will be updated in next commit) svn path=/trunk/; revision=43536
* Upgrade GSM BSSMAP dissection to Release 9 (V9.8.0)Pascal Quantin2012-06-121-0/+1
| | | | svn path=/trunk/; revision=43227
* Get rid of remaining Booleans-as-encoding-arguments inGuy Harris2012-05-101-2/+2
| | | | | | | | | | proto_tree_add_item() calls. Also, fix a call for IPv4 addresses to use ENC_BIG_ENDIAN (yes, we do support ENC_LITTLE_ENDIAN for IPv4 addresses - at least one protocol apparently puts IPv4 addresses out byte-swapped!). svn path=/trunk/; revision=42531
* Dissect transport layer address NSAPAnders Broman2012-05-041-1/+1
| | | | svn path=/trunk/; revision=42416
* From David Wei and me, update to 3GPP TS 25.413 V10.4.0 (2011-12).Anders Broman2012-02-218-64/+69
| | | | svn path=/trunk/; revision=41104
* Try to get the container stuff right...Anders Broman2011-12-081-1/+3
| | | | svn path=/trunk/; revision=40119
* Add a missing IE number.Anders Broman2011-11-171-2/+3
| | | | svn path=/trunk/; revision=39897
* For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier2011-10-211-1/+1
| | | | | | Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
* Dissect NSAP encoded transport layer address.Anders Broman2011-10-132-4/+23
| | | | svn path=/trunk/; revision=39408
* Build the ASN.1 dissectors directly into epan/dissectors (rather than buildingJeff Morriss2011-10-101-5/+0
| | | | | | | | | | | | | | | | | | | | them and then copying them over). The "all" target to builds these dissectors now (instead of "generate_files" and/or "copy_files"). asn2wrs's "-O" option now means "the dissector goes in this directory" (rather than "all output goes in this directory"); it also means that the "-s" (single output file) option is now required. Fix things up so that it's possible to build all of the ASN.1 dissectors in one shot. Fix building of conformance files when doing out-of-source-tree builds. Unfortunately "make all" in the asn1 directory always builds something--I think because of circular depedencies. svn path=/trunk/; revision=39333
* Fix a typoAnders Broman2011-09-121-1/+1
| | | | svn path=/trunk/; revision=38978