Commit Graph

91 Commits

Author SHA1 Message Date
Kovarththanan Rajaratnam 8b8399b711 Use register_dissector_files in the plugins dissectors
svn path=/trunk/; revision=30435
2009-10-09 16:39:34 +00:00
Anders Broman 4d2e653901 From Didier Gautheron:
Dissectors using call_dissector() function inside a 'if (tree) {}' block.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107

svn path=/trunk/; revision=30415
2009-10-09 07:24:33 +00:00
Stig Bjørlykke cf85342eec Build plugins with cmake on OSX.
svn path=/trunk/; revision=30373
2009-10-06 18:58:09 +00:00
Kovarththanan Rajaratnam 0721ade9ed Remove check_col()
svn path=/trunk/; revision=30317
2009-10-04 18:40:44 +00:00
Kovarththanan Rajaratnam 80f0d3116a Use G_N_ELEMENTS instead of hard coding size of array
svn path=/trunk/; revision=30315
2009-10-04 18:29:51 +00:00
Kovarththanan Rajaratnam 09932ce535 Constify wimax_mac_calc_crc8()
svn path=/trunk/; revision=30314
2009-10-04 18:26:01 +00:00
Kovarththanan Rajaratnam 0c860d2cd5 Constify wimax_mac_calc_crc16()
svn path=/trunk/; revision=30313
2009-10-04 18:22:36 +00:00
Kovarththanan Rajaratnam 70d977764c Constify wimax_mac_calc_crc32()
svn path=/trunk/; revision=30309
2009-10-04 17:21:45 +00:00
Kovarththanan Rajaratnam c33111a841 Remove forward references
svn path=/trunk/; revision=30308
2009-10-04 17:12:42 +00:00
Kovarththanan Rajaratnam 86ca4a24b6 Move prototype to wimax_utils.h
svn path=/trunk/; revision=30307
2009-10-04 17:03:57 +00:00
Kovarththanan Rajaratnam 0bc65a23d0 Include wimax_utils.h
svn path=/trunk/; revision=30306
2009-10-04 16:57:04 +00:00
Kovarththanan Rajaratnam 00810ff199 * Prefer col_append_str instead of col_append_fstr for constant strings
* Remove check_col guards

svn path=/trunk/; revision=30127
2009-09-24 20:21:23 +00:00
Jörg Mayer ebfcf3c387 Build more plugins with cmake.
svn path=/trunk/; revision=30084
2009-09-23 04:41:14 +00:00
Jeff Morriss 4661aad9a4 Run checkapi on the dissector header files
svn path=/trunk/; revision=29883
2009-09-13 19:48:22 +00:00
Kovarththanan Rajaratnam 2547ce21bf We no longer support the old plugin API so remove it completely from the build system
svn path=/trunk/; revision=29821
2009-09-09 14:01:57 +00:00
Kovarththanan Rajaratnam 27f7d88c84 Also fake empty field_info's by gracefully handling NULL field_info pointer elsewhere.
svn path=/trunk/; revision=29490
2009-08-21 11:03:30 +00:00
Kovarththanan Rajaratnam 083729e02c Add PTREE_FINFO and use PITEM_FINFO when possible.
svn path=/trunk/; revision=29355
2009-08-09 17:57:31 +00:00
Bill Meier 0a60e46adf 'if(proto_... == -1)' not req'd; Don't register ett[] more than once;
svn path=/trunk/; revision=29351
2009-08-09 15:07:35 +00:00
Kovarththanan Rajaratnam ac463d2697 Don't guard col_clear with col_check
svn path=/trunk/; revision=29346
2009-08-09 08:14:59 +00:00
Kovarththanan Rajaratnam 6110a96f68 Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29345
2009-08-09 07:59:51 +00:00
Guy Harris 3d1e81ff3d Fix typo.
svn path=/trunk/; revision=29300
2009-08-05 00:13:38 +00:00
Guy Harris 6847b0b94d Put the initializers for the elements of value_string arrays into curly
brackets, so the API checks for non-terminated value_string arrays will
not falsely think the arrays are non-terminated.

svn path=/trunk/; revision=29299
2009-08-04 23:14:40 +00:00
Bill Meier 8589c2f11b Minor changes:
- Move proto_register...() to the end of the file as per convention;
- Move ett[] to be local to proto_register...();
- "if (...==-1)" not req'd in proto_register...();
- #include <moduleinfo.h> not req'd;
- Remove unneeded forward declarations.

svn path=/trunk/; revision=29296
2009-08-04 19:01:34 +00:00
Bill Meier 42a4efbb59 More minor cleanups:
- Move proto_register to near the end of the file as per convention;
- Remove unneeded #include <epan/reassemble.h>;
- Comment out unused ett[] array and associated;

svn path=/trunk/; revision=29284
2009-08-03 23:18:59 +00:00
Bill Meier b9b8fad812 Minor cleanups:
- Comment out code which creates two dissector tables and then
   stores a preference value in each of them; 
   AFAICT the tables are not accessed elsewhere;
- Comment out the no longer required prefs callback specification
   in proto_register;
- "if (... == -1)" not req'd in proto_register;
- Remove unused proto_reg_wimax function.

svn path=/trunk/; revision=29283
2009-08-03 22:38:43 +00:00
Stig Bjørlykke 7881d1ccd7 From Kovarththanan Rajaratnam:
More FT_XXX cleanup.

svn path=/trunk/; revision=28970
2009-07-07 09:00:33 +00:00
Stig Bjørlykke 7f77783e20 From Kovarththanan Rajaratnam:
More header field info cleanup in plugins/* and epan/dissectors/*

svn path=/trunk/; revision=28811
2009-06-22 18:23:58 +00:00
Stig Bjørlykke f8c959dc8c From Kovarththanan Rajaratnam:
Move header field info declarations into function scope.

This is the first step. Another patch will be submitted which actually scrubs
the header field info declarations (remove empty blurbs, etc.)

svn path=/trunk/; revision=28797
2009-06-22 04:58:08 +00:00
Anders Broman fbd05f0fce Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization

svn path=/trunk/; revision=28355
2009-05-13 19:44:44 +00:00
Gerald Combs 07e5df616e Disable manifest building for our DLLs. This attempts to fix bug 3272.
svn path=/trunk/; revision=27579
2009-03-02 18:57:35 +00:00
Ulf Lamping 043532d63e add missing mt.exe calls, to include manifest files into exe / dll files
svn path=/trunk/; revision=27357
2009-02-02 23:09:36 +00:00
Jaap Keuter 4b6b4b672c Fix for bug 2902:
Actually check column status before writing to it.

svn path=/trunk/; revision=27192
2009-01-08 07:36:11 +00:00
Bill Meier 9a3563e807 Fix some typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27085
2008-12-22 15:24:18 +00:00
Bill Meier a3a9ff5a2b #include <prefs.h> not required
svn path=/trunk/; revision=26103
2008-08-29 01:40:32 +00:00
Jaap Keuter 677ce2b209 From Frank Wang:
dl-map decoder error when decode HARQ_DLMAP_IE and normal IE.

svn path=/trunk/; revision=26020
2008-08-14 18:05:18 +00:00
Jeff Morriss b4d2c37635 Allow checkapis target to work in out-of-tree builds (s#../../#$(top_srcdir)).
Also use $(top_builddir) instead of ../../ in a couple of other spots.

svn path=/trunk/; revision=25863
2008-07-29 22:06:37 +00:00
Martin Mathieson 7921dca80d Fix DLMAP UL_interference_and_noise_level_IE decode error (bug 2737).
From Frank Wang.

svn path=/trunk/; revision=25816
2008-07-24 08:53:14 +00:00
Martin Mathieson 9c34677453 Fix HARQ_ULMAP_IE decoder padding error (bug 2738).
From Frank Wang.

svn path=/trunk/; revision=25815
2008-07-24 08:46:13 +00:00
Martin Mathieson 56455be25a This file predominantly uses spaces, so remove tabs that were making
indentation look wrong in my editor.


svn path=/trunk/; revision=25805
2008-07-23 14:32:24 +00:00
Martin Mathieson ee1534f851 Fix bug 2663 (DLMAP HAEQ_DLMAP_UE decode error).
From Frank Wang.

svn path=/trunk/; revision=25801
2008-07-23 11:18:33 +00:00
Bill Meier e2e72c7664 Add NULL termination element to value_string arrays
svn path=/trunk/; revision=25799
2008-07-22 21:53:50 +00:00
Bill Meier f2fd24c9c0 Change C++ style comments to C style ...
svn path=/trunk/; revision=25762
2008-07-18 02:48:37 +00:00
Jaap Keuter 77c287a58c From Frank Wang:
The ULMAP decoder can get a wrong bit offset when decoding CQICH_Alloc_IE.
The finishing position shoud not pad to byte but pad to the length specified,
which can be nibble aligned.

svn path=/trunk/; revision=25703
2008-07-11 16:03:06 +00:00
Martin Mathieson 5283264092 Fix bug 2662 (ULMAP HARQ_ULMAP_IE decode error).
From Frank Wang.

I'd prefer to delete wrong code, but we'll see if anyone misses it.















svn path=/trunk/; revision=25675
2008-07-08 16:05:41 +00:00
Guy Harris a04774395f Add Makefile.common files for epan/dfilter and epan/ftypes.
Add checkapi rules to Makefile.am files.

svn path=/trunk/; revision=25656
2008-07-02 01:44:30 +00:00
Guy Harris b6e20d89be Put printf into a separate "termoutput" API group. For most files,
check for it - but not for TShark plugins, as they are expected to
print to the standard output.

svn path=/trunk/; revision=25653
2008-07-01 21:13:32 +00:00
Gerald Combs 83aacf0a09 Add support for "API groups" in checkAPIs.pl. Make the "prohibited"
and "deprecated" groups the default. Add an "abort" group for code that
shouldn't exit the program. Update the makefiles to call "checkAPIs.pl
-g abort" for dissectors. Remove a dependency on "cat" in checkAPIs.pl.

svn path=/trunk/; revision=25614
2008-06-26 22:20:05 +00:00
Martin Mathieson 7001a1564b For for compressed DLMAP decode error.
From Frank Wang (bug 2640).

svn path=/trunk/; revision=25599
2008-06-25 08:54:22 +00:00
Martin Mathieson d2036aca8a Try again to get labels matching function names.
svn path=/trunk/; revision=25529
2008-06-23 10:08:13 +00:00
Martin Mathieson 8d053ee86d Fix wimax UL-MAP ext IE decode error.
From Frank Wang (bug 2548).











svn path=/trunk/; revision=25528
2008-06-23 09:24:32 +00:00