Commit Graph

1230 Commits

Author SHA1 Message Date
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