Commit Graph

1045 Commits

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