Commit graph

1234 commits

Author SHA1 Message Date
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
Ulf Lamping
44ee701ba6 remove some warnings
svn path=/trunk/; revision=20785
2007-02-11 04:12:07 +00:00
Ulf Lamping
59a86ae3e9 remove a g_warning left over from debugging
svn path=/trunk/; revision=20784
2007-02-11 03:45:21 +00:00
Ulf Lamping
b04c53a23c add a lot more TLV block decodes, some code cleanup, ...
svn path=/trunk/; revision=20763
2007-02-10 08:03:47 +00:00
Jaap Keuter
2532bc2a1a Source code cleanup.
svn path=/trunk/; revision=20755
2007-02-09 14:43:24 +00:00
Ulf Lamping
98f2412a6f various major enhancements to the PROFINET-IO dissector (including some new TLV blocks)
svn path=/trunk/; revision=20751
2007-02-08 18:29:47 +00:00
Ulf Lamping
8559a25d23 - add dissection for "I&M0" block
- enhance dissection or ErrorDecode2 (ErrorCode1 rta_err_cls_protocol specific) - a lot more of ErrorCode1/ErrorCode2 combinations still to go ...

svn path=/trunk/; revision=20724
2007-02-06 01:37:32 +00:00
Jaap Keuter
8a543e99df Modification of version resource.
- FILEFLAGS should not contain VS_FF_SPECIAL_BUILD
- FILEOS changed to VOS_NT_WINDOWS32 since we no longer support pre-NT platforms
- Adding Comments string to include compiler, based on MSVC_VARIANT symbol

svn path=/trunk/; revision=20554
2007-01-25 07:42:10 +00:00
Ulf Lamping
2cbce84d41 Win32: MSVC > 6 doesn't work well with Unicode filenames!
fix this, by providing required functions in the new file file_util.c - it's mostly copied from GLib (g_open alike - that take UTF8 as filename format but don't use msvcrt.dll V6 for this as the glib files do) 

"link" to these functions in file_util.h: #define eth_open eth_stdio_open

revert changes (from SVN 20282) throughout the code related to these file functions which were introduced with the first tries of MSVC 2005 ...

Hopefully I've done everything right with the new file_util.c ...

svn path=/trunk/; revision=20402
2007-01-12 03:05:28 +00:00
Jaap Keuter
d2d3148e00 Trying to get buildbot Ubuntu-5.10-x86 distcheck to build again.
Adding asn1.[ch] to the correct makefile symbols.

svn path=/trunk/; revision=20379
2007-01-10 20:19:16 +00:00
Tomas Kukosa
a68f0224c3 move asn1.c/.h files into plugins/asn1 directory as just this plugin uses it now
svn path=/trunk/; revision=20372
2007-01-10 07:09:30 +00:00
Stephen Fisher
f5ea4ee657 From Mike Davies:
There was a change in Corrigendum 1 (03/2004) to H.248.1 which allows an
empty {} to be omitted from the Signal Descriptor.  Currently (SVN 20346)
this causes Wireshark to report [Packet size limited during capture] as
shown in the attached example outputs.

I have attached a possible patch to solve this.


svn path=/trunk/; revision=20360
2007-01-09 22:32:23 +00:00
Ulf Lamping
39956903b5 PropagationDelayFactor -> LineDelay
svn path=/trunk/; revision=20348
2007-01-08 22:11:56 +00:00
Ulf Lamping
cc164653a0 add experimental support for some more of the MSVC_VARIANTs:
- Microsoft .Net Framework SDK Version 1.1
- Microsoft .Net Framework 2.0 SDK
... which seems to work fine now (except for the open problems like zlib) :-)

Some of the plugins need different linker flags depending on the MSVC. I've set a "define" in config.nmake (PLUGIN_LDFLAGS) and used it in the affected plugins/.../Makefile.nmake. Maybe we should generally change the plugins that way.

btw: The "Microsoft Visual C++ Toolkit 2003" (mentioned some time ago on the list) doesn't work as some important files are missing - and we have much easier alternatives now :-)

svn path=/trunk/; revision=20332
2007-01-06 01:05:59 +00:00
Jaap Keuter
ad44a5cdfb Serious source code cleanup.
svn path=/trunk/; revision=20308
2007-01-04 14:23:56 +00:00
Guy Harris
6e022db16c Call the handoff registration routine proto_reg_handoff_irsir() to avoid
collisions with the WSP dissector's proto_reg_handoff_sir() - and don't
call it in the proto_register_irsir(); handoff registration routines are
supposed to be called after *all* registration routines are called.

svn path=/trunk/; revision=20303
2007-01-04 12:05:17 +00:00
Ulf Lamping
d53f947b16 clean should also remove generated plugin.c and manifest files
svn path=/trunk/; revision=20291
2007-01-03 06:06:53 +00:00
Bill Meier
444602bf97 Oops: wireshark.com --> wireshark.org
Also: 1 additional Ethereal --> Wireshark

svn path=/trunk/; revision=20272
2007-01-02 17:19:25 +00:00
Jaap Keuter
b0c9345ace Align build target names.
svn path=/trunk/; revision=20269
2007-01-02 13:46:06 +00:00
Jaap Keuter
b871e65adb More Ethereal -> Wireshark renaming.
svn path=/trunk/; revision=20268
2007-01-02 13:36:45 +00:00
Jaap Keuter
3cb8c5a7cf More Ethereal -> Wireshark renaming
svn path=/trunk/; revision=20267
2007-01-02 13:34:05 +00:00
Anders Broman
25862eff23 Use the correct function to translate to hex.
svn path=/trunk/; revision=20226
2006-12-27 22:24:22 +00:00
Jaap Keuter
293586906a Adding moduleinfo.nmake to the distribution
svn path=/trunk/; revision=20224
2006-12-27 12:21:30 +00:00
Jaap Keuter
5800f59d15 Bump micro version number, like in moduleinfo.h
svn path=/trunk/; revision=20178
2006-12-20 10:07:20 +00:00
Ulf Lamping
cc7ffdcb07 raise plugin version, as I've done some small but important changes
svn path=/trunk/; revision=20177
2006-12-19 22:44:35 +00:00
Jaap Keuter
c302877f8b Set the right properties on the files.
svn path=/trunk/; revision=20176
2006-12-19 22:30:38 +00:00
Jaap Keuter
7b6e383ae1 Add Windows version info resource.
svn path=/trunk/; revision=20175
2006-12-19 22:28:41 +00:00
Jaap Keuter
9655aa59fe Add Windows version info resource.
svn path=/trunk/; revision=20174
2006-12-19 22:28:22 +00:00
Jaap Keuter
366e6fd218 Add Windows version info resource.
svn path=/trunk/; revision=20172
2006-12-19 22:28:03 +00:00
Jaap Keuter
ead19c1866 Add Windows version info resource.
svn path=/trunk/; revision=20171
2006-12-19 22:27:45 +00:00
Jaap Keuter
90d6d0d65e Add Windows version info resource.
svn path=/trunk/; revision=20170
2006-12-19 22:27:31 +00:00
Jaap Keuter
f46bd5f3b8 Add Windows version info resource.
svn path=/trunk/; revision=20169
2006-12-19 22:27:15 +00:00
Jaap Keuter
a466c0bb1b Add Windows version info resource.
svn path=/trunk/; revision=20168
2006-12-19 22:27:01 +00:00
Jaap Keuter
9392c9a9f7 Add Windows version info resource.
svn path=/trunk/; revision=20167
2006-12-19 22:26:43 +00:00
Anders Broman
898f55b302 Correct a problem with media parameter dissection and add inforamtion about a number of packages.
svn path=/trunk/; revision=20166
2006-12-19 22:26:41 +00:00
Jaap Keuter
533d0d593a Add Windows version info resource.
svn path=/trunk/; revision=20165
2006-12-19 22:26:27 +00:00
Jaap Keuter
86b937c414 Add Windows version info resource.
svn path=/trunk/; revision=20164
2006-12-19 22:26:06 +00:00
Jaap Keuter
cfba20e56a Add Windows version info resource.
svn path=/trunk/; revision=20163
2006-12-19 22:25:24 +00:00
Jaap Keuter
6f05ae154e Add Windows version info resource.
svn path=/trunk/; revision=20162
2006-12-19 22:25:09 +00:00
Jaap Keuter
3d856d6d66 Add Windows version info resource.
svn path=/trunk/; revision=20161
2006-12-19 22:24:40 +00:00
Jaap Keuter
a1f5a98300 Add Windows version info resource.
svn path=/trunk/; revision=20160
2006-12-19 22:24:16 +00:00
Jaap Keuter
492d03c9d8 Add Windows version info resource.
svn path=/trunk/; revision=20159
2006-12-19 22:23:56 +00:00
Jaap Keuter
7af87bcc87 Add Windows version info resource.
svn path=/trunk/; revision=20158
2006-12-19 22:23:37 +00:00
Jaap Keuter
b050c8facc Add Windows version info resource.
svn path=/trunk/; revision=20157
2006-12-19 22:23:22 +00:00
Jaap Keuter
582bcfc5e1 Add Windows version info resource.
svn path=/trunk/; revision=20156
2006-12-19 22:22:55 +00:00
Jaap Keuter
bf43def862 Add Windows version info resource.
svn path=/trunk/; revision=20155
2006-12-19 22:22:34 +00:00
Jaap Keuter
b7f5503302 Set the right properties on the new files.
svn path=/trunk/; revision=20151
2006-12-19 07:06:25 +00:00
Jaap Keuter
6527f71104 Repair distribution target.
svn path=/trunk/; revision=20147
2006-12-18 21:39:19 +00:00
Jaap Keuter
de80b45cee Update plugin to the current plugin design.
Add Windows version info resource.

svn path=/trunk/; revision=20145
2006-12-18 16:24:42 +00:00
Jaap Keuter
a113825706 Update plugin to the current plugin design.
Add Windows version info resource.

svn path=/trunk/; revision=20144
2006-12-18 16:23:46 +00:00
Anders Broman
31bf121484 Fix for parameter Media dissection with more than one parameter.
svn path=/trunk/; revision=20130
2006-12-13 06:58:45 +00:00
Ulf Lamping
9cddaf7c84 add MaintenanceItem block dissection, fix issues with heuristic of RT classes
svn path=/trunk/; revision=20128
2006-12-12 23:50:59 +00:00
Jaap Keuter
cc06ed2fcd Add files to EXTRA_DIST target.
svn path=/trunk/; revision=20120
2006-12-11 21:46:39 +00:00
Jaap Keuter
3745d56d47 Lost the quotes in the Python line.
svn path=/trunk/; revision=20102
2006-12-10 22:19:11 +00:00
Ulf Lamping
aacf309f42 add IRDataUUID to the blocks subitem
svn path=/trunk/; revision=20078
2006-12-09 09:28:29 +00:00
Bill Meier
e4a99fc4dd Add a few missing /$(MAKEFLAGS)
svn path=/trunk/; revision=20046
2006-12-05 12:36:06 +00:00
Ulf Lamping
1ce7261136 add dissection of the "IsochronousModeData" block
svn path=/trunk/; revision=20045
2006-12-05 08:09:01 +00:00
Jaap Keuter
4ada75da4b Oops, the all target slipped through the cracks.
svn path=/trunk/; revision=20042
2006-12-05 06:46:21 +00:00
Jaap Keuter
f6bdcf2251 This is to test the waters.
I've added a version resource to the h223 Wireshark plugin as Win32 DLL, setting a possible example for other plugins.

svn path=/trunk/; revision=20036
2006-12-04 23:12:04 +00:00
Martin Mathieson
c5812bcc45 For duplicate requests and responses, make clickable link back to original.
svn path=/trunk/; revision=20029
2006-12-01 18:03:45 +00:00
Anders Broman
35482921b2 Fix a typo and handling of unknown TerminationStatedescriptors.
svn path=/trunk/; revision=20012
2006-11-28 20:43:25 +00:00
Anders Broman
ff8984110d Dissection of two streams in the media descriptor was broken.
svn path=/trunk/; revision=20008
2006-11-28 05:53:00 +00:00
Luis Ontanon
c5a984534c Errase the lua plugin, its not longer in use.
svn path=/trunk/; revision=19965
2006-11-23 12:58:58 +00:00
Guy Harris
4ceca9beb1 Split the ".." and subdirectory into two separate "cd"s, in the hopes of
reducing the chances that, if a plugin is removed, an extra ".."
reference will be left in.

Get rid of the extra ".."s that were left in when the ACN plugin was
recently removed.

svn path=/trunk/; revision=19840
2006-11-07 00:54:01 +00:00
Gerald Combs
02735fce79 Remove ACN references.
svn path=/trunk/; revision=19838
2006-11-06 23:38:35 +00:00
Anders Broman
6b45c9b92b Remove the references to acn
svn path=/trunk/; revision=19833
2006-11-06 20:36:43 +00:00
Ronnie Sahlberg
258b3af063 new acn dissector from Bill Florac
svn path=/trunk/; revision=19830
2006-11-06 20:13:32 +00:00
Guy Harris
9b549043d2 Add $(EXEXT) after references to the Lemon executable.
svn path=/trunk/; revision=19785
2006-11-03 18:39:03 +00:00
Anders Broman
ff1a0d33ad Add h324_muxtbl_out
svn path=/trunk/; revision=19770
2006-11-01 23:01:14 +00:00
Ronnie Sahlberg
2d1bb39121 change the signature for the get_pdu_len() function pointer passed to tcp_dissect_pdus() to also include a packet_info pointer.
there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size



svn path=/trunk/; revision=19751
2006-10-31 09:29:07 +00:00
Ulf Lamping
647533a5ef put every python script name into "" so the call won't fail on Win32 native python.
The problem is the slash in e.g.:

 @$(PYTHON) ../../tools/make-dissector-reg.py

is interpreted as an option instead of being part of the path.

I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port.

svn path=/trunk/; revision=19730
2006-10-29 17:19:52 +00:00
Jaap Keuter
a3f017648f From Shaun Jackman
The RDM protocol has been accepted as ANSI standard E1.20-2006. The following patch updates the decoder to that spec. 
At the same time it is promoted to a build-in dissector.

svn path=/trunk/; revision=19596
2006-10-18 19:29:05 +00:00
Anders Broman
bc1ec31fa9 Dissect observedeventsdescriptor more like the actual text.
svn path=/trunk/; revision=19530
2006-10-14 14:13:00 +00:00
Anders Broman
f61fc78e52 Modify Signals descriptor to look more like the actual text message.
svn path=/trunk/; revision=19512
2006-10-13 14:21:02 +00:00
Anders Broman
c3d429d816 Remove entries for the lua plugin as it's not used any more.
svn path=/trunk/; revision=19441
2006-10-05 21:37:45 +00:00
Anders Broman
2747f923e0 Start to make the output from the dissector more like the actual
data.

svn path=/trunk/; revision=19437
2006-10-04 22:49:40 +00:00
Ulf Lamping
0dd1f103cb we don't need to .. the dirs for the clean targets here
svn path=/trunk/; revision=19381
2006-09-30 13:25:05 +00:00
Ulf Lamping
e4d5b387d9 "Pluggable custom makefile"
A custom plugin (not yet to be released to the public) can be added to Makefile.nmake easily. But this has a drawback:
The modified Makefile.nmake appears as a modified file in the commit list and in generated patches (this annoyed me for years).

To solve this I've added a plugin like mechanism which calls a Custom.nmake file for each target (if the file is existing). I've also added a Custom.nmake.example for a quick start.

I don't know how to do this for the Makefile.am, so I leave this as an exercise for the interested reader ;-)

svn path=/trunk/; revision=19377
2006-09-30 09:45:51 +00:00
Anders Broman
4647b593ee Use #defines from packet-ber.h rather than asn1.h change default ports to Zero.
svn path=/trunk/; revision=19367
2006-09-29 21:27:58 +00:00
Luis Ontanon
c8a95a0548 Lua 5.1.1 for windows
svn path=/trunk/; revision=19324
2006-09-26 03:31:00 +00:00
Luis Ontanon
6462d05044 Move the Lua interface into epan... (not a plugin anymore).
- Rename Tap into Listener
- add a mechanism to pass protocols' tap data to the Listener


svn path=/trunk/; revision=19319
2006-09-25 01:09:00 +00:00
Anders Broman
57bdacea28 NAME can also contain '_'
svn path=/trunk/; revision=19160
2006-09-06 05:22:05 +00:00
Anders Broman
33d4a980da Always dissect SDP info to set up RTP conversation.
svn path=/trunk/; revision=19138
2006-09-04 20:36:52 +00:00
Anders Broman
6477c4e167 Comment out debug code.
svn path=/trunk/; revision=19126
2006-09-02 23:21:59 +00:00
Anders Broman
db40553e30 Packages can have digits and '/' in their names...
svn path=/trunk/; revision=19124
2006-09-02 16:56:22 +00:00
Anders Broman
a775ac3210 Remove some extra output for MediaDescriptor.
svn path=/trunk/; revision=19122
2006-09-02 16:05:03 +00:00
Anders Broman
fd03d7f315 Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1080.
svn path=/trunk/; revision=19121
2006-09-02 15:50:24 +00:00
Anders Broman
0ac19b7c68 From Alejandro Vaquero:
- The current "/plugin/listen_rtp" directory should be removed from the 
source

svn path=/trunk/; revision=19087
2006-08-30 19:27:54 +00:00
Ulf Lamping
161d7695eb (slightly) further dissection of the Option (Organizationally specific) block
svn path=/trunk/; revision=18997
2006-08-22 19:43:38 +00:00
Ulf Lamping
c91dd2c6c2 fix TLB block alignment to be compatible with the current MRP draft. Would be nice if included in the 0.99.3
svn path=/trunk/; revision=18996
2006-08-22 19:42:04 +00:00
Gerald Combs
ba718fb33c Bail out of an infinite loop. Fixes bug 1048. (This was introduced after
the 0.99.3 trunk was created.)  Remove a couple of static buffers.  Fix up
whitespace.

svn path=/trunk/; revision=18995
2006-08-22 15:55:42 +00:00
Anders Broman
43d1b4c099 Dissect some more H.245 messages in MEGACO
svn path=/trunk/; revision=18966
2006-08-20 21:18:43 +00:00
Anders Broman
84112e7167 Improve parsing a bit and correctly dissect errorDescriptor in Reply.
svn path=/trunk/; revision=18960
2006-08-19 21:42:25 +00:00
Jörg Mayer
db4cdf2555 rudp used a port that a) collides with afs and b) violates
the port requirements from the draft rfc.
Make the portnumber a configureable variable and set it to 0
by default.

svn path=/trunk/; revision=18861
2006-08-10 01:59:41 +00:00
Ulf Lamping
bd807d4b69 several minor fixes and enhancements to the dissection
svn path=/trunk/; revision=18854
2006-08-08 21:28:14 +00:00
Gerald Combs
20093fdaa4 snprintf -> g_snprintf. Fix up whitespace.
svn path=/trunk/; revision=18776
2006-07-20 21:29:45 +00:00
Anders Broman
aa98f8dadd From Bálint Réczey
- Added support for versioned lua libnames to aclocal.m4
- create generated elua_register.h from Makefile

svn path=/trunk/; revision=18769
2006-07-19 19:20:58 +00:00
Ulf Lamping
2981e4022a remove some warnings (2nd try)
svn path=/trunk/; revision=18635
2006-07-01 15:14:19 +00:00
Ulf Lamping
66318ef7e1 remove some "signedness" warnings
svn path=/trunk/; revision=18633
2006-07-01 12:15:37 +00:00
Luis Ontanon
8c8a4ce877 Some improvements to the Lua plugin:
- Makefile.am fix: elua_register.h generation + checking serialized
- ProtoField.new(..) parameter parsing fix and changes
- enabling gui_enabled() function in Lua (typo fix, thanks to Tamas Regos)


svn path=/trunk/; revision=18611
2006-06-29 13:49:56 +00:00
Ulf Lamping
95279cb92c remove a "differ in signedness" warnings
svn path=/trunk/; revision=18607
2006-06-29 08:16:57 +00:00
Ulf Lamping
b41b729b2f remove some "unused parameter" warnings
svn path=/trunk/; revision=18606
2006-06-29 08:15:07 +00:00
Anders Broman
40cbc01b87 From Alejandro Vaquero:
The "listen_rtp" plugin that allows to listen audio RTP 
conversations.

    The plugin is integrated to the "Voip Calls" feature. There is a new 
"listen" button in the "Voip Calls" that once the calls are selected and 
the "listen" is clicked, a new window will open. In this window you can 
change the simulated jitter buffer to be used for decoding the RTP 
packets. In this first implementation, only a static jitter buffer can 
be simulated. Then pressing "decode" will decode all the RTP and 
generate the graphical view of the audio channels. From there you can 
select up to two channels at the same time (to be played in the left and 
right channels) and then play, pause, stop,etc.....ok, the attached 
screenshot it is self explanatory (hopefully).
    The only codecs available from now are G711u and G711a law.

    The PortAudio (www.portaudio.com) library is used to play audio. 
This is an open source cross-platform Audio library. I have tested this 
on Windows XP  and in a linux FC4.

NOTE: only the plugin soure files checked in at this time.

svn path=/trunk/; revision=18588
2006-06-27 21:44:07 +00:00
Guy Harris
c54111c388 Put the sequence number in for a response, if present.
svn path=/trunk/; revision=18568
2006-06-24 02:41:25 +00:00
Ulf Lamping
1896e7021d squelch some compiler warnings
svn path=/trunk/; revision=18560
2006-06-23 18:03:40 +00:00
Jaap Keuter
c8d01e1af1 One warning from GCC:
packet-sbus.c:634: warning: 'sbus_web_seq' is used uninitialized in this function

svn path=/trunk/; revision=18554
2006-06-23 06:38:46 +00:00
Ulf Lamping
a016d9ee45 fix a (correct) compiler warning
svn path=/trunk/; revision=18548
2006-06-22 19:17:43 +00:00
Ulf Lamping
d2b72027b0 add various new dissections, enhancements to the existing dissections and update things to current spec, ...
Still incomplete, but a lot better than before :-)

svn path=/trunk/; revision=18536
2006-06-21 20:10:38 +00:00
Ulf Lamping
1d51934de2 add an expert info if a capture file contains some (yet) undecoded portions
svn path=/trunk/; revision=18534
2006-06-21 18:35:39 +00:00
Ulf Lamping
4f83154239 detect the PROFINET OUI correct if the multicast bit is set
svn path=/trunk/; revision=18528
2006-06-21 07:28:56 +00:00
Jaap Keuter
1205ee2a14 From Christian Durrer:
I hope this is the right place to send a patch for a new dissector
plugin. The telegram it dissects are for the communication between PLCs
(Programmable logic controller) from the company Saia Burgess Controls
Ltd. (http://www.start-controls.com, http://www.saia-burgess.com or
http://www.sbc-support.ch). The protocol is named Ether-S-Bus (the PLCs
are called PCD2, PCD3, PCD4).

svn path=/trunk/; revision=18526
2006-06-21 06:31:06 +00:00
Anders Broman
764e3ac167 New rutine tvb_format_text_wsp() which will change "whiite space" characters to space
before output.

svn path=/trunk/; revision=18519
2006-06-19 15:53:03 +00:00
Anders Broman
0eb577e17b From Eugene Tarlovskij:
After synchronization with wireshark repository I see that the patch is applied in the incorrect way. 
I send you another patch to fix this issue.

svn path=/trunk/; revision=18518
2006-06-19 15:43:17 +00:00
Anders Broman
eb83c826ca From Tarlovskij Eugene:
- MEGACO dissector fails to decode observedevents descriptor 
- BoundsError exception in text MEGACO packets

svn path=/trunk/; revision=18504
2006-06-17 16:13:25 +00:00
Ronnie Sahlberg
62e32390b5 ethereal to wireshark changes
svn path=/trunk/; revision=18500
2006-06-17 12:07:49 +00:00
Guy Harris
1af7caeeb1 Squelch a (valid) compiler warning.
Clean up indentation a bit.

svn path=/trunk/; revision=18481
2006-06-16 07:15:03 +00:00
Ulf Lamping
f1f0e294b4 (on behalf of the PROFIBUS Nutzerorganisation e.V. Deutschland):
add Media Redundancy and Media Redundancy Realtime Protocol dissectors (PN-MRP and PN-MRRT)

svn path=/trunk/; revision=18454
2006-06-13 18:26:49 +00:00
Ulf Lamping
7da210b418 use FT_GUID instead of FT_STRING at appropriate fields
svn path=/trunk/; revision=18439
2006-06-12 19:36:58 +00:00
Jörg Mayer
299ac5e8bc remove plugin.c in distlclean
svn path=/trunk/; revision=18312
2006-06-02 06:53:30 +00:00
Gerald Combs
8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Gerald Combs
b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Anders Broman
5e85b35506 Ethereal->Wireshark
svn path=/trunk/; revision=18239
2006-05-29 16:32:08 +00:00
Anders Broman
db57e7b724 Ethereal->Wireshark
svn path=/trunk/; revision=18231
2006-05-28 16:32:49 +00:00
Anders Broman
1814821adc From Martin Mathieson:
- Many DCT2000 protocols can be embedded within an IP primitive 
message.  Add a heuristic to see if we can find the protocol payload 
within in IP primitive message, and look for an ethereal dissector 
matching the DCT2000 protocol name (this is useful for simple protocol 
testing where no physical links are involved)
- Make some more of these protocols (diameter, http, mgcp) findable by name
- Adds protocol 'variant' number to stub and dissector
- Break the duplicated writing of the stub header out into a separate 
function

svn path=/trunk/; revision=18212
2006-05-23 05:48:00 +00:00
Ronnie Sahlberg
f0b33a4789 ethereal->wireshark updates
svn path=/trunk/; revision=18206
2006-05-22 08:14:01 +00:00
Ronnie Sahlberg
89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris
4a4c56ccff Use $(PLUGIN_NAME) wherever possible, so that we have a Makefile.nmake
that could be used with any plugin.  (It'd be nice if there were some
way to do that with Makefile.am, but automake doesn't seem to like
macro names being used in the definitions of its magic macros.)

svn path=/trunk/; revision=18150
2006-05-14 22:25:07 +00:00
Gerald Combs
c23899620f It looks like g_fopen() in the version of GLib that we ship with Windows
sets errno to 0 when we can't open a file.  This resurrected the annoying
"C:\Program Files\Ethereal\asn1/default.tt" error in the ASN.1 plugin,
since we depended on errno being set to ENOENT.  Move some logic around
to account for this.

svn path=/trunk/; revision=18073
2006-05-02 18:21:42 +00:00
Ulf Lamping
4674161ed0 add some higher packet length values
svn path=/trunk/; revision=18021
2006-04-27 22:13:29 +00:00
Ulf Lamping
4b4eba7993 minor enhancements
svn path=/trunk/; revision=18009
2006-04-26 20:13:33 +00:00
Guy Harris
e198ded297 Include non-dissector support files in the source.
svn path=/trunk/; revision=17992
2006-04-25 08:22:55 +00:00
Guy Harris
ac4738698f Try using the new generic plugin Makefile.nmake.
svn path=/trunk/; revision=17970
2006-04-23 18:54:32 +00:00
Guy Harris
44028fcc04 Use the PLUGIN_NAME macro, to see if we can minimize the number of
changes needed to Makefile.nmake for a new plugin.

svn path=/trunk/; revision=17967
2006-04-23 17:45:22 +00:00
Guy Harris
7bd22c75c1 "irda", not "ira".
svn path=/trunk/; revision=17966
2006-04-23 09:13:18 +00:00
Guy Harris
5e49264181 Resolve conflicts.
svn path=/trunk/; revision=17965
2006-04-23 08:23:49 +00:00
Guy Harris
77d66dd3d0 Registration routines can't be static - they're called from plugin.c
svn path=/trunk/; revision=17964
2006-04-23 03:15:51 +00:00
Guy Harris
c0ab4fac46 Add the objects built from DISSECTOR_SUPPORT_SRC.
svn path=/trunk/; revision=17963
2006-04-23 02:14:11 +00:00
Guy Harris
5199671441 Convert most other plugin dissectors to use the make-dissector-reg
scripts.

svn path=/trunk/; revision=17961
2006-04-22 20:26:16 +00:00
Ulf Lamping
a70e3c548c (on behalf of the PROFIBUS Nutzerorganisation e.V. Deutschland):
add Precision Time Control Protocol dissector (PTCP)

svn path=/trunk/; revision=17930
2006-04-20 19:49:12 +00:00
Guy Harris
fd1cec8917 Rename "make-reg-dotc" to "make-dissector-reg", and do the same for the
Python versions, as it no longer makes only "register.c", it can also
make a "plugin.c" file for a plugin.

When making "plugin.c", there's no need to include "register.h", as it's
not defining any functions declared there.

svn path=/trunk/; revision=17919
2006-04-20 02:21:28 +00:00
Guy Harris
4a67045746 Fix a typo.
svn path=/trunk/; revision=17918
2006-04-19 21:43:48 +00:00
Guy Harris
4b71578604 Fix the register and register-handoff routines to have the standard
format, so the script that generates plugin.c will generate code to call
them.

svn path=/trunk/; revision=17917
2006-04-19 21:42:39 +00:00
Anders Broman
a70b907c4a Handle 64bits signed/unsigned integers and get rid of some extra LF:s.
svn path=/trunk/; revision=17911
2006-04-19 18:59:29 +00:00
Guy Harris
a7852884e8 register.c and register.obj are no longer used.
svn path=/trunk/; revision=17908
2006-04-19 16:02:09 +00:00
Guy Harris
8379e98ebd The rule makes plugin.c, not register.c.
svn path=/trunk/; revision=17907
2006-04-19 10:44:11 +00:00
Guy Harris
0c873b006a Update comments.
Fix the Makefile.nmake files to pass the output type argument to
make-reg-dotc or make-reg-dotc.py.

Make tools/make-reg-dotc executable.

svn path=/trunk/; revision=17904
2006-04-19 09:52:23 +00:00
Guy Harris
008d0d6c00 Have make-reg-dotc and make-reg-dotc.py generate either a register.c for
libetheral or a plugin.c for a plugin, rather than having plugin.c for a
dissector call the routines from register.c.  This means we don't ahve
multiple register_all_protocols() and register_all_protocol_handoffs()
routines, and that all the plugin boilerplate is automatically
generated.

svn path=/trunk/; revision=17903
2006-04-19 09:26:16 +00:00
Anders Broman
2301071bda From W.Borgert:
this patch leads to a more condensed representation of strings in the GIOP module, e.g. in Parlay instead of having:

length = 42
TpAddress_AddrString = sip:anyone@somebody.thehost.whose.es:5432

you have now:

TpAddress_AddrString (42) = sip:anyone@somebody.thehost.whose.es:5432

The former was not as concise, if you have a lot of strings (as in CosNaming) and it was not clear whether the protocol had a explicit field named "length" in the IDL.

svn path=/trunk/; revision=17902
2006-04-19 05:17:46 +00:00
Anders Broman
6cb8d805f0 Fix Bug http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=677 megaco.dll can not handle lowcase descriptor
svn path=/trunk/; revision=17900
2006-04-18 21:08:14 +00:00
Anders Broman
69b54d4d23 From W. Borgert:
- Regenerated files.
- Use .sort() on one or two of the lists in ethereal_gen.py to make generated files
  more diff-friendly in the future. 

svn path=/trunk/; revision=17885
2006-04-17 18:10:23 +00:00
Guy Harris
acb0e6d237 Pull the plugin-specific code into "plugin.c", and generate a
"register.c" with "make-reg-dotc"/"make-reg-dotc.py".

Pull the lists of dissector .c and .h files into Makefile.common and
have Makefile.am and Makefile.nmake use it.

svn path=/trunk/; revision=17883
2006-04-17 05:44:00 +00:00
Anders Broman
8f7a6edca8 Add some missing commands.
svn path=/trunk/; revision=17868
2006-04-15 18:41:39 +00:00
Anders Broman
a12aba1d39 From Martin Mathieson:
This patch fixes the decode problem mentioned in this bug report:

"3. Frames 9 and 13 are only partially decoded and show up as "Packet size limited during capture" It looks like the decode chokes on the DQ-RI line."

DQ-RI is a localconnectionoptions parameter and shouldn't appear as a top-level parameter. This patch makes sure that all of the single-character top-level parmeter codes are followed immediately by a ':'.

svn path=/trunk/; revision=17816
2006-04-05 16:04:46 +00:00
Luis Ontanon
ad4fe1ff8f Fix FieldInfo and add an attribute for the filter name.
svn path=/trunk/; revision=17774
2006-03-30 19:48:05 +00:00
Luis Ontanon
2e93b8b751 TextWindow:
- add buttons
  - make editable




svn path=/trunk/; revision=17773
2006-03-30 19:42:49 +00:00
Gerald Combs
4ea62e57b0 Continue to play whack-a-mole with null dereferences. Fixes CID 146.
svn path=/trunk/; revision=17770
2006-03-30 15:34:18 +00:00
Jaap Keuter
95b974d6ba Undoing commit of private makefile in r17765
svn path=/trunk/; revision=17768
2006-03-30 09:33:39 +00:00
Anders Broman
901f07af60 From Martin Mathieson:
wiretap/README.developer
- the referenced default seek_read function doesn't exist now

wiretap/wtap.c
- a "hole" in encap_table was causing the wrong encap value for later 
types to be looked up (by name)

mergecap.c
- fix a couple of program name copy+paste errors from editcap.c

svn path=/trunk/; revision=17765
2006-03-30 04:58:06 +00:00