Commit Graph

403 Commits

Author SHA1 Message Date
Guy Harris d15724fc9e Make a bunch of source files non-executable.
svn path=/trunk/; revision=11869
2004-09-01 07:07:23 +00:00
Guy Harris b061f78dad Updates from Erwin Rol.
svn path=/trunk/; revision=11868
2004-09-01 06:56:33 +00:00
Guy Harris e6bc3872b0 From Lars Roland: don't link with GTK+, as it's not necessary to do so,
and as plugin dissectors shouldn't be linked with GTK+ (so that they
don't depend on Ethereal being built with a particular version of GTK+ -
Ethereal is packaged for Windows in both GTK+ 1.3[.x] and 2.x versions -
and so that they can work with Tethereal, which doesn't use GTK+).

svn path=/trunk/; revision=11840
2004-08-26 22:46:32 +00:00
Guy Harris b700504585 From Lars Roland: add "tvb_get_ntoh64()" to the list of routines
callable from plugins and the list of routines exported from
libethereal.dll.

Do the same for "tvb_get_letoh64()".

svn path=/trunk/; revision=11826
2004-08-25 03:30:40 +00:00
Guy Harris 3481780eea From Lars Roland: add "tvb_get_ntoh64()" to the list of routines
callable from plugins and the list of routines exported from
libethereal.dll.

Do the same for "tvb_get_letoh64()".

svn path=/trunk/; revision=11825
2004-08-25 03:29:54 +00:00
Guy Harris fcf529654a Ethereal has required guint64 support for a while, so there's no need to
check for it in the Gryphon plugin.

Use "tvb_get_ntoh64()" to fetch the time stamp, and format it similarly
to the way absolute date/time time stamps are formatted.

svn path=/trunk/; revision=11800
2004-08-22 02:42:27 +00:00
Guy Harris 42b915674b Map the old one-port "generic ASN.1" TCP/UDP/SCTP port-number
preferences to the new multi-port ones, so that, instead of complaining
when the old preferences were seen, we make the port be the one port in
the new preference.

Make the "message_win" "generic ASN.1" preference an obsolete
preference, so we silently ignore it rather than complaining about it.

svn path=/trunk/; revision=11623
2004-08-08 01:20:26 +00:00
Guy Harris 3a583aeb59 From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that an
include of <resolv.h> in any system header file gets the system
<resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]).

svn path=/trunk/; revision=11615
2004-08-06 19:57:49 +00:00
Jörg Mayer 0ca5d06e2e Change // to C90 style comment
svn path=/trunk/; revision=11576
2004-07-31 22:02:20 +00:00
Guy Harris 0ee683e0b8 From Matthijs Melchior:
add SCTP support;

	allow more than one port number to be specified;

	add recovery from garbled or incomplete ASN.1 messages.

svn path=/trunk/; revision=11572
2004-07-30 07:28:31 +00:00
Jörg Mayer e869dbb17d Trivial warning fixes:
- comma at end of enum
- function declarations with empty args instead of void
- c++ style comments

svn path=/trunk/; revision=11492
2004-07-23 23:28:08 +00:00
Guy Harris 6041d12dde From Laurent Rabret: OPSI support.
svn path=/trunk/; revision=11454
2004-07-21 06:31:33 +00:00
Jörg Mayer fd24ad7d92 .cvsignore is dead
it has been replaced by
svn proplist -v <dir/file>
and
svn propedit <dir/file>

svn path=/trunk/; revision=11422
2004-07-18 23:44:34 +00:00
Jörg Mayer 56c759212f Add epan/dissectors/.cvsignore
Add tags and TAGS to all .cvsignore files

svn path=/trunk/; revision=11419
2004-07-18 22:51:50 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00
Guy Harris 8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Guy Harris bafd976873 Include "crc16.h" to handle "crc16_ccitt_tvb()".
svn path=/trunk/; revision=11284
2004-06-30 17:57:53 +00:00
Michael Tüxen 42279a7088 get rid of data_handle decalriation, bacause it is
defined external in irda-appl.h which is included.

svn path=/trunk/; revision=11282
2004-06-30 15:42:24 +00:00
Guy Harris 6fda42b60c Add packet-sir.lo.
svn path=/trunk/; revision=11281
2004-06-30 08:23:24 +00:00
Guy Harris 6feb4e2751 Add "crc16_ccitt_tvb()" to the plugin API and the list of functions
exported from libethereal.dll.

svn path=/trunk/; revision=11280
2004-06-30 08:22:56 +00:00
Guy Harris a9e9366b00 From Shaun Jackman: Serial Infrared support.
svn path=/trunk/; revision=11279
2004-06-30 07:34:53 +00:00
Guy Harris b93965db56 From Dennis Lim: add routines used by dissectors for ONC RPC protocols
to the plugin API.

Add them to the list of routines exported from the libethereal DLL on
Windows as well.

svn path=/trunk/; revision=11186
2004-06-19 10:13:52 +00:00
Anders Broman 3bf4394d12 From Thomas Anders fix some memory leaks
svn path=/trunk/; revision=11047
2004-05-31 19:31:14 +00:00
Anders Broman 5f9eb1d737 From Thomas Anders patch adds sub parameter dissection to the MGCP plugin
(plugins/mgcp/packet-mgcp.c), initially for the ConnectionParameters(P),
and updates/adds some specification references.

This patch makes the sub parameter values filterable as numbers and
may allow for improved MGCP statistics in the future.

svn path=/trunk/; revision=11033
2004-05-30 17:58:35 +00:00
Guy Harris 911bad80f0 Have two strings in an enum_val_t - one that's a short string that is
convenient to put into a command line (no capital letters, no spaces to
require quotes), and one that's a detailed description for use in the
UI.  Allow either of them in the preferences file or "-o" option; use
the detailed description in the UI, and also use it when writing the
preferences out, so that the preference will be readable by older
versions of Ethereal (assuming the preference existed in that version).

Update "README.developer" to give more detail about an enum_val_t (and
to put the _t in), and to give a more detailed description of the
"radio_buttons" argument to "prefs_register_enum_preference()".

svn path=/trunk/; revision=10982
2004-05-24 02:25:21 +00:00
Anders Broman 4f9ab6e99d Add translation of result codes
svn path=/trunk/; revision=10972
2004-05-23 13:43:13 +00:00
Guy Harris 15af0f656f From Lars Roland: add support for building a libethereal.dll with MSVC:
add a config.nmake option to control whether to build
	libethereal.dll or not;

	remove "./wiretap" from PATH to prevent problems due to
	wrongly-loaded files;

	build dissector.lib with MSVC;

	move "print.c" and "ps.c" to the dissector helpers, as "print.c"
	imports variables from packet-frame.c and packet-data.c, which
	are in libethereal;

	move "g711.c" out of the dissector helpers, as they're used only
	by Ethereal in a tap, not in Tethereal or in any dissector;

	add a .def file for libethereal;

	arrange to declare global variables exported from libethereal
	with "__declspec(dllimport)" when building programs that import
	those variables;

	update the NSIS installer.

Make the "configure" script define ETH_VAR_IMPORT as "extern".

svn path=/trunk/; revision=10834
2004-05-09 10:03:41 +00:00
Olivier Biot 93751c8e32 Replace the plugin linkage libs into PLUGIN_LIBS which is generated from the
top-level configure.in when running configure.

svn path=/trunk/; revision=10699
2004-04-25 21:10:20 +00:00
Jörg Mayer cfc40f2f00 Fix the fix
svn path=/trunk/; revision=10693
2004-04-25 15:16:39 +00:00
Jörg Mayer 61467be2fc It's proto_register_rudp not proto_reg_rudp
svn path=/trunk/; revision=10690
2004-04-25 11:20:43 +00:00
Jörg Mayer ea9eab40e8 Give --enable-static a chance to succeed:
Some plugins failed to do initialization inside a #ifndef ENABLE_STATIC.

svn path=/trunk/; revision=10689
2004-04-25 11:14:01 +00:00
Guy Harris 9bff3255f9 Get rid of bogus extra "proto_tree_add_text()" arguments.
svn path=/trunk/; revision=10668
2004-04-23 03:20:58 +00:00
Anders Broman 4aca73e9b4 Skipp leading spaces in front of MEGACO and fix dissection of TransactionResponseAck
svn path=/trunk/; revision=10658
2004-04-21 19:58:14 +00:00
Guy Harris d209115ba3 Add a "report_failure()" routine to allow dissectors to report arbitrary
errors to the user.  Use that, rather than "g_warning()", in the
Diameter dissector to report errors reading the dictionary.

Make the format argument to "simple_dialog()" a "const" pointer.

Fix up the read-error message in Tethereal to end with a newline.

If a simple dialog is requested before the main window or the
capture-control window is popped up, queue it up and pop the queued
messages up once the main or capture-control window is displayed.

svn path=/trunk/; revision=10616
2004-04-16 23:17:13 +00:00
Olivier Biot 4459d9f0a9 Add support for plugin dissectors on cygwin builds, by adding the following
line to every Makefile.am file for a given plugin XXX:

	XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

This way symbols defined in libethereal and GLib are resolved when linking
the plugin dissector modules.

svn path=/trunk/; revision=10601
2004-04-14 22:13:28 +00:00
Guy Harris af3a427ffd From Albert Chin: the Sun WorkShop 5.0 compiler and HP-UX 10.20 compiler
don't allow you to initialize aggregates with an initializer that
includes non-constant values.

svn path=/trunk/; revision=10527
2004-03-30 19:36:50 +00:00
Guy Harris 1ca8d227a2 From Lars Roland: have "make clean" and "make distclean" clean up the
new Cisco VoIP plugins.

svn path=/trunk/; revision=10521
2004-03-30 18:45:04 +00:00
Guy Harris 36abac74a4 From Duncan Sargeant: include "moduleinfo.h" so that the plugins get the
right version number.

svn path=/trunk/; revision=10520
2004-03-30 18:30:28 +00:00
Gerald Combs 320e375f09 Call plugin_address_table_init() before proto_register_protocol().
svn path=/trunk/; revision=10497
2004-03-26 04:01:31 +00:00
Guy Harris d937629449 Update for Tomas Kukosa's new APIs to get the parent and the
nth-grandparent-up for a protocol tree item and to get the last item
created by the BER dissector (that API and the new names for the
universal tags were supplied by him - the checkin item didn't give him
credit).

svn path=/trunk/; revision=10491
2004-03-26 00:01:32 +00:00
Guy Harris 044f075c66 From Tomas Kukosa: add APIs to get the parent of a protocol tree item
and the item N levels up from a protocol tree item.

svn path=/trunk/; revision=10486
2004-03-25 23:55:21 +00:00
Guy Harris d5c6a38601 Add .cvsignore files to the new plugins.
svn path=/trunk/; revision=10484
2004-03-25 23:11:27 +00:00
Guy Harris c04677e83c Squelch compiler warnings, and remove some trailing blanks from lines.
svn path=/trunk/; revision=10483
2004-03-25 23:09:18 +00:00
Guy Harris ab724a63eb Add the usual extra files to the new plugins.
svn path=/trunk/; revision=10482
2004-03-25 19:11:05 +00:00
Guy Harris a1467c86e1 From Duncan Sargeant: Cisco SS7 RUDP, RLM, and Session Management
support.

svn path=/trunk/; revision=10480
2004-03-25 11:21:07 +00:00
Guy Harris a6ed2d499a From Tomas Kukosa: BER dissector enhancements and proto.c updates to
support them.

From Ronnie Sahlberg: Kerberos updates with new constants from the
current draft, decryption and dissection of Kerberos blobs, and changes
to work with the changed BER dissector.

svn path=/trunk/; revision=10479
2004-03-25 09:18:03 +00:00
Guy Harris 121f06fab7 Make "epan_init()" take, as additional arguments, pointers to routines
that dissectors should call to report file open and read errors, and
have "report_open_failure()" and "report_read_failure()" call through
those pointers, rather than being defined and exported by the
application using libethereal - instead, the application would define
those functions and pass pointers to them to 'epan_init()".

Move "report_err.h" to the epan directory, as the functions it declares
are now part of the libethereal API.

svn path=/trunk/; revision=10470
2004-03-23 21:19:58 +00:00
Guy Harris 2b9ad9ec25 From Brian Wheeler: DOCSIS 2.0 support.
svn path=/trunk/; revision=10387
2004-03-17 06:55:03 +00:00
Guy Harris 2271736636 Add the URL of the specifications page.
svn path=/trunk/; revision=10348
2004-03-08 23:19:14 +00:00
Guy Harris c74dac3af9 Use "tvb_format_text()" on the port name, so that if there are bytes in
it that aren't printable characters, they'll be shown as C-style escape
sequences.

svn path=/trunk/; revision=10343
2004-03-08 19:41:52 +00:00