Commit Graph

8902 Commits

Author SHA1 Message Date
Guy Harris 6e5f8fa65c Latest config.guess and config.sub from
http://savannah.gnu.org/projects/config/

svn path=/trunk/; revision=8997
2003-11-18 06:31:37 +00:00
Ulf Lamping 4d0f00fe32 removed MSVC warnings
svn path=/trunk/; revision=8996
2003-11-18 06:06:41 +00:00
Gerald Combs 6ae720789b Document the capture filter changes that were just checked in.
svn path=/trunk/; revision=8995
2003-11-18 04:19:48 +00:00
Gerald Combs fee0d98c18 Check the environment variables SSH_CONNECTION, SSH_CLIENT, REMOTEHOST,
DISPLAY, and CLIENTNAME (in that order).  If any of them are set, create
a capture filter that excludes their traffic and set it as the default.
The longer filters should be efficient without being overly long; they
may need some tweaking.

svn path=/trunk/; revision=8994
2003-11-18 04:16:28 +00:00
Ulf Lamping 3b0e3efce4 removed some warnings
svn path=/trunk/; revision=8993
2003-11-18 00:46:40 +00:00
Ronnie Sahlberg 8acd679327 updates to ip_to_str[_buf]() to make them faster.
This functin was in a recent profiling run the fifth most expensive function.
It consumed ~3.5% of the total cpu in that run.

Using a static table this function is now just over twice as fast as previously.

My testrun calling it 10.000.000 times in a loop changed the execution time from ~17.3s ro ~8.2s

If this test was representative for the speedup and if ~3.5 in the profile run
was representative for normal cases this should make ethereal ~1.8% faster.
Woohoo.
(low hanging fruit)

svn path=/trunk/; revision=8992
2003-11-17 22:56:45 +00:00
Guy Harris 7952d0627a Fix the copyright notices (Gerald has the copyright on Ethereal).
svn path=/trunk/; revision=8991
2003-11-17 22:34:25 +00:00
Guy Harris 48e2a1b3eb Tweak the introductory comment.
svn path=/trunk/; revision=8990
2003-11-17 22:31:27 +00:00
Guy Harris e3a99fe8dc Fix the .cvsignore files.
svn path=/trunk/; revision=8989
2003-11-17 22:29:21 +00:00
Guy Harris 9da9dcd747 From Erwin Rol: check the checksum in RDM packets.
svn path=/trunk/; revision=8988
2003-11-17 22:26:57 +00:00
Guy Harris 51664ea152 From Lo�c Minier: append $(EXEEXT) to the names of binaries, so that
the configure script generates the right executable image file names on
Cygwin.

svn path=/trunk/; revision=8987
2003-11-17 22:09:16 +00:00
Guy Harris 3bdc7401db From Lars Roland: use the c= and m= information to set up conversations
to use RTP/RTCP.

svn path=/trunk/; revision=8986
2003-11-17 21:52:35 +00:00
Guy Harris 33629cc801 From Erwin Rol: initial ENTTEC support and RDM support.
svn path=/trunk/; revision=8985
2003-11-17 20:57:14 +00:00
Guy Harris dc69087b0c Not all compilers allow array/structure/union members of automatic
variables to be initialized to non-constant values (C89 says that "All
the expressions in an initializer for an object that has static storage
duration or in an initializer list for an object that has aggregate or
union type shall be constant expressions"; presumably the intent of the
former was to avoid run-time initialization and of the latter was to let
the initialization be done by copying from a compile-time-created blob
of memory), so we have to initialize "info->counts" by hand.

svn path=/trunk/; revision=8984
2003-11-17 20:00:37 +00:00
Guy Harris 08f3ea2cf3 Fix a typo.
svn path=/trunk/; revision=8983
2003-11-17 19:40:09 +00:00
Ulf Lamping 1a209c1d3e added ETHERTYPE_PROFINET
svn path=/trunk/; revision=8982
2003-11-17 18:23:34 +00:00
Guy Harris 02a954efe3 "capture()" takes a "struct pcap_stat *" argument, so you need to
include <pcap.h> before including "capture.h".

Include "dlg_utils.h" to declare "dlg_set_cancel()".

svn path=/trunk/; revision=8981
2003-11-17 00:27:33 +00:00
Guy Harris d9ad0a2062 Get rid of a no-longer-used variable.
svn path=/trunk/; revision=8980
2003-11-17 00:26:30 +00:00
Guy Harris 7bd2e232a9 Export "protocol_t" as an opaque type.
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()"
take a "protocol_t *" as an argument, so they don't have to look up the
"protocol_t" - this will probably speed them up considerably, and
they're called on almost every dissector handoff.

Get rid of a number of "proto_is_protocol_enabled()" calls that aren't
necessary (dissectors called through handles, including those called
through dissector tables, or called as heuristic dissectors, aren't even
called if their protocol isn't enabled).

Change some direct dissector calls to go through handles.

svn path=/trunk/; revision=8979
2003-11-16 23:17:27 +00:00
Ronnie Sahlberg 21313199e4 From Lars Roland Service Response times for H225 RAS
svn path=/trunk/; revision=8978
2003-11-16 23:11:20 +00:00
Ronnie Sahlberg 90d77bef00 Bugfix for h450.
The hf field we give to dissect_per_object_string is a FT_STRING and not a FT_BYTES.  This caused ethereal to abort with an assert failure.

This fixes the issue that Keith French recently brought up in his mailing to
ethereal-users

svn path=/trunk/; revision=8977
2003-11-16 22:33:19 +00:00
Guy Harris 5c33ae3c36 From Olivier Biot: fix the offset for the Encoding-Version header in the
general form.

svn path=/trunk/; revision=8976
2003-11-15 23:58:53 +00:00
Guy Harris a8fc1d810d From Michael Lum: add <shift><control> hotkeys for Protocols and
Preferences.

svn path=/trunk/; revision=8975
2003-11-15 23:48:52 +00:00
Ulf Lamping 1a42ad1d50 GTK2 specific: use some Ethereal specific stock icons generated in toolbar.c
svn path=/trunk/; revision=8974
2003-11-15 11:46:09 +00:00
Ulf Lamping 0fe5eba745 handlebar removed,
GTK2 specific: generate some Ethereal specific stock icons and
use them in the toolbar

svn path=/trunk/; revision=8973
2003-11-15 11:44:10 +00:00
Ulf Lamping c4df7b705a added gdk_pixbuf to GTK2 specific libs to link (needed in toolbar.c)
svn path=/trunk/; revision=8972
2003-11-15 11:39:57 +00:00
Ulf Lamping 44b39a7b3e removed no longer used gtk includes
svn path=/trunk/; revision=8971
2003-11-15 10:06:44 +00:00
Ulf Lamping 63aa4a59c0 seperated capture dialog from capture.c and put into new gtk/capture_info_dlg.c,
added some tiny bars, that will indicate the percentage,
added ESC key handler and use of GTK_STOCK button

svn path=/trunk/; revision=8970
2003-11-15 08:53:56 +00:00
Ulf Lamping ee48f3052f added "#include <epan/packet.h>" to be able to include "capture.h"
svn path=/trunk/; revision=8969
2003-11-15 08:50:07 +00:00
Ulf Lamping bca18fcf68 seperated capture dialog from capture.c and put into new gtk/capture_info_dlg.c
svn path=/trunk/; revision=8968
2003-11-15 08:48:14 +00:00
Guy Harris f4d0c0d9c2 When it comes to whether to use "select()" or not, even if you're
building in Cygwin's pretend-it's-UNIX environment, we need to treat the
platform as Windows.

Get rid of the BSD #define - just check for the platforms on which we
mustn't use "select()".

svn path=/trunk/; revision=8967
2003-11-14 21:18:06 +00:00
Guy Harris 257fb6c7dd Fix the stuff that talks about adding to DISSECTOR_SOURCES to talk about
adding to DISSECTOR_SRC instead, and update it to mention
"Makefile.nmake" in the first instance.

svn path=/trunk/; revision=8966
2003-11-14 19:20:24 +00:00
Guy Harris 885ddfcef1 From Josef Korelus: update the offset after decoding an IE.
svn path=/trunk/; revision=8965
2003-11-14 18:59:00 +00:00
Guy Harris 7e12960254 Fix the heuristics so that they recognize Linux DLT_NULL headers.
svn path=/trunk/; revision=8964
2003-11-14 10:11:11 +00:00
Guy Harris fdf764fe54 Add support for the compact form of headers.
svn path=/trunk/; revision=8963
2003-11-14 02:07:20 +00:00
Guy Harris b90f0867da From Michael Lum: fix up handling of ABORT package.
svn path=/trunk/; revision=8962
2003-11-14 01:35:08 +00:00
Guy Harris dd0328736b From Olivier Biot: fix the debugging output of "tvb_get_guintvar()".
svn path=/trunk/; revision=8961
2003-11-14 01:27:34 +00:00
Guy Harris a6d31930ab From Olivier Biot: use "g_strdup_printf()" to generate
dynamically-allocated sprintf output.

svn path=/trunk/; revision=8960
2003-11-13 23:44:05 +00:00
Guy Harris 624fe0ec15 Require that field names contain only alphanumerics, "-", "_", and ".".
Fix the names that contained other characters.

svn path=/trunk/; revision=8959
2003-11-13 23:38:33 +00:00
Guy Harris ca5235bc35 From Jaime Fournier: get rid of space in field name.
svn path=/trunk/; revision=8958
2003-11-13 23:13:51 +00:00
Ronnie Sahlberg f4d65e301e Change the gboolean controlling whether to use TCP Sequence Number Analysis and TCP Relative Sequence Numbers to default to ENABLED
instead of DISABLED.

These features do not consume that much memory or CPU but will greatly enhance the feature set of ethereal.  Make it enabled by default so also those that never venture into the preferences dialog will benefit from it.

svn path=/trunk/; revision=8957
2003-11-13 20:53:44 +00:00
Ronnie Sahlberg cd46db5e4b For Time Reference frames reset the counter for CulmulativeBytes.
This makes the CulmulativeBytes field make more sense since if we want
something to be a TimeReference frame it is likely that we also want to
measure BOTH time and number of bytes (==culmulative bytes) until the event we are looking at.

svn path=/trunk/; revision=8956
2003-11-13 08:22:48 +00:00
Ronnie Sahlberg a2e3a35f06 Change the strings shown for ICMP TTL exceeded to match the wording in the standard
svn path=/trunk/; revision=8955
2003-11-13 08:16:52 +00:00
Gerald Combs 87332bc8fe We can't pass NULLs to proto_tree_add_text(). Replace a bunch of occurrences
of match_strval() with val_to_str() so that we don't throw an assertion.

These changes fix a problem with a file from Martin Dubovsky; otherwise
they haven't been heavily tested.

svn path=/trunk/; revision=8954
2003-11-13 05:08:58 +00:00
Guy Harris 483c96f0e8 From Anand Narwani: fix bitmask for Active Grants field.
svn path=/trunk/; revision=8953
2003-11-12 23:17:37 +00:00
Guy Harris a5a8bba3dd From Olivier Biot:
implement the TE header decoding;

	fix the exported add_content_type function;

	reimplement the header parameter dissection so the parameters
	also show up in the related header.

svn path=/trunk/; revision=8952
2003-11-12 22:44:16 +00:00
Guy Harris 43b4e5adca From Chris Waters:
* Better decoding of TZSP header.
	* Handle unknown tags in packet.
	* Removed encapsulation types which are not actually supported.
	* Added tags for original length and sensor address.
	* Fix signedness of some fields.

Get rid of unused "hf_tzsp_reserved" variable.

Use -1 rather than "tvb_length(tvb)" when constructing the top-level
protocol tree item, and set the length if we have payload that we
dissect separately.

Have "add_option_info()" take a starting offset, rather than
constructing a subset tvbuff for it.

Clean up indentation.

svn path=/trunk/; revision=8951
2003-11-12 21:22:37 +00:00
Guy Harris 862de8661c From Matthias Drochner: support for mode 6 and mode 7 control packets
and NTP4 autokey extension data.

svn path=/trunk/; revision=8950
2003-11-12 20:44:36 +00:00
Ulf Lamping 8064140631 completely redesigned print dialog layout, to be more obvious to the user
svn path=/trunk/; revision=8949
2003-11-12 19:04:58 +00:00
Gerald Combs 6f4dfded96 Remove MAX_DECODE_BUFFER_SIZE; it's no longer used.
svn path=/trunk/; revision=8948
2003-11-12 18:48:53 +00:00