Commit Graph

76 Commits

Author SHA1 Message Date
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
Martin Mathieson 89ed3a03bb Wimax: support TLV type 48 in REG-REQ/REG-RSP.
From cfreeer, fixes bug 2571.










svn path=/trunk/; revision=25495
2008-06-20 15:55:32 +00:00
Martin Mathieson 2cddcc6b58 Fix wimax encoding err when packing subheader present.
From Frank Wang, fixes bug 2570.









svn path=/trunk/; revision=25494
2008-06-20 10:26:18 +00:00
Martin Mathieson 5da0fe48b0 Support TLV type 36 in wimax plugin.
From cfreeer (fix for bug 2569).








svn path=/trunk/; revision=25493
2008-06-20 10:17:13 +00:00
Jaap Keuter ab26f8d8a3 From cfreeer:
Wimax vals_tek_encryption_ids does not confirm the latest spec. Zero should be
"No TEK encryption" instead of "Reserved".

svn path=/trunk/; revision=25367
2008-05-23 05:36:09 +00:00
Jeff Morriss a5cee04fad Move the file utility functions from wiretap to libwsutil so that
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.

While doing that, rename the eth_* functions to ws_*.

svn path=/trunk/; revision=25354
2008-05-22 15:46:27 +00:00
Stig Bjørlykke 38011c53da From cfreeer (bug 2541):
Add tlv_tree for PKM_FLOW_CONTROL and MAX_SUPPT_SECURITY_ASSNS.

svn path=/trunk/; revision=25297
2008-05-14 08:46:47 +00:00
Stig Bjørlykke fe1738c394 From cfreeer (bug 2540):
Corrected use of hf_snp_auth_policy_support.

svn path=/trunk/; revision=25296
2008-05-14 08:38:58 +00:00
Jaap Keuter 9b0b67d6bb From cfreeer:
The offset need to be increased while decoding.

svn path=/trunk/; revision=25292
2008-05-14 05:52:32 +00:00
Anders Broman db6d0b9a4c Run checkAPI in plugins dir.
svn path=/trunk/; revision=25259
2008-05-08 18:24:08 +00:00
Anders Broman 023a81709a Make it possible to run checkapi on all plugins trough makefile.nmake
Note: Commented out in the plugins giving errors for now.

svn path=/trunk/; revision=25231
2008-05-05 16:55:19 +00:00
Jaap Keuter 40b433984b Now with EAP dissector safety valve.
svn path=/trunk/; revision=25204
2008-04-30 10:59:48 +00:00
Jaap Keuter 6e9d862cd8 From cfreeer:
There is no EAP decoder to decode EAP messages packed in Wimax PKM messages. 
I called the EAP decoder found in the Wireshark.

svn path=/trunk/; revision=25203
2008-04-30 09:15:50 +00:00
Stig Bjørlykke b472360c7d From Mohan (bug 2501):
Add a missing break statement.

svn path=/trunk/; revision=25168
2008-04-24 21:51:14 +00:00
Ulf Lamping 8b4f26afc6 fix the Win32 build: tfs_yes_no -> tfs_yes_no_sbc
svn path=/trunk/; revision=24840
2008-04-08 03:50:44 +00:00
Jaap Keuter b3e4a7bb02 Fix for bug 2401:
Repair header field type definitions, based on a patch from Chris Yang.

svn path=/trunk/; revision=24839
2008-04-07 22:46:50 +00:00