aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ansi_801.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-12Convert a few dissectors from emem to wmem APIPascal Quantin1-3/+4
svn path=/trunk/; revision=51983
2013-08-05Keep result of [new_]register_dissector in some dissectors. [2 of x]Jakub Zawadzki1-5/+3
(don't create new dissector handle if we can use already existing one) svn path=/trunk/; revision=51159
2013-05-03Remove unnecessary global variablesMichael Mann1-6/+0
svn path=/trunk/; revision=49141
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-8/+8
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2013-03-12svn path=/trunk/; revision=48272Anders Broman1-0/+2
2012-12-21Everything else in the floating-point calculations is single-precision,Guy Harris1-3/+3
so make the constants single-precision, so we don't end up with warnings about double-precision values being assigned to single-precision variables. svn path=/trunk/; revision=46658
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 FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-05-04AFAICT sys/types.h & netinet/in.h #includes are not needed for these files.Bill Meier1-8/+0
(Let's see if any of the buildbots give any errors). Also: remove trailing whitespace on lines. svn path=/trunk/; revision=42429
2012-03-06Fix benign issue: For FT_BOOLEAN fields with a zero bitmask, use BASE_NONE ↵Bill Meier1-25/+25
for 'display' svn path=/trunk/; revision=41385
2012-02-20Indentation & whitespace cleanup....Bill Meier1-872/+872
svn path=/trunk/; revision=41093
2011-10-24Fix encoding arg for various fcn calls:Bill Meier1-23/+23
- proto_tree_add_bits_item - proto_tree_add_bits_ret_val - proto_tree_add_bitmask - tvb_get_bits - tvb_get_bits16 - tvb_get_bits24 - tvb_get_bits32 - tvb_get_bits64 svn path=/trunk/; revision=39539
2011-08-08Dissectors don't need to #include <gmodule.h>Bill Meier1-1/+2
Also: #include <stdlib.h> not req'd in some cases. svn path=/trunk/; revision=38409
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-6/+6
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-04-06#include <string.h> not needed.Bill Meier1-2/+0
svn path=/trunk/; revision=32411
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-01-27Update IS-801 Request Pseudorange Measurement; RenameGerasimos Dimitriadis1-48/+56
'spare bits' to 'reserved bits' svn path=/trunk/; revision=31707
2010-01-26Move underscore escaping/unscaping function to strutil.c;Gerasimos Dimitriadis1-33/+31
Update decoding of IS-801 Request GPS Acquisition Assistance svn path=/trunk/; revision=31685
2010-01-23Rewrite IS-801 decoding of Provide GPS Satellite HealthGerasimos Dimitriadis1-139/+47
Information; function ansi_801_tvb_get_bits no longer needed svn path=/trunk/; revision=31639
2010-01-23Whitespace edits; registration of the ansi_801 dissectorGerasimos Dimitriadis1-983/+986
svn path=/trunk/; revision=31638
2010-01-23Insert casts to float to make the buildbot happyGerasimos Dimitriadis1-8/+8
svn path=/trunk/; revision=31637
2010-01-23Update IS-801 decoding Provide Location Response;Gerasimos Dimitriadis1-341/+252
bit structure is shown and values are interpreted. svn path=/trunk/; revision=31636
2010-01-13From Didier Gautheron:Anders Broman1-4/+1
check_col.diff Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31519
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29499
2009-08-04Init ett_... variables to -1Bill Meier1-0/+4
svn path=/trunk/; revision=29294
2009-05-26Misc dissector cleanup:Bill Meier1-8/+8
- Make some fcns & vars static - hf[] blurbs: "" and repeated text --> NULL - Move proto_register & proto_reg_handoff to end of source - packet-catapult-dct2000: simplify proto_reg_handoff - Use consistent indentation svn path=/trunk/; revision=28488
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-2/+2
svn path=/trunk/; revision=27050
2008-06-23Renamed the global bit_mask to avoid collisions with the bit_mask usedStig Bjørlykke1-3/+3
in various functions. svn path=/trunk/; revision=25557
2008-05-09Fix some of the Errors/warnings detected by checkapi.Anders Broman1-2/+6
svn path=/trunk/; revision=25264
2008-01-24s/%ll/%" G_GINT64_MODIFIER "/gJeff Morriss1-1/+1
svn path=/trunk/; revision=24181
2007-05-29Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.Guy Harris1-10/+5
In all the places where a cast to "long long" or "unsigned long long" was done, use G_GINT64_MODIFIER and get rid of the cast, as 1) there's no guarantee that "%ll" works and 2) there's no guarantee that "long long" works (the latter definitely does *NOT* work with MSVC++; the former doesn't work with regular printf in MSVC++, but it might work with the GLib printf-based functions). svn path=/trunk/; revision=21978
2007-05-29From David Howells :Sebastien Tandel1-5/+5
Fix compilation failures when building wireshark-0.99.6-SVN-21916 on an x86_64-unknown-linux-gnu target with gcc version 4.1.2 20070403 (Red Hat 4.1.2-8). The failures fall into two categories: (1) Casts between pointers and 32-bit integers without an intermediary cast via 'long' or 'unsigned long'. This results in a compiler warning complaining about casts between a pointer and an integer of a different size. (2) Passing values to "%lld" or similar printf-style format options that the compiler thinks are a different size. Such values need to be cast to 'long long' or 'unsigned long long'. svn path=/trunk/; revision=21975
2007-04-26Change the signature of proto_tree_add_bits() and add ↵Anders Broman1-6/+6
proto_tree_add_bits_ret_val() which will hopefully be more acceptable. Change name of tvb_get_bits() in ansi_801 svn path=/trunk/; revision=21594
2007-04-18Make specifier string match argsMartin Mathieson1-4/+4
(may not be the intended formatting, but it builds...) svn path=/trunk/; revision=21468
2007-04-18From Michael Lum:Anders Broman1-214/+1872
This patch implements parameter dissection for about 1/2 to 2/3 of the messages in IS-801. Built and tested against the latest source as of Friday April 13th 2007. svn path=/trunk/; revision=21463
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2005-07-27Fix >2600 warnings by doing char -> const char changes.Jörg Mayer1-4/+4
Additionally in dissectors/packet-ansi_map.c: Flag unused parameters as such and remove dummy param = param; statements. svn path=/trunk/; revision=15114
2005-06-26Get rid of the private "my_match_strval()" routine in many dissectors;Guy Harris1-25/+4
add a "match_strval_idx()" routine that does the same thing, and have "match_strval()" call it. Make those routines, and "val_to_str()", return a "const" pointer. Update dissectors as necessary to squelch compiler warnings produced by that. Use "val_to_str()" rather than using "match_strval()" and then, if the result is null, substituting a specific string. Clean up some other "match_strval()"/"val_to_str()" usages. Add a null pointer check in the NDPS dissector's "attribute_value()" routine, as it's not clear that "global_attribute_name" won't be null at that point. Make some global variables in the AFS4INT dissector local. Make some routines not used outside the module they're in static. Make some tables "static const". Clean up white space. Fix Gerald's address in some files. svn path=/trunk/; revision=14786
2005-06-26packet-ansi_801.c(93) : warning C4090: 'return' : different 'const' qualifiersUlf Lamping1-5/+5
svn path=/trunk/; revision=14770
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+956
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410