aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-asterix.c
AgeCommit message (Collapse)AuthorFilesLines
2014-05-25Grab-bag of dead initializers and two actual bugs.Evan Huus1-5/+2
All caught by cppcheck. The two (semi)-interesting bugs are: - in asn1/atn-cpdlc/packet-atn-cpdlc-template.c where the break statement should have been inside the brace, causing potential control-flow weirdness with exceptions - in epan/dissectors/packet-ieee80211.c where the bounds check for tag_len did not match the expert info given Change-Id: Ie173fb8d917aabb9b4571435d671d6f16e1c7569 Reviewed-on: https://code.wireshark.org/review/1793 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-05-11Function to calculate twos complement is quicker and hopefully better ↵Marko Hrastovec1-7/+4
understandable. Change-Id: I1948eeaf5fa5aa4a5ccd0f81be894f655907a4dc Reviewed-on: https://code.wireshark.org/review/1570 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-04-08ASTERIX - added dissector for category 023.Marko Hrastovec1-4/+297
Sample file with traffic is the same as for CAT021 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9953). Apply filter "asterix.category == 23" to see only CAT023 packets. A small change in actual dissecting code was also needed because of strange item I023/101. The first FX bit is in the second byte and then grows only for a byte. Change-Id: I3f80e6e46b642efc6f2e19e6f931cdef1c39495a Reviewed-on: https://code.wireshark.org/review/993 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-06Bugfix for ASTERIX category 021.Marko Hrastovec1-4/+2
It was found in https://code.wireshark.org/review/#/c/972/ and only commented out. The bug is now fixed, the variable is used. Change-Id: I0361b269a06f45f4d36b8bc97c3623618cb5f859 Reviewed-on: https://code.wireshark.org/review/976 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-04-05Get it compiling again: packet-asterix.c has unused const variable.Hadriel Kaplan1-0/+3
Change-Id: I07125f1779063527f24d9195a9999cef4c8fe343 Reviewed-on: https://code.wireshark.org/review/972 Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-04-05Decoder for category 021 added to ASTERIX dissector. Bug 9953.Michael Mann1-2/+1561
Change-Id: If72685f41cd32854d6c0c04716ee640196431f87 Reviewed-on: https://code.wireshark.org/review/961 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-17Asterix CAT062 fix. Units for cartesian velocity of track were displayed ↵Marko Hrastovec1-2/+2
with wrong units. Change-Id: I716dfeb16b049544e691dcdf75c488758d9e1fa0 Reviewed-on: https://code.wireshark.org/review/707 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-25Remove trailing whitespace.Bill Meier1-1/+1
Change-Id: Ia03a1cd4590aceda30ead4aa93ad413d90c6aea6 Reviewed-on: https://code.wireshark.org/review/372 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-01-28From Marko Hrastovec viaEvan Huus1-320/+1160
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9697 Architectural support for multiple version of the same Asterix categories. Includes implementation of CAT064 v.0.17. svn path=/trunk/; revision=54987
2014-01-09From Marko HrastovecMartin Kaiser1-6/+356
dissect all elements of category 48 messages https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9629 svn path=/trunk/; revision=54680
2014-01-09From Marko HrastovecMartin Kaiser1-3/+3
rename RE field len to make it generic for all categories https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9624 svn path=/trunk/; revision=54679
2014-01-08remove duplicate editor modelinesMartin Kaiser1-4/+0
it's enough to have them at the end of the file svn path=/trunk/; revision=54665
2014-01-08From Antony BridleMartin Kaiser1-18/+121
Added dissection capabilities for ASTERIX Category 062 Reserved Expansion Field. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9624 svn path=/trunk/; revision=54664
2013-12-22Don't use 'L' as a constant modifier.Bill Meier1-1/+1
svn path=/trunk/; revision=54358
2013-12-15Fix [-Wmissing-prototypes]Jakub Zawadzki1-0/+3
svn path=/trunk/; revision=54135
2013-10-29Whitespace fixes: Replace some tabs by spaces & etcBill Meier1-100/+100
svn path=/trunk/; revision=52950
2013-10-29From Marko Hrastovec via ↵Jeff Morriss1-6/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9347 : Asterix dissector had two #if 0 ... #endif blocks because it obviously did not compile on some systems. Blocks were created because of mistyped variable names and variable not used warning/error. The errors were corrected. svn path=/trunk/; revision=52949
2013-10-23#if 0 numerous "unused const variables" (mostly value-string-arrays);Bill Meier1-0/+4
Also; fix a few "set but not used" warnings. svn path=/trunk/; revision=52780
2013-10-22Remove instances of unused 'data_handle' (and of one other handle).Bill Meier1-3/+0
svn path=/trunk/; revision=52767
2013-10-10From Marko Hrastovec viaEvan Huus1-1/+300
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9239 Add dissection of Asterix category 008. svn path=/trunk/; revision=52496
2013-08-05Keep result of [new_]register_dissector in some dissectors. [2 of x]Jakub Zawadzki1-3/+3
(don't create new dissector handle if we can use already existing one) svn path=/trunk/; revision=51159
2013-07-30From Marko Hrastovec viaStig Bjørlykke1-75/+75
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8994 Adjusts field lengths to display values properly. svn path=/trunk/; revision=51025
2013-07-18From Marko Hrastovec via ↵Jeff Morriss1-14/+42
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8926 : A better fix for this bug (as compared to r50532): this version takes into account the scaling factors. svn path=/trunk/; revision=50732
2013-07-12From Dirk De Schepper via ↵Jeff Morriss1-6/+6
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8926 : The dissector defines some one-byte fields as UFLOAT. Defining them as UINT fixes the decoding error for CAT48 version 1.21. svn path=/trunk/; revision=50532
2013-07-06From Marko Hrastovec viaEvan Huus1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8886 Fix an error in the scaling factor of field I062/380 subfield #28 in the Asterix dissector. svn path=/trunk/; revision=50424
2013-07-01Fix Coverity CID 1025626 (Unintentional integer overflow) by declaring 1 as ↵Chris Maynard1-28/+28
a 64-bit unsigned integer using G_GUINT64_CONSTANT(). svn path=/trunk/; revision=50289
2013-06-03From Marko Hrastovec via ↵Evan Huus1-2/+196
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8737 Add dissection of Category 009 to the ASTERIX dissector. svn path=/trunk/; revision=49734
2013-05-20Fix:Jeff Morriss1-10/+10
Error: the blurb for hf_048_030_WE ("asterix.048_030_WE") matches the field name in epan/dissectors/packet-asterix.c Also remove a few blurbs which aren't exact matches but are basically the same. svn path=/trunk/; revision=49468
2013-05-20More compiler warning fixes...Evan Huus1-2/+2
svn path=/trunk/; revision=49461
2013-05-20Third time lucky, hopefully fix the last of the compiler warnings...Evan Huus1-1/+1
svn path=/trunk/; revision=49460
2013-05-20Use doubles and FT_DOUBLE for better precision and to avoid a largeEvan Huus1-154/+149
number of compiler warnings for systems where floats are 32 bits, but floating-point literals default to 64-bit doubles. svn path=/trunk/; revision=49459
2013-05-20Fix some compile warnings, and spread a struct definition over multipleEvan Huus1-4/+9
lines to make it obvious where the 32-bit cast is needed, since it's not at all obvious to me... svn path=/trunk/; revision=49458
2013-05-20From Marko Hrastovec via ↵Evan Huus1-0/+5954
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8579 Dissector for ASTERIX (a radar data and air traffic controller protocol). svn path=/trunk/; revision=49457