Commit Graph

1391 Commits

Author SHA1 Message Date
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
Ulf Lamping bd8528644e fix BlockError strings
svn path=/trunk/; revision=25490
2008-06-19 18:44:23 +00:00
Bill Meier 9a53920530 Do plugins Checkapi only if the checkapi target is explicitly invoked.
svn path=/trunk/; revision=25382
2008-05-27 02:14:14 +00:00
Martin Mathieson 03d7032acd Show ops, etc even when no filter set.
Also avoid crash I was seeing when changing preferences.

svn path=/trunk/; revision=25379
2008-05-26 08:22:33 +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 d1208e55e1 Initialize aitem.
svn path=/trunk/; revision=25302
2008-05-14 11:02:39 +00:00
Tomas Kukosa 1e82573549 fix missing brackets causing uninitialized hidden_item
svn path=/trunk/; revision=25300
2008-05-14 10:48:59 +00:00
Tomas Kukosa 19c327d160 From Anders Broman:
Patches for broken build

svn path=/trunk/; revision=25298
2008-05-14 10:21:41 +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 d22975841b Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25283
2008-05-13 06:55:45 +00:00
Bill Meier fe5c2d9820 g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
svn path=/trunk/; revision=25276
2008-05-11 18:33:49 +00:00
Jaap Keuter cacee64927 From Hans-Peter Bock:
Attached to this post you find a patch for integration into wireshark that adds
a dissector for SERCOS III, ethertype 0x88cd.

svn path=/trunk/; revision=25270
2008-05-10 14:44:32 +00:00
Anders Broman 8db8e90221 Use PROTO_ITEM_SET_HIDDEN().
Fix ID marking
Add checkapi to makefiles

svn path=/trunk/; revision=25260
2008-05-09 07:07:50 +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 bc12adaf1b Add Id tag.
svn path=/trunk/; revision=25236
2008-05-05 19:06:31 +00:00
Anders Broman ad890397cc Don't use proto_tree_add_item_hidden().
svn path=/trunk/; revision=25235
2008-05-05 18:58:53 +00:00
Anders Broman 57ebbbbb2c Dount use proto_tree_add_item_hidden().
svn path=/trunk/; revision=25233
2008-05-05 17:19:51 +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
Bill Meier 2bce8b248c Bug 2493: Fix (Part 3 of 3):
To prevent Windows compiler errors when using flex 2.5.35.
  Ignore 'signed /unsigned mismatch' warnings


svn path=/trunk/; revision=25174
2008-04-25 18:26:54 +00:00
Bill Meier 0d4b874b44 Bug 2493: Fix (Part 2):
To prevent Windows compiler errors when using flex 2.5.35.
 Fixes "missing unistd.h" and yywrap "mismatched parameter" warnings
 [Upcoming Part 3: ignore 'signed /unsigned mismatch' errors]

svn path=/trunk/; revision=25173
2008-04-25 17:40:29 +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
Jaap Keuter 81db026301 Fix for bug 2475:
Add a preference to the UNISTIM dissector so that you can set the default port back to 5000, even though this conflicts with other dissectors.

svn path=/trunk/; revision=25118
2008-04-19 10:41:45 +00:00
Jörg Mayer abaea4e100 The generated code warns about 'input' being unused. -Werror turns this into a failure
svn path=/trunk/; revision=25027
2008-04-14 21:29:29 +00:00
Jörg Mayer 46efef6b04 Get rid of some unused functions to prevent -Werror from causing the compile to fail
svn path=/trunk/; revision=25026
2008-04-14 21:24:12 +00:00
Ulf Lamping b3d55eb095 clarify the stats_tree menu items
svn path=/trunk/; revision=25009
2008-04-14 01:11:07 +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
Stephen Fisher 726a1caaf1 - Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION
- Remove ws_strsplit files because we no longer need to borrow GLIB2's
  g_strsplit code for the no longer supported GLIB1 builds


svn path=/trunk/; revision=24829
2008-04-07 05:22:54 +00:00
Stephen Fisher 13802b1d84 Remove GTK1 code.
svn path=/trunk/; revision=24827
2008-04-07 04:34:54 +00:00
Martin Mathieson 50ea8167c1 Make wimax mac mgmt protocol findable by name.
Bug 2409.

svn path=/trunk/; revision=24782
2008-04-05 05:04:14 +00:00
Martin Mathieson 88744abd6f Don't load in files unless tree is set.
If a user wants to load or capture quickly, they won't want to wait
for the file to be processed after the first frame.

svn path=/trunk/; revision=24781
2008-04-05 04:48:36 +00:00
Martin Mathieson 4cfefcc5a4 Use proto_register_prefix() with wimaxasncp plugin.
Also fix a crash problem seen with no filters (i.e. NULL tree).

svn path=/trunk/; revision=24767
2008-04-04 05:38:13 +00:00
Jaap Keuter b704bdcbc5 Remove the pre-release flag from FILEFLAGS in the resource file.
svn path=/trunk/; revision=24757
2008-03-29 23:04:33 +00:00
Anders Broman 1a2b14d60c In glib 2.16 g_malloc Changed from:
- gpointer g_malloc         (gulong	 n_bytes) G_GNUC_MALLOC;
to:
+ gpointer g_malloc         (gsize	 n_bytes) G_GNUC_MALLOC;

svn path=/trunk/; revision=24710
2008-03-21 16:10:47 +00:00
Gerald Combs 121e3d432e Try to fix distcheck again.
svn path=/trunk/; revision=24637
2008-03-15 00:21:02 +00:00
Gerald Combs b1bd2972ff Fix distcheck.
svn path=/trunk/; revision=24636
2008-03-14 23:43:35 +00:00
Gerald Combs 7519d12f8f Make sure the Infiniband plugin is properly built and packaged.
svn path=/trunk/; revision=24634
2008-03-14 21:53:16 +00:00
Stig Bjørlykke 5d9ca601d8 Added missing Id keywords, eol-style and ignore targets.
svn path=/trunk/; revision=24632
2008-03-14 19:48:49 +00:00
Stig Bjørlykke 3351980a29 Make infiniband plugin compile.
svn path=/trunk/; revision=24631
2008-03-14 19:35:54 +00:00
Gerald Combs 68d23708bc From Stephen Donnelly via bug 2235:
This plugin implements a dissector for Infiniband. It is released 
under the GPL v2.

Rather than using say libpcap to capture raw (unframed) IP packets 
from near the top of an IPoIB stack, this plugin dissects link level
Infiniband frames.

Infiniband trace files can be read from Endace ERF format trace 
files, or from libpcap DLT_ERF files containing ERF TYPE_INFINIBAND 
records. There is currently no native DLT_INFINIBAND in libpcap.

Each record contains a hardware timestamp, capture metadata such as 
port Id, and a complete link level Infiniband frame starting from
the Local Route Header.

svn path=/trunk/; revision=24628
2008-03-14 17:47:53 +00:00
Jörg Mayer dc6789a84f Set default port of Unistim from 5000 to 0: It grabs the TAPA
packets that I need.
The Unistim dissector should be made a heuristic dissector that
is willing to coexist with other dissectors. Until such a time
the port should remain 0.

svn path=/trunk/; revision=24573
2008-03-06 12:54:08 +00:00
Stephen Fisher 9ef2001f7b Fix the declaration of a true_false_string
svn path=/trunk/; revision=24572
2008-03-05 22:28:51 +00:00
Anders Broman 7a5b90df34 From Peter Johansson :
Support for EtherCAT subdissectors.

svn path=/trunk/; revision=24566
2008-03-05 20:42:58 +00:00
Jaap Keuter fcf8509f69 Create proper dependancies for plugin.c
svn path=/trunk/; revision=24520
2008-03-01 12:31:01 +00:00
Stig Bjørlykke fc5527ef6c Quote argument to test in plugins Makefiles, as proposed by Greg A. Woods.
svn path=/trunk/; revision=24488
2008-02-27 16:18:30 +00:00
Jeff Morriss 74905320f8 From Richard Kuemmel via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1430 : fix length mask.
svn path=/trunk/; revision=24459
2008-02-25 15:21:20 +00:00
Gerald Combs 7abeb02747 If we have an SVN revision number, use it as the build number under Windows
instead of "0".

svn path=/trunk/; revision=24376
2008-02-18 18:08:14 +00:00
Bill Meier 73f45b105e Fix a (never used) 'anonymous struct'
svn path=/trunk/; revision=24279
2008-02-07 00:59:14 +00:00
Stig Bjørlykke b0df21c5fd Eliminate an anonymous struct, as noticed by Andrew Hood.
svn path=/trunk/; revision=24277
2008-02-06 22:05:10 +00:00
Stig Bjørlykke cfc7b3276c Rewrote some prohibited APIs in plugins/ (sprintf, strcpy, strcat).
svn path=/trunk/; revision=24274
2008-02-05 22:30:32 +00:00
Stig Bjørlykke d5d2e97b47 Fixed some more malloc -> g_malloc, free -> g_free, strdup -> g_strdup.
svn path=/trunk/; revision=24180
2008-01-24 19:30:43 +00:00
Ulf Lamping adccc10596 add some parentheses as suggested by the OS X buildbot
svn path=/trunk/; revision=24122
2008-01-17 19:30:35 +00:00
Ulf Lamping 6cfbb485bf better conformance to the released DCP protocol spec:
- redesign/refactoring the code to support BlockQualifier
- fix handling of BlockInfo 
- rename some display strings for better spec conformance
- remove LLDP suboption

svn path=/trunk/; revision=24120
2008-01-17 18:29:51 +00:00
Jeff Morriss 283ddb3d0c Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2186 (many unnamed structs in packet-ecatmb.h) by adding predictable (but not very descriptive) struct names
svn path=/trunk/; revision=24061
2008-01-10 22:19:53 +00:00
Richard van der Hoff 1350d63c1e From Chris Maynard (bug 1852):
These packet-g*.c files all have display filter issues:

1) packet-gryphon.c: PROTOABBREV is "gryphon", but display filter fields are
prefixed with only "gryph".

2) packet-gmrp.c: PROTOABBREV is "gmrp", but display filter fields are prefixed
with "garp".

3) packet-gssapi.c: PROTOABBREV is "gss-api", but display filter fields are
prefixed with "gssapi".

4) packet-gvrp.c: PROTOABBREV is "gvrp", but display filter fields are prefixed
with "garp", most of which conflict with packet-gmrp.c's display filter fields.




svn path=/trunk/; revision=24058
2008-01-10 16:35:54 +00:00
Stig Bjørlykke 22afd80efc As noted by David Halik in bug 2172:
Removed an unnamed union member in ethercat.

svn path=/trunk/; revision=24024
2008-01-07 20:56:24 +00:00
Jörg Mayer 0c797861ba Warning fixes: function declaration isn’t a prototype
svn path=/trunk/; revision=23862
2007-12-14 15:14:40 +00:00
Jaap Keuter b5a733b0a8 Fix for bug 2098:
Test that message length is at least the minumum required, otherwise generate expert item..

svn path=/trunk/; revision=23854
2007-12-13 08:02:29 +00:00
Jaap Keuter bd5066006c The referenced sample files should be complete and correct.
svn path=/trunk/; revision=23848
2007-12-12 22:10:50 +00:00
Jörg Mayer 5998d1dbd2 mgcp is now in epan/dissectors/
svn path=/trunk/; revision=23843
2007-12-11 22:03:26 +00:00
Tomas Kukosa 910c8f6281 From Ales Kocourek
example plugin updated

svn path=/trunk/; revision=23839
2007-12-11 11:54:15 +00:00
Guy Harris 191da2295c Get rid of unused file. (No other plugin has it.)
svn path=/trunk/; revision=23812
2007-12-08 22:52:02 +00:00
Gerald Combs 2a67c4d472 Change calls to g_ntohs, g_ntohl, g_htons, and g_htonl to their
epan/pint.h equivalents. Add warnings about trying to operate on tvb
data directly.

svn path=/trunk/; revision=23787
2007-12-06 18:53:58 +00:00
Martin Mathieson b0998315f9 Fix some specifier strings (%d -> %u).
svn path=/trunk/; revision=23785
2007-12-06 17:47:00 +00:00
Bill Meier 69fbf4c69f Simplify Windows Makefile to improve maintainability
by reducing the number of changes req'd to add a plugin.

svn path=/trunk/; revision=23772
2007-12-05 19:43:50 +00:00
Stig Bjørlykke cbcfc45a72 I suppose we still need va_start/va_end when using se_strdup_vprintf.
svn path=/trunk/; revision=23769
2007-12-05 13:06:26 +00:00
Guy Harris 0be3a6524f To generate a session-lifetime string given a format and va_list, use
se_strdup_vprintf().

svn path=/trunk/; revision=23765
2007-12-05 10:27:49 +00:00
Bill Meier 6e6d13ccb9 Add missing profinet to maintainer-clean
svn path=/trunk/; revision=23757
2007-12-05 03:23:54 +00:00
Tomas Kukosa 4df43619aa Codec plugin example. The stub for ImTelephone libraries.
(It is not compiled by default.)

svn path=/trunk/; revision=23699
2007-12-03 09:59:18 +00:00
Gerald Combs 70510e21c8 Change each filter prefix to match the protocol name ("wmx"). Add a
"wmx" prefix to each sub-protocol. "wmx"-ize the preferences and
dissector registration.

svn path=/trunk/; revision=23660
2007-11-28 22:56:27 +00:00
Gerald Combs af85c74ade Tweak the order in which fields are registered, so that they don't
show up as protocols.

svn path=/trunk/; revision=23656
2007-11-28 22:29:00 +00:00
Guy Harris 9c89cdaaa3 strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delenda
est.  Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our
own versions if they're missing from GLib (as is the case with GLib
1.x).

In the code to build the list of named fields for Diameter, don't use
g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping
in the hash function and use g_ascii_strcasecmp() in the compare
function.

We do this because there is no guarantee that toupper(), tolower(), and
functions that use them will, for example, map between "I" and "i" in
all locales; in Turkish locales, for example, there are, in both
upper case and lower case, versions of "i" with and without a dot, and
the upper-case version of "i" is "I"-with-a-dot and the lower-case
version of "I" is "i"-without-a-dot.  This causes strings that should
match not to match.

This finishes fixing bug 2010 - an earlier checkin prevented the crash
(as there are other ways to produce the same crash, e.g. a bogus
dictionary.xml file), but didn't fix the case-insensitive string matching.

svn path=/trunk/; revision=23623
2007-11-27 18:52:51 +00:00
Jeff Morriss b2991dfd21 Oops, don't put a comment inside a comment
svn path=/trunk/; revision=23610
2007-11-26 19:11:26 +00:00
Jeff Morriss 309f7503e5 Get rid of C++/C99 style comments--not all compilers support them
svn path=/trunk/; revision=23608
2007-11-26 18:55:17 +00:00
Jeff Morriss 565d493671 Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1914 when building out of the source tree by not issuing a complaint if the wimaxasncp dictionary is not found. This is ugly but it's how diameter does it, too, and I am not aware of a better way.
svn path=/trunk/; revision=23565
2007-11-24 16:09:47 +00:00
Martin Mathieson 9fb579537e - Prettify "Value" node that contains EAP tree with top-level details
- Lose unuseful header file

svn path=/trunk/; revision=23499
2007-11-19 19:07:49 +00:00
Martin Mathieson 24d6a39eb0 Embedding EAP inside wimaxasncp.
svn path=/trunk/; revision=23474
2007-11-16 23:03:09 +00:00
Guy Harris 6f1740aa6c Cast "char"s to "unsigned char" before handing them to <ctype.h> macros.
svn path=/trunk/; revision=23417
2007-11-10 00:36:01 +00:00
Martin Mathieson 0f63de9281 From Stephen Croll.
Dynamically register filter fields from TLV definitions.

svn path=/trunk/; revision=23414
2007-11-09 14:41:04 +00:00
Anders Broman 6226035893 Apply yet another set of the optimization patches:
When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length().

On the other hand 
	if (tvb_bytes_exist(tvb, 0, 20)
is more readable than
	if (tvb_length(tvb) >= 20

so only do it in heuristic function

svn path=/trunk/; revision=23412
2007-11-09 06:01:18 +00:00
Anders Broman a6850bb34e Delete generated files at distclean.
svn path=/trunk/; revision=23368
2007-11-05 20:44:10 +00:00
Anders Broman dbcabb1938 Get rid of most of the legacy oid stuff.
svn path=/trunk/; revision=23333
2007-11-01 22:07:43 +00:00
Stephen Fisher d33e4cc381 Change a few g_string_append_printf() (GTK2 only) calls to g_strdup_printf()
and g_string_append() to work on GTK 1.2 also.


svn path=/trunk/; revision=23311
2007-10-30 05:49:41 +00:00
Martin Mathieson 7c80a7feae Add expert item for cases of unmatched function type or message op.
svn path=/trunk/; revision=23276
2007-10-26 10:38:16 +00:00
Jeff Morriss c7bed1298f s/fopen()/eth_fopen()/ in plugins/ (for bug 1827).
svn path=/trunk/; revision=23221
2007-10-17 21:25:16 +00:00
Jeff Morriss 0918c7159b sizeof() returns a 64-bit number when compiling for 64-bit (and a 32-bit number when compiling for 32-bit) so cast sizeof() values that are passed to g_snprintf() to guint (since that appears to be the intent of the display).
svn path=/trunk/; revision=23205
2007-10-16 14:54:51 +00:00
Jörg Mayer 4604a19971 Fix a warning about different variable sizes that prevented compilation
with gcc.

svn path=/trunk/; revision=23204
2007-10-16 14:30:41 +00:00
Stig Bjørlykke fe8e1e3fbc Fixed compiler errors.
svn path=/trunk/; revision=23196
2007-10-15 21:46:08 +00:00
Anders Broman 407faa6a2d Try to fix the buildbot.
svn path=/trunk/; revision=23193
2007-10-15 20:12:02 +00:00
Anders Broman e922e453dd Add ethercat again
svn path=/trunk/; revision=23191
2007-10-15 19:19:33 +00:00
Anders Broman 3c419f798c Make MGCP a builtin dissector to reduce the number of plugins.
(Leave the MGCP plugin dir for now).

svn path=/trunk/; revision=23190
2007-10-15 18:57:10 +00:00
Anders Broman 721796617d From Peter Johansson:
addressing the compilation problems

svn path=/trunk/; revision=23188
2007-10-15 18:39:58 +00:00
Bill Meier 4644ce7263 Fix Windows maintainer-clean/distclean/clean to recurse thru subdirs only once (instead of worst-case 1+2+3 times)
svn path=/trunk/; revision=23187
2007-10-15 16:44:31 +00:00
Martin Mathieson bafcd03634 In source tree, move wimaxasncp TLV files from plugin folder -> new top-level wimaxasncp folder.
svn path=/trunk/; revision=23184
2007-10-15 12:32:19 +00:00
Anders Broman dfec0c6079 Remove Ethercat from the makefiles(second try)
svn path=/trunk/; revision=23180
2007-10-15 05:45:50 +00:00
Anders Broman 2cc898ef83 Remove Ethercat from the makefiles
svn path=/trunk/; revision=23179
2007-10-15 05:26:22 +00:00
Jaap Keuter c9131582af Someone has a compromised filesystem since it contained all kinds of stuff from other plugins.
Tried to clean it up and get it in line with the rest of the codebase.
Still doesn't compile without warnings though.

svn path=/trunk/; revision=23177
2007-10-14 21:01:01 +00:00
Anders Broman c644b82279 Ethercat plugin
Author :
Richard Kuemmel <r.kuemmel[AT]beckhoff.de>

Updates and bugfixes:
Peter Johansson <peterjohansson73[AT]gmail.com>

svn path=/trunk/; revision=23174
2007-10-14 15:45:24 +00:00
Anders Broman 3238f6b87a Ethercat plugin
Author :
Richard Kuemmel <r.kuemmel[AT]beckhoff.de>

Updates and bugfixes:
Peter Johansson <peterjohansson73[AT]gmail.com>

svn path=/trunk/; revision=23173
2007-10-14 15:44:05 +00:00
Stephen Fisher 239f4e2ebb Fix Unix buildbots ("warning: 'msg_type' may be used uninitialized in this
function")


svn path=/trunk/; revision=23172
2007-10-14 00:56:53 +00:00
Anders Broman b5e2191dd6 Decode SDP inside Cisco SM messages(huge guesswork).
svn path=/trunk/; revision=23171
2007-10-13 21:59:33 +00:00
Gerald Combs ff5826a106 Fix wimaxasncp compilation under Windows. Rename a macro that's defined
by the platform SDK, cast an int, and use the top-level Makefile.nmake.inc
to build wimaxasncp_dict.{c|obj}.

svn path=/trunk/; revision=23165
2007-10-12 18:26:47 +00:00
Martin Mathieson 13bf6bc269 Another blind attempt to fix the Windows buildbot.
Could someone please review this (I'm leaving for the day soon)?

svn path=/trunk/; revision=23164
2007-10-12 16:51:42 +00:00
Jeff Morriss be55140415 Fix hex-pane byte highlighting for the PDU message type item
svn path=/trunk/; revision=23163
2007-10-12 15:41:53 +00:00
Martin Mathieson faffc473d1 Add targets for lex compilation.
svn path=/trunk/; revision=23162
2007-10-12 15:00:20 +00:00
Martin Mathieson 258eab8c26 Try to fix distcheck. Is this change appropriate?
svn path=/trunk/; revision=23161
2007-10-12 13:29:54 +00:00
Martin Mathieson 2c994a337f Added missing header file for distcheck.
svn path=/trunk/; revision=23160
2007-10-12 12:26:38 +00:00
Martin Mathieson 278271b8f7 Add missing file.
svn path=/trunk/; revision=23158
2007-10-12 10:44:49 +00:00
Martin Mathieson 358c4399ba TLVs now defined in XML (from Stephen Croll).
svn path=/trunk/; revision=23156
2007-10-12 09:59:10 +00:00
Ulf Lamping 5c901658e7 add FSParameterBlock and ARFSUDataAdjust blocks
svn path=/trunk/; revision=23140
2007-10-10 18:33:21 +00:00
Ulf Lamping 37d9fc37da - add DomainName fields for PDInterfaceMrpDataAdjust and PDInterfaceMrpDataReal
- lower expert info level if AR wasn't found

svn path=/trunk/; revision=23106
2007-10-09 05:39:48 +00:00
Richard van der Hoff 4d2920314d From Chris Maynard <christopher.maynard@gtech.com>:
With the exception of docsis's packet-tlv.c file, these are all simple problems
with the prefix not exactly set to PROTOABBREV.  For example, for
packet-bpkmattr.c, the field names are prefixed with "docsis.bpkmattr." instead
of "docsis_bpkmattr.".

packet-tlv.c had one mis-named field, namely "docsis.cos.sid".  It has been
changed to "docsis_tlv.cos.sid" in the patch to be attached, which includes
patches for 29 files in the plugins/docsis/ directory ...


svn path=/trunk/; revision=23088
2007-10-07 23:46:44 +00:00
Stig Bjørlykke 87cffefe2f Added parentheses to make the buildbot happy.
svn path=/trunk/; revision=23065
2007-10-03 19:35:32 +00:00
Ulf Lamping 2a8f9b4c99 check version of each block and don't try to dissect a block if the version is not as expected (to avoid "miss-dissections")
svn path=/trunk/; revision=23064
2007-10-03 18:02:27 +00:00
Ronnie Sahlberg 022aaeb39d make the sbus dissector nwe-style and make it check that the packet does
indeed look like sbus before taking it.


this fixes bug 1871


svn path=/trunk/; revision=23057
2007-10-02 22:04:07 +00:00
Ulf Lamping c3131594a8 update to latest IEC draft
svn path=/trunk/; revision=23041
2007-10-02 05:04:35 +00:00
Martin Mathieson 8e59e99b5c - show type (number) of unrecognised tlvs in the tlv root item
- also add this as an expert item
- tlv root item is now an FT_BYTES item (allowing filtering on whole tlv contents)

svn path=/trunk/; revision=22986
2007-09-26 14:47:22 +00:00
Ulf Lamping 33f27f437f slightly better summary of IODWriteRes and don't repeat AR info for each IODWriteRes_header
svn path=/trunk/; revision=22970
2007-09-25 21:56:43 +00:00
Stig Bjørlykke 19aa309fea From Don Newton:
added null termination to uftp and cleaned comments in packet-unistim.c

svn path=/trunk/; revision=22940
2007-09-24 19:56:17 +00:00
Jaap Keuter f2c1b7e8f0 From Chad Singer:
I fixed a bug in packet_unistim.c which was causing a 'malformed packet' to
appear when an open stream command is read with no endpoint ip (as is sometimes
done) I added a simple msg_len check to avoid this. 
I also added UFTP to the unistim dissector and adjusted the unistim call-detection 
in voip-info.c to start on an open stream as well as keypresses..

svn path=/trunk/; revision=22929
2007-09-24 06:19:56 +00:00
Jaap Keuter 816b438354 From Don Newton:
Added phone type using Nortel branded Polycom unistim conference phone.

svn path=/trunk/; revision=22910
2007-09-19 18:57:09 +00:00
Jaap Keuter bb983c053e Fix for bug 1687:
Add RFC 3807 defined V5 interface boundary primitives message class.

svn path=/trunk/; revision=22882
2007-09-16 14:22:06 +00:00
Jaap Keuter 0503c37133 Add RT(C)P conversation setup.
svn path=/trunk/; revision=22862
2007-09-13 18:47:10 +00:00
Jaap Keuter f0d360a48a Implement dissect_message loop i.s.o. recursive calls.
svn path=/trunk/; revision=22857
2007-09-12 21:46:55 +00:00
Jaap Keuter e1541263e4 From Chad Singer:
UNISTIM Tap interface plus call grapher.

svn path=/trunk/; revision=22834
2007-09-10 07:21:27 +00:00
Ulf Lamping 1366745e45 start an experiment to provide MS Visual Studio 2005 solution / project files for a lot easier debugging. They still use the underlying Makefile.nmake files for the actual build process.
svn path=/trunk/; revision=22831
2007-09-09 13:59:58 +00:00
Martin Mathieson 9d0e61f12c Replace remaining non-printable characters that looked like spaces with real spaces.
svn path=/trunk/; revision=22824
2007-09-07 15:58:24 +00:00
Martin Mathieson fe8b214d35 Small cleanup:
- remove unprintable chars (pasted from formatted spec doc?)
- use _U_ for unsused function argument
- remove accidental(?) assignment in function parameter
- make indentation consistent by removing the (few) tabs in the file

svn path=/trunk/; revision=22819
2007-09-07 13:53:49 +00:00
Martin Mathieson aef34dca35 Try Stephen Croll's workaround.
svn path=/trunk/; revision=22818
2007-09-07 09:56:19 +00:00
Anders Broman 01bd582bc0 Change it back...
Plus Temp change VALS(sminmpec_values) to NULL to let the buildbot do arun.

svn path=/trunk/; revision=22813
2007-09-06 21:33:57 +00:00
Anders Broman 83f7ac9f95 Add A11 RRQ-CVSE-Active Start Airlink Record-Subtype 108 is expressed to Subnet.
Plus Temp change VALS(sminmpec_values) to NULL to let the buildbot do arun.

svn path=/trunk/; revision=22812
2007-09-06 21:25:41 +00:00
Guy Harris 00ea6ee9fd Add .c.obj:: inference rule (to cause "batch compile")
svn path=/trunk/; revision=22809
2007-09-06 16:55:03 +00:00
Martin Mathieson 400f998e3b Fix the unsigned errors. Not sure about the other windows errors yet...
svn path=/trunk/; revision=22806
2007-09-06 14:14:09 +00:00
Martin Mathieson 0b04fe922b Build WiMAX ASN Control Plane dissector plugin
svn path=/trunk/; revision=22801
2007-09-06 10:14:49 +00:00
Martin Mathieson c4c6de35df Add wimaxasncp plugin folder contents (other changes will follow)
svn path=/trunk/; revision=22800
2007-09-06 10:05:41 +00:00
Ulf Lamping b57c83f6eb fix length calculation for 802.11 packets - the 802.11 dissector will strip off the 4 byte FCS at the end of a packet (while the Ethernet dissector does not).
svn path=/trunk/; revision=22759
2007-08-30 19:50:56 +00:00
Ulf Lamping b0f5c26ebf update to latest draft:
- add PDSyncData block with Version 1.2
- add IOXBlockReq/s ids 0x116, 0x117, 0x8116 and 0x8117

svn path=/trunk/; revision=22734
2007-08-30 02:14:36 +00:00
Jörg Mayer 659b175cd7 Disable unistim for now: it used port 5000 unconditionally
and that collied with tapa. Please add a check.

svn path=/trunk/; revision=22702
2007-08-28 10:37:21 +00:00
Bill Meier 516ca59b99 Add .c.obj:: inference rule (to cause "batch compile")
svn path=/trunk/; revision=22696
2007-08-27 22:56:27 +00:00
Luis Ontanon 00c5e48a17 get users of oid_resolv to use the new oids, rollout packet-snmp.c
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Gerald Combs a6d76c62a5 Clear out any remaining references to the h223 plugin. Replace the
references to h223 in README.plugins with agentx since it's small and
no one seems to be in a hurry to move it to epan/dissectors. 

svn path=/trunk/; revision=22641
2007-08-24 16:08:31 +00:00
Richard van der Hoff e184617c04 complete the death of the h223 plugin
svn path=/trunk/; revision=22635
2007-08-24 13:44:59 +00:00
Richard van der Hoff a312d7833c move packet-srp into the core (from the h223 plugin)
svn path=/trunk/; revision=22634
2007-08-24 13:08:21 +00:00
Jaap Keuter 13d050e9b6 List additional request for command presentation
svn path=/trunk/; revision=22605
2007-08-23 19:12:52 +00:00
Richard van der Hoff 27c71e90ba in preparation for de-pluginising h223, move golay code support into libwireshark
svn path=/trunk/; revision=22603
2007-08-23 17:25:22 +00:00
Jaap Keuter b65cc92385 Add the UNISTIM plugin to Wireshark.
svn path=/trunk/; revision=22558
2007-08-20 20:50:29 +00:00
Ulf Lamping 3a0c285065 fix return types, hopefully this will make the osx buildbot happy
svn path=/trunk/; revision=22531
2007-08-16 22:45:36 +00:00
Ulf Lamping 4b215597ae experimental feature: dissector filters
add the possibility, that a dissector writer can provide (usually non-trivial) display filters specific for the protocol in question (with an example in packet-dcerpc-pn-io.c), that will appear in the GUI


svn path=/trunk/; revision=22530
2007-08-16 22:03:10 +00:00
Guy Harris 5be4499ad1 Add a script as a front-end for Flex, to work around various problems,
such as the fact that Flex strips all but the last component of the "-o"
argument, and that it doesn't generate a header file to declare routines
the generated lexical analyzer defines.  Use that script when building
lexical analyzers, and, for each lexical analyzer, include the generated
header file in the generated analyzer.

svn path=/trunk/; revision=22446
2007-08-04 02:13:52 +00:00
Ulf Lamping 2d11b0813e mark some parameters as unused
svn path=/trunk/; revision=22445
2007-08-03 20:07:06 +00:00
Ulf Lamping 12aed7290c - add PDInterfaceFSUDataAdjust block
- start to implement an AR conversation handler

svn path=/trunk/; revision=22444
2007-08-03 19:29:34 +00:00
Guy Harris 46be54cee3 Add a Makefile.nmake.inc file, to hold rules etc. used by multiple
Makefile.nmake files; currently, it has the (F)lex-to-C rule and a
.SUFFIXES pseudo-rule to add .l to the list of suffixes.  Have
Makefile.nmake files with .l.c rules include Makefile.nmake.inc to get
that rule.

The names Makefile.am.inc and Makefile.nmake.inc aren't necessarily the
right names for the files in question.

Use $(PACKAGE) in the Mate plugin's Makefile, rather than "mate".

svn path=/trunk/; revision=22437
2007-08-01 22:20:38 +00:00
Guy Harris 159e795100 Add a Makefile.am.inc file, to hold rules etc. used by multiple
Makefile.am files; currently, it has the (F)lex-to-C rule.  Have
Makefile.am files with .l.c rules include Makefile.am.inc to get that
rule.

svn path=/trunk/; revision=22436
2007-08-01 20:35:05 +00:00
Jaap Keuter 6ab0bbb73c Clean up the WiMax Mac-to-Mac dissector code.
svn path=/trunk/; revision=22435
2007-08-01 17:42:43 +00:00
Guy Harris 61dd46fa9c Use a common .l.c rule for running Flex on .l files, just as is done on
UN*X.

svn path=/trunk/; revision=22434
2007-08-01 00:22:25 +00:00
Ulf Lamping f4cabf95a1 update PTCP dissection to latest specification draft
svn path=/trunk/; revision=22432
2007-07-31 19:01:15 +00:00
Ulf Lamping 6970aff017 add helper function dissect_pn_int32()
svn path=/trunk/; revision=22431
2007-07-31 18:57:51 +00:00
Guy Harris 968d363f11 Add comments to various %option items to explain what they're doing.
Move the %options to the beginning if they weren't already there, and
put them in the same order in all files.

Add "prefix=" options to .l files that don't already have them, so we
don't have to pass a "-P" option.

Add "never-interactive" and "noyywrap" options to our lexical analyzers,
to remove extra isatty() checks and to eliminate the need for yywrap()
from the Flex library.

Get rid of %option nostdinit - that's the default.

Add .l.c: rules to Makefile.am files, replacing the rules for specific
.l files.  Have those rules all check that $(LEX) is set.

Update the address for the FSF.

svn path=/trunk/; revision=22424
2007-07-30 20:22:37 +00:00
Jeff Morriss d363af82bf Initialize a couple of variables to prevent a couple (false, I think) "could be used uninitialized" warnings from GCC
svn path=/trunk/; revision=22401
2007-07-25 17:16:02 +00:00
Ulf Lamping 85e09ecdd5 fix unused parameter warning by adding _U_
svn path=/trunk/; revision=22400
2007-07-25 08:38:31 +00:00
Ulf Lamping 9f2478f46c from HPfrommer@hilscher.com:
I’ve fixed a bug in the Profinet-Dissector 
(plugins/profinet/packet-dcerpc-pn-io.c).

In PROFINET IO DCE RPC write-requests, only the first IR frame dataset 
in PDIRFrameData was dissected.

I’ve fixed the problem, now all IR frame datasets are dissected into 
individual sub-trees.

svn path=/trunk/; revision=22398
2007-07-24 21:15:34 +00:00
Ulf Lamping a5ba21acf8 remove ProvCRID from expert info output, so the composite view is more compact
svn path=/trunk/; revision=22386
2007-07-23 20:08:53 +00:00
Ulf Lamping 94b3dbf3f6 add dissection of blocks:
{ 0x021E, "CheckSyncDifference"},
	{ 0x021F, "CheckMAUTypeDifference"},

svn path=/trunk/; revision=22385
2007-07-23 20:07:51 +00:00
Bill Meier a6dab6d644 (Minor) Use _WIN32 (instead of WIN32) like the rest of Wireshark
svn path=/trunk/; revision=22030
2007-06-03 16:07:07 +00:00
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Martin Mathieson 60b4275377 Add some casts to fix my build.
I'm not sure why no-one else saw those warnings and failed with -Werror...

svn path=/trunk/; revision=21980
2007-05-29 12:12:12 +00:00
Sebastien Tandel 76729e5d0f From David Howells :
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-05-29 02:43:18 +00:00
Guy Harris a7c42e75e0 Use $(PLUGIN_LDFLAGS) for LDFLAGS.
svn path=/trunk/; revision=21963
2007-05-27 18:56:39 +00:00
Guy Harris 1c202d544c Clean up white space.
svn path=/trunk/; revision=21962
2007-05-27 18:44:22 +00:00
Guy Harris 9f2381e128 Get rid of trailing blank lines.
svn path=/trunk/; revision=21961
2007-05-27 18:35:55 +00:00
Guy Harris 01844e151a Use tvb_reported_length() to get the amount of data we should look at;
the number of bytes in the packet or subset of the packet is the
reported length, tvb_length() just gives you the amount of that data
that was actually captured.

Include <glib.h>, not <gmodule.h>, even in plugins.

Fix the version numbers in the rc files.

svn path=/trunk/; revision=21960
2007-05-27 18:33:13 +00:00
Guy Harris d99b6c0a8b Clean up white space.
svn path=/trunk/; revision=21959
2007-05-27 18:30:03 +00:00
Guy Harris 995493bb64 Include wimax_tlv.h the same way packet-m2m.c does.
svn path=/trunk/; revision=21958
2007-05-27 05:27:44 +00:00
Guy Harris 5d041e8839 wmxtypes.h is part of the m2m plugin, not the wimax plugin.
svn path=/trunk/; revision=21957
2007-05-27 02:01:00 +00:00
Guy Harris 75e07d214c Squelch some unused parameter warnings.
svn path=/trunk/; revision=21956
2007-05-26 20:07:53 +00:00
Guy Harris 614cdfcdba Flag some parameters as unused.
svn path=/trunk/; revision=21955
2007-05-26 19:31:50 +00:00
Guy Harris 2be10fe10b Get rid of unused parameter.
svn path=/trunk/; revision=21954
2007-05-26 18:59:56 +00:00
Guy Harris 62955d62fe Convert to the new style of building plugins; hopefully this'll fix the
rest of the distcheck issues.

svn path=/trunk/; revision=21953
2007-05-26 18:26:46 +00:00
Graeme Lunt 292543bc1c Missing bits and fixes to get the buildbot green again.
svn path=/trunk/; revision=21952
2007-05-26 10:17:08 +00:00
Guy Harris b30369bd09 Get rid of another item that's now handled automatically.
svn path=/trunk/; revision=21951
2007-05-26 03:26:20 +00:00
Guy Harris bc8357e204 Get rid of the old-style plugin registration stuff.
svn path=/trunk/; revision=21950
2007-05-26 03:15:51 +00:00
Guy Harris 4cfdd8ebb6 Go with a Makefile.common as other plugins have, and tweak the
Makefile.nmake and Makefile.am files to more closely resemble the ones
for other plugins.

(This should fix at least one of the distcheck problems, namely that
wmxtypes.h apparently wasn't getting put into the distribution.)

svn path=/trunk/; revision=21949
2007-05-26 03:12:25 +00:00
Gerald Combs a491fec183 From Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.
Add support for WiMAX and M2M to various makefiles and installer files.  Add
basic support for M2M to randpkt.

svn path=/trunk/; revision=21945
2007-05-25 23:40:42 +00:00
Jörg Mayer 21adfc3029 Trivial warning fixes:
opcua: warning: function declaration isn't a prototype
rest: comma at end of enumerator

svn path=/trunk/; revision=21885
2007-05-22 13:17:24 +00:00
Guy Harris 6ea3d47e77 "make maintainer-clean" cleans up everything that "make distclean" does;
there's no need for files in DISTCLEANFILES to be in
MAINTAINERCLEANFILES as well.

In epan, split the generated source files into those that should be
cleaned by "make distclean" and those that shouldn't, and have
DISTCLEANFILES include only the ones that should be cleaned by "make
distclean" and have MAINTAINERCLEANFILES include the ones that shouldn't
be cleaned by "make distclean".  This should fix bug 1595.

The generated source files don't need to be in EXTRA_DIST.

Use LIBWIRESHARK_DISTCLEAN_GENERATED_SRC and
LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC in epan/Makefile.nmake.

svn path=/trunk/; revision=21882
2007-05-22 07:21:12 +00:00
Jaap Keuter 33cd736ce7 Make files more generic.
svn path=/trunk/; revision=21864
2007-05-21 18:08:47 +00:00
Ulf Lamping 872f29e293 from Gerhard Gappmeier (ULFL: only slightly changed the unused prevention):
I updated the files for the build process to fit the current wireshark
version.
I don't know much about it so a just copied the missing parts from
another module.
I'm not sure of it's right, so please have a look at it.

Modifications:
* added plugin.rc.in
* added moduleinfo.nmake
* updated Makefile.am/nmake/common
* removed unused variable from opcua_application_layer.c
* fixed unused parameter warning in opcua.c

I tested it on Windows with VC6 and on Gentoo linux with gcc 3.4.6.

svn path=/trunk/; revision=21802
2007-05-16 08:13:11 +00:00
Ulf Lamping bfa57bdb6d from Gerhard Gappmeier:
renamed prefix ua_ -> opcua_
remove unused code

svn path=/trunk/; revision=21784
2007-05-15 09:53:26 +00:00
Ulf Lamping 7dc6e7cf64 remove generated file
svn path=/trunk/; revision=21782
2007-05-15 09:12:39 +00:00
Ulf Lamping 44792f5dba add the list of DISSECTOR_INCLUDES
svn path=/trunk/; revision=21781
2007-05-15 09:10:16 +00:00
Ulf Lamping 12101aad61 add svn properties for dir and files
svn path=/trunk/; revision=21780
2007-05-15 09:05:53 +00:00
Gerald Combs aa19aa2326 Quote the path to make-dissector-reg.py.
svn path=/trunk/; revision=21769
2007-05-14 17:01:25 +00:00
Ulf Lamping dd8feca514 from Gerhard Gappmeier (ascolab):
new dissector for OPCUA protocol

svn path=/trunk/; revision=21760
2007-05-14 13:58:54 +00:00
Anders Broman 4c692a62b6 Start introducing actx to ber functions.
svn path=/trunk/; revision=21705
2007-05-06 22:34:05 +00:00
Anders Broman 1cf1f16391 Split out common asn1 stuff to asn1.h and include that where needed.
svn path=/trunk/; revision=21635
2007-05-01 22:05:11 +00:00
Sebastien Tandel 06deb19f7d move ipsec to DISSECTOR_SRC
fix some more MacOSX gcc warnings

svn path=/trunk/; revision=21433
2007-04-14 15:57:03 +00:00
Sebastien Tandel aa17869bf7 remove "treat warnings as errors" barrier for every repo containing code
generated by $(LEX) until a solution is found to compile them separately.


svn path=/trunk/; revision=21432
2007-04-14 14:07:46 +00:00
Ulf Lamping 2fd09672de add dissection of PortTime
svn path=/trunk/; revision=21360
2007-04-10 02:26:39 +00:00
Gerald Combs 5620d4fa15 Add the make-dissector-reg scripts to the dependency list for each copy
of plugin.c.

svn path=/trunk/; revision=21342
2007-04-05 23:23:06 +00:00
Stephen Fisher 6625e7503f Fix warnings on Linux/gcc 4.1.1
svn path=/trunk/; revision=21330
2007-04-03 21:17:13 +00:00
Ulf Lamping 0104002d2e Add PN-IO FSHelloBlock and PN-DCP Device/AliasName
svn path=/trunk/; revision=21298
2007-04-02 05:18:31 +00:00
Sebastien Tandel c136927420 revert back (void*) -> (void**) which will stop free-warning compilation with
gcc-4.1.2


svn path=/trunk/; revision=21282
2007-03-30 12:04:40 +00:00
Sebastien Tandel 8405f21ea2 strict aliasing warnings fix : replace (void**) by (void*)
svn path=/trunk/; revision=21274
2007-03-29 22:58:02 +00:00
Stephen Fisher 8fd3ee0560 Remove almost all of the casts I committed recently and in place of
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.


svn path=/trunk/; revision=21253
2007-03-28 21:55:11 +00:00
Graham Bloice b44cd57b49 Removed /Wx from CFLAGS to allow buildbot to proceed
svn path=/trunk/; revision=21248
2007-03-28 16:31:25 +00:00
Ulf Lamping 9e78e405c0 from Gisle Vanem: some more #pragma's that MingW don't like
svn path=/trunk/; revision=21240
2007-03-28 03:56:24 +00:00
Ulf Lamping cc061b5521 add missing #pragma warning disable (now using _MSC_VER)
svn path=/trunk/; revision=21227
2007-03-27 20:57:58 +00:00
Ulf Lamping 4cc5c2ca24 set "WX" and "#pragma warning(disable:4101)"
svn path=/trunk/; revision=21222
2007-03-27 02:47:09 +00:00
Ulf Lamping 8f0c262af1 the megaco plugin no longer exists, remove remaining traces ...
svn path=/trunk/; revision=21220
2007-03-27 00:19:15 +00:00
Luis Ontanon 943126bbe6 trash the empty container of the megaco plugin
svn path=/trunk/; revision=21215
2007-03-26 21:16:31 +00:00
Stephen Fisher 46b8669566 Fix a bunch more warnings. Add -Werror when using --with-warnings-as-errors
under gcc to tools/lemon, plugins/mate and epan/


svn path=/trunk/; revision=21204
2007-03-26 06:10:52 +00:00
Luis Ontanon 296a77efdc migrate packet-megaco.c from plugins/megaco to epan/dissectors
svn path=/trunk/; revision=21191
2007-03-25 21:59:16 +00:00
Ulf Lamping 27f97a1dfc all warnings removed in the meantime, "treat warnings as errors" :-)
svn path=/trunk/; revision=21184
2007-03-25 17:07:36 +00:00
Stephen Fisher 43a98f8fb8 From Sebastien Tandel:
fixes gcc warnings and get rid of declaration after statements


svn path=/trunk/; revision=21159
2007-03-23 23:47:41 +00:00
Stephen Fisher 2896811274 Fix about 150 warnings new to gcc 4.0 in the error on warning directories.
Comment out -Werror in plugins/asn1/ until warnings can be fixed.


svn path=/trunk/; revision=21158
2007-03-23 22:49:23 +00:00
Stephen Fisher 8973617e4b From Sebastien Tandel:
First patch fixes warning of profinet and megaco plugins to compile
again with gcc-4.1.2.


svn path=/trunk/; revision=21155
2007-03-23 18:16:53 +00:00
Stephen Fisher 62f88a4a04 From Sebastien Tandel:
(Temporarily disable the warnings as errors default on Unix to get
to get the buildbots and people with gcc40 going again until those
additional warnings gcc40 generates can be fixed-I'm working on it
ASAP)

   Patch for configure.in which disables by default the treatment of
warnings as errors.
It can be enabled with './configure --with-warnings-as-errors'.
The macro will test first if GCC is present. If it's the case,
HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced
by HAVE_WARNINGS_AS_ERRORS.
With this switch, people won't suffer from unexpected warnings when
downloading svn sources during the transition time ;)


svn path=/trunk/; revision=21153
2007-03-23 17:49:59 +00:00
Stephen Fisher cdf47e536b Add -Werror when using GCC only to the Makefile.am of the base
directory and most of the plugins to match the same command 
put in the Makefile.nmake files for Windows compliations.  Fix
a few warnings when compiling under gcc 3.4.4 on FreeBSD.  Create
new automake file variable called USING_GCC in configure.in and
wiretap/configure.in to acomplish the above -Werror addition. 


svn path=/trunk/; revision=21127
2007-03-22 23:03:39 +00:00
Ulf Lamping 1bbf0a0de3 leave out the mate plugin for now, so buildbot might compile again ...
svn path=/trunk/; revision=21118
2007-03-22 13:57:02 +00:00
Ulf Lamping af10d352aa fix a warning, set CFLAGS to block new warnings
svn path=/trunk/; revision=21103
2007-03-22 00:11:55 +00:00
Ulf Lamping af9ae7eebb set CFLAGS to block new warnings for all plugins (except for giop and h223, which has remaining issues - for now)
svn path=/trunk/; revision=21102
2007-03-21 23:59:41 +00:00
Ulf Lamping 1de801962f fix two MSVC warnings
svn path=/trunk/; revision=21101
2007-03-21 23:58:14 +00:00
Ulf Lamping c3bf838051 as Jeff made empty field names "illegal", he changed the way PN-IO and PN-PTCP showed their blocks in an unwanted way - fix it
svn path=/trunk/; revision=21019
2007-03-11 12:07:43 +00:00
Jeff Morriss 62596bffb3 Fix bug 552:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=552

by enforcing that header fields have names of length > 0.  This should fix
the display of those fields and also make them filterable (which was the
subject of the bug).  Abbreviations are (still) optional: if they are empty
then the field is not filterable.

Update README.developer with this information.

Add header field names in several dissectors where they were missing.

In packet-arp.c give "packet-storm-detected" a name (as above) but also set it
as _GENERATED.

Also remove trailing white space from all the files checked in.

svn path=/trunk/; revision=21018
2007-03-11 06:16:00 +00:00
Ulf Lamping e30640be45 PROFINET RT frames can also be transported over UDP Port 0x8892 - to be routable
svn path=/trunk/; revision=20985
2007-03-06 21:54:53 +00:00
Ulf Lamping 00335ac48e fix read handling of index 0x8051 and 0xe00c
svn path=/trunk/; revision=20963
2007-03-03 09:33:02 +00:00
Anders Broman c637027427 From Richard van der Hoff:
- Registers H.223 as a dissector for RTP CLEARMODE payloads -
and makes some other modifications to the H.223 dissector to make this
work correctly.

-Allows a standalone binary, epan/reassemble_test, to be built; this can be run from the commandline and should end up printing out "success" 
if all goes well.

svn path=/trunk/; revision=20935
2007-02-27 06:25:07 +00:00
Jaap Keuter cf13f56dc8 -Add the compiler version to the plugin resource
-Remove the SPECIAL_BUILD tag
-Set to OS type to NT_WINDOWS32

svn path=/trunk/; revision=20934
2007-02-26 20:39:38 +00:00
Ulf Lamping cd08e6448f fix the padding in the read/write headers, some other minor changes
svn path=/trunk/; revision=20927
2007-02-25 15:50:40 +00:00
Ulf Lamping 7887d478cc add a new function dissect_dcom_HRESULT_item() for some more flexibility, use it in the CBA-ACCO dissector - as the value_strings from dcom can't be used in hf_register_info from a plugin
svn path=/trunk/; revision=20926
2007-02-25 15:48:43 +00:00
Luis Ontanon 5b9457a104 have megaco handing over to h248 in case it does not recognize the buffer as text encoded megaco
svn path=/trunk/; revision=20907
2007-02-23 20:04:09 +00:00
Jaap Keuter a8fb7d24d0 Properly introduce packet-pn.c as a helper
svn path=/trunk/; revision=20903
2007-02-23 19:37:01 +00:00
Anders Broman 33910c713f From Richard van der Hoff:
Along with this bug, identified by Mark, there is another problem, in that one of the chunks of my earlier patch seemed to get missed off when Anders committed it. This won't break anything yet, as the H.223-over-RTP dissection hasn't landed on trunk yet, but it will cause all sorts of nasties when it does.

Here is a new patch, against current trunk, which should fix Mark's bug, my bug, and a comment typo.

And a patch wich improves the general robustness of the h.223 dissector (making it less likely to crash on malformed data).

Hopefully this also fixes a bug raised by Fabio Sguanci a few weeks ago. 
Fabio: I think a better way to fix the problem is to stop the dissector crashing when it finds a malformed PDU, so that it just treats the first pdu as malformed; there is then no need to special-case it.

svn path=/trunk/; revision=20898
2007-02-22 20:40:19 +00:00
Anders Broman a1e273b325 From Richard van der Hoff:
The H.223 dissector contains code to deal with "bitswapped" captures - ie, where all of the bytes have their bits backwards. It seems that this is much better handled as a separate dissector entry point, so that the right one can be chosen when the dissector is registered, rather than the current dubious heuristics.

svn path=/trunk/; revision=20893
2007-02-21 07:26:33 +00:00
Guy Harris c127df0bc8 Include <string.h> to declare memcpy().
svn path=/trunk/; revision=20842
2007-02-19 00:56:22 +00:00
Ulf Lamping 822bb2e489 fix an error added lately
svn path=/trunk/; revision=20832
2007-02-17 11:13:24 +00:00
Ulf Lamping 2172e293d6 some more compiler warnings removed
svn path=/trunk/; revision=20829
2007-02-17 09:42:38 +00:00
Ulf Lamping 16aa7c17db squelch some compiler warnings
svn path=/trunk/; revision=20828
2007-02-17 08:08:40 +00:00
Ulf Lamping d6e22b2d9a major code cleanup:
- move dcom-cba and pn-rt files into profinet plugin (where they really belong)
- move some common pn functionality into new packet-pn.c/h instead of having duplicate code

svn path=/trunk/; revision=20825
2007-02-16 21:53:36 +00:00
Stephen Fisher 0ebc01dc03 From Sebastien Tandel:
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override
the buggy g_strsplit() function when compiling for GTK1.  Include this
work-around function (ws_strsplit) in libwireshark.def.  Add notes on usage
to README.developer.  Include epan/ws_strsplit.h in all files that use
g_strsplit().


svn path=/trunk/; revision=20804
2007-02-13 20:57:22 +00:00
Ulf Lamping aad5a4e6b1 add remaining TLV blocks (complete now?)
add a lot of missing index values
fix some minor bugs

svn path=/trunk/; revision=20795
2007-02-12 19:01:20 +00:00