aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tetra.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-20Create call_data_dissector() to call data dissector.Michael Mann1-9/+5
This saves many dissectors the need to find the data dissector and store a handle to it. There were also some that were finding it, but not using it. For others this was the only reason for their handoff function, so it could be eliminated. Change-Id: I5d3f951ee1daa3d30c060d21bd12bbc881a8027b Reviewed-on: https://code.wireshark.org/review/14530 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-13Move /asn1 to /epan/dissectorsJoão Valverde1-46/+46
Change-Id: I1208fe3c2ba428995526f561e8f792b8d871e9a9 Reviewed-on: https://code.wireshark.org/review/14388 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: João Valverde <j@v6e.pt>
2016-02-04ASN1: fix misspelling (found by Lintian)Alexis La Goutte1-10/+10
Extention -> Extension Change-Id: I10278ce21da805b2b86cac6e2b14e921acf15544 Reviewed-on: https://code.wireshark.org/review/13052 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-01-08Fix a lot of typos and misspellingsmoshekaplan1-25/+25
Change-Id: I8512cfa1d424f82a873a0e0e1d22c7b075fdd7f3 Reviewed-on: https://code.wireshark.org/review/13069 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-09"new" dissector API -> dissector API for ASN.1 dissectors.Michael Mann1-2/+2
Change-Id: I7b794cba2feda2cae40411e2b1cb9fb091d08220 Reviewed-on: https://code.wireshark.org/review/12480 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-22register_dissector -> new_register_dissector for ASN.1 dissectors.Michael Mann1-11/+10
Change-Id: I0476519c02ffdd426b4fdfe8a206d61b728c327a Reviewed-on: https://code.wireshark.org/review/12026 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-27Comment out various 'if(tree)'Bill Meier1-1/+1
col..._() and/or expert...() should not be called under 'if(tree)' Change-Id: I57efe44794977d3f93e4764642b091044a125c0c Reviewed-on: https://code.wireshark.org/review/6826 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-23asn1 generated dissectors: cleanup #include usageBill Meier1-11/+7
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387 Reviewed-on: https://code.wireshark.org/review/6008 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-10-13ASN1: Register PDU-dissectors as NEWStig Bjørlykke1-48/+90
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-06-21batch of tvb-length conversionsEvan Huus1-1/+1
Change-Id: I76ca4d075756e3ac691070e0c05344a410ea2498 Reviewed-on: https://code.wireshark.org/review/2507 Reviewed-by: Evan Huus <eapache@gmail.com>
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-2/+2
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-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-41/+39
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-10- Forward declaration of register functions.Anders Broman1-9/+13
svn path=/trunk/; revision=53908
2013-12-09- Forward declaration of register functions.Anders Broman1-1/+1
svn path=/trunk/; revision=53876
2013-12-08- Forward declaration of register functions.Anders Broman1-5/+8
svn path=/trunk/; revision=53872
2013-11-17Add a way to retrieve a PER variable bit string lengthPascal Quantin1-12/+12
svn path=/trunk/; revision=53382
2013-06-12Batch of filterable expert infos with some minor cleanup I noticed while ↵Michael Mann1-13/+16
doing the filter conversions. svn path=/trunk/; revision=49893
2013-06-05Quick fix for bug 8768. For now assume that only three logical channelsGerald Combs1-5/+17
are valid. If we run into more add expert item and cap the channel count. svn path=/trunk/; revision=49787
2013-05-27Postfix FT_NONE fields with "_element" string to reduce number of ↵Pascal Quantin1-198/+198
incompatible filters in ASN.1 dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2402 svn path=/trunk/; revision=49599
2013-05-24From LI Hai via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8708 :Pascal Quantin1-101/+263
Add MAC-DATA support to TETRA dissector and other minor improvements svn path=/trunk/; revision=49567
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-1/+1
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-02-26Fix spelling/typos found using a list of commonly misspelled words.Bill Meier1-1/+1
The misspellings were mostly in comments but some were in text strings visible to the user. svn path=/trunk/; revision=47899
2012-11-01From LI Hai:Anders Broman1-9/+38
According to Table 161 in ETSI 392-2 standard, the Class of MS field in U-LOCATION UPDATE DEMAND in tetra.asn is incorrect. the type of Class of MS field should be Type 2, not Type 1, and the length should be 24 bits, not 32bits. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7946 svn path=/trunk/; revision=45857
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-2/+0
svn path=/trunk/; revision=45017
2012-09-19From LI Hai via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7736 :Pascal Quantin1-37/+28
Fix dissection error of D-RELEASE and D-CONNECT in TETRA dissector svn path=/trunk/; revision=45004
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-03-16FT_BOOLEAN hf[] entry with a 0 'bitmask' should have 'display' = BASE_NONE;Bill Meier1-1/+1
svn path=/trunk/; revision=41590
2011-11-21Get rid of Warnings.Anders Broman1-7/+6
svn path=/trunk/; revision=39980
2011-11-20Remove export.Anders Broman1-37/+37
svn path=/trunk/; revision=39956
2011-11-20See if this fixes it, why it worked on my system is anybodys guess.Anders Broman1-5/+6
svn path=/trunk/; revision=39955
2011-11-15At least as I read the code, there can be up to 3 receive channels (theGuy Harris1-6/+14
number of channels is XXX & 0x03, hence in the range 0-3. Thanks and a tip of the hat to Clang Cat for catching this. svn path=/trunk/; revision=39839
2011-10-10Fix unused function warningsAnders Broman1-316/+42
svn path=/trunk/; revision=39338
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1 ↵Bill Meier1-1/+1
dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39294
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-1/+1
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39263
2011-09-27Get rid of check_col, while at it set ENC.Anders Broman1-145/+72
svn path=/trunk/; revision=39164
2011-08-16Based on patch from Denis Ovsienko viaJeff Morriss1-2/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6244 : Fix typo: s/unkown/unknown/ svn path=/trunk/; revision=38561
2011-04-12Removed some unused variables.Stig Bjørlykke1-8/+7
svn path=/trunk/; revision=36602
2011-04-11Regenerate the ANSI MAP, LDAP, and TETRA dissectors so that Coverity canGerald Combs1-45/+45
locate their template files. svn path=/trunk/; revision=36569
2011-02-12Remove an unused ett_ variable.Jeff Morriss1-6/+4
svn path=/trunk/; revision=35927
2011-02-02Warning: packet-tetra.c does not have an SVN Id tag.Anders Broman1-8/+10
Error: the blurb for field "Carrier Number" ("tetra.carrier") matches the field name in packet-tetra.c Error: the blurb for field "PDU" ("tetra.pdu") matches the field name in packet-tetra.c Error: Found deprecated APIs in packet-tetra.c: dissector_add svn path=/trunk/; revision=35769
2011-02-02Integrate and build the tetra dissector.Anders Broman1-0/+12127
svn path=/trunk/; revision=35766