aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimaxasncp
AgeCommit message (Collapse)AuthorFilesLines
2013-03-20[-Wmissing-prototypes]Anders Broman1-7/+7
Use explicit casts. svn path=/trunk/; revision=48439
2013-03-12From David Arnold:Jaap Keuter1-1/+1
Replace use of INCLUDES with AM_CPPFLAGS in all Makefiles to placate recent autotools. svn path=/trunk/; revision=48261
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-19How can I get a new tvbuff that starts at an offset within a givenGuy Harris1-4/+1
tvbuff and runs to the end of the tvbuff? Let me count the ways.... Replace a bunch of different ways of doing that (some incorrect, in that they're not properly handling tvbuffs where the captured and reported lengths are different) with tvb_new_subset_remaining(). svn path=/trunk/; revision=47751
2013-02-10Comment out numerous unused hf_.... instances found by checkhf.Bill Meier1-15/+45
svn path=/trunk/; revision=47617
2013-02-10Add %option noinput to some Flex files, as we aren't using the input()Guy Harris1-0/+5
routine and thus don't need to have it generated - and as it produces warnings of a routine defined but not used, we don't want to have it generated. svn path=/trunk/; revision=47616
2013-02-09"make maintainer-clean" should nuke all generated files.Guy Harris1-0/+2
svn path=/trunk/; revision=47594
2013-02-09Get rid of trailing tabs, make comments more similar.Guy Harris1-2/+2
svn path=/trunk/; revision=47593
2013-02-09Make the other plugin makefiles use the new style introduced in the MATEGuy Harris3-53/+80
makefiles. svn path=/trunk/; revision=47579
2013-01-04replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned ↵Michael Mann1-1/+1
int" instead. bugs 7825-7827 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7825) svn path=/trunk/; revision=46928
2012-12-26Squelch some more discarding-qualifiers warnings.Guy Harris1-35/+18
svn path=/trunk/; revision=46770
2012-12-26Fix a bunch of warnings.Guy Harris2-23/+11
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-12-10General cleanup:Bill Meier1-142/+137
- Use/create extended value strings as appropriate; - Reformat hf[] entries; - Do whitespace, & etc changes to use a consistent formatting style; - Reformat some long lines; - Localize some variables; remove some unneeded initializers; - expert...() shouldnt be called under 'if (tree)' (packet-wimaxasncp); - Move proto_register...() & etc to the end of the file (packet-ieee80211); - Misc. svn path=/trunk/; revision=46489
2012-12-05Fix numerous instances of a variable/parameter name "shadowing" a library ↵Bill Meier1-5/+5
function name; (At least some (gcc ?) compilers give a "shadow" warning for these). svn path=/trunk/; revision=46402
2012-11-29Fix several [-Wshadow] warnings.Bill Meier1-9/+9
svn path=/trunk/; revision=46287
2012-09-26replace unnecessary decode_numeric_bitfield callsMichael Mann1-18/+9
svn path=/trunk/; revision=45154
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss2-5/+1
svn path=/trunk/; revision=45015
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+2
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-06-28Update FSF address - part II.Jakub Zawadzki1-2/+2
svn path=/trunk/; revision=43538
2012-06-28Update Free Software Foundation address.Jakub Zawadzki3-3/+3
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-01Set Makefile.common as a plugin.c dependency so plugin.c is rebuilt if ↵Bill Meier1-1/+1
Makefile.common is changed svn path=/trunk/; revision=42972
2012-06-01Windows: Set Makefile.common as a plugin.c dependency so plugin.c is rebuilt ↵Bill Meier1-2/+2
if Makefile.common is changed ToDo: ditto for Makefile.am ? svn path=/trunk/; revision=42971
2012-05-11Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-11/+11
proto_tree_add_item() calls. svn path=/trunk/; revision=42590
2012-04-13From Pascal Quantin:Anders Broman1-5/+0
Fix Bug 6793 Some WiMAX messages decoded incorrectly https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6793 svn path=/trunk/; revision=42045
2012-04-04Add a "-build" argument to checkAPIs.pl. Use that argument when buildingJeff Morriss2-2/+2
from makefiles (and thus from the buildbot). The intention is to be able to tell when a human is running the tool so we can provide more code-review guidance. As a starter, enable the "too many proto_tree_add_text() calls" check when a human is running the tool. svn path=/trunk/; revision=41943
2012-02-24CVARSDLL hasn't been used (is undefined) for a while....Bill Meier1-1/+1
svn path=/trunk/; revision=41180
2012-01-29Add *.sbr files to the clean target.Anders Broman1-1/+1
svn path=/trunk/; revision=40761
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-18Do some more conversions of proto_tree_add_item() 'encoding' argBill Meier1-1/+1
(previously missed). svn path=/trunk/; revision=39450
2011-04-26Remove const qualifier to name, abbrev and blurb to pacify the buildbots.Chris Maynard1-3/+3
svn path=/trunk/; revision=36860
2011-04-25Get rid of some unnecessary casts that just provoke uninterestingGuy Harris1-11/+11
warnings. More fun with GArrays: cast away some warnings that don't report real alignment problems and that wouldn't even happen if the "data" member of a GArray were a "void *". svn path=/trunk/; revision=36856
2011-03-31Don't dereference a NULL pointer. Fixes CID 426.Chris Maynard1-1/+1
svn path=/trunk/; revision=36424
2011-03-29Don't assign proto_item pointers that are not used.Martin Mathieson1-2/+2
Coverity 1174 svn path=/trunk/; revision=36395
2011-02-03Just use g_strdup_printf(), rather than doing it ourselves.Guy Harris1-4/+1
svn path=/trunk/; revision=35780
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier1-5/+5
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile; a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS; b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... svn path=/trunk/; revision=35747
2011-01-21There's no need to pass the result of tvb_get_ptr() as the 'value' inJeff Morriss1-6/+3
proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string(). svn path=/trunk/; revision=35603
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
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-11-17From David Katz via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5166 :Jeff Morriss3-176/+357
Add a configuration parameter of the NWG version for WiMAX ASN CP dissector. The format and meaning of TLVs, as well as function types and messages changed between the different NWG versions. Added support for the version number of TLVs in the dictionary xml, its parser, and of course in the packet itself. Added support for the version number of function-types and message-types by extending the value_string structure to contain also a "since" version number. Successfully tested with a live capture and capture file, containing WiMAX ASN packets (full Network entry). Also fuzzed 500 passes successfully. The XML doesn't contain all existing NWG versions, only selected ones. This is a little tedious work to go over all TLVs of each version, so I'll add some newer versions later on. can add a short how-to of adding a new version, for others to use, if needed. svn path=/trunk/; revision=34919
2010-09-24Plugins are not shared libraries, so:Guy Harris1-1/+0
1) don't set thei SOVERSION - run-time-loaded modules don't have an SOVERSION; 2) build them with link mode MODULE, not SHARED, on all platforms. (Fixing 1) also fixes the problem with building them as MODULE on OS X.) svn path=/trunk/; revision=34243
2010-09-23H. Sivank <hsivank@gmail.com>Jörg Mayer1-1/+1
I try to configure Wireshark with cmake on macosx 10.6. It fails with : set_target_properties called with incorrect number of arguments. Attached a patch to fix this issue. svn path=/trunk/; revision=34201
2010-09-17Use val_to_str_ext() & friends to access sminmpec_values[];Bill Meier1-1/+1
Also: packet-nhrp.c: #include sminmpec.h not req'd; svn path=/trunk/; revision=34143
2010-05-14Add Cmake stuff to the source distribution so more people can try it out.Jeff Morriss1-8/+9
svn path=/trunk/; revision=32807
2010-04-06Get rid of check_colAnders Broman1-22/+16
svn path=/trunk/; revision=32401
2010-04-02Make the test compile.Jaap Keuter1-6/+6
svn path=/trunk/; revision=32359
2010-04-01From sangaran:Anders Broman3-0/+81
8-bit Bit Flag decoder method needed in wimaxasncp plugin dissecto. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4608 svn path=/trunk/; revision=32356
2010-03-18cmake changes:Jörg Mayer1-2/+3
- Add checking for linker flags - Install plugins with the name including the Wireshark version. This will make it easier to find matching plugin versions if files get just copied over. svn path=/trunk/; revision=32231
2010-02-24- Remove the lib prefix for plugin names.Jörg Mayer1-4/+2
- Remove a (resolved) comment. - Add a commented out line how to add version infos to the plugin's file name. svn path=/trunk/; revision=31995
2010-01-28Fix some gcc -Wshadow warnings.Bill Meier1-5/+10
svn path=/trunk/; revision=31724
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-11-17Beginnings of enabling static builds. Still to do:Jörg Mayer1-1/+1
* Add -static * Registration may need different handling * Add plugins * Build error in wslua svn path=/trunk/; revision=30987