Commit Graph

13047 Commits

Author SHA1 Message Date
Ulf Lamping 3a9e847e27 some cleanup of the initial start sequence of Ethereal, filling in capture_opts and alike
svn path=/trunk/; revision=13317
2005-02-06 14:43:27 +00:00
Ulf Lamping ba04a65a6a fix bugs regarding the capture child
svn path=/trunk/; revision=13316
2005-02-06 12:21:27 +00:00
Ulf Lamping 97866a968b instead of initializing the capture_options in main.c, use the new function capture_opts_init
svn path=/trunk/; revision=13315
2005-02-06 00:13:00 +00:00
Lars Roland a9cc1df551 remove obsolete function add_rtp_streams_graph() from voip_calls.[ch] and fix a register_tap_listener() call.
svn path=/trunk/; revision=13314
2005-02-05 23:34:56 +00:00
Ulf Lamping c8522d6dec begin a welcome page which is shown, if you don't have any capture data loaded.
This might be improved to have additional content and/or better layout of the elements.

svn path=/trunk/; revision=13313
2005-02-05 23:12:44 +00:00
Ulf Lamping fe7e1ec13c completely hide the main window panes, if we currently don't have a capture file.
svn path=/trunk/; revision=13312
2005-02-05 17:53:39 +00:00
Gerald Combs 9e93bf4747 From Josh Bailey:
Attached is an update to Lucent/Ascend trace parsing: fix a few bugs,
add support for ISDN and Ethernet captures - diffs to 0.10.9.


svn path=/trunk/; revision=13311
2005-02-05 17:39:12 +00:00
Anders Broman 17608107ff Remove g_free.
svn path=/trunk/; revision=13310
2005-02-05 15:51:45 +00:00
Ulf Lamping 7b16126cd8 fixed the dnd_init declaration
(we have to do something about the non existing win32 compile dependencies, this is just a pain)

svn path=/trunk/; revision=13309
2005-02-05 15:40:44 +00:00
Ulf Lamping a1a2ae3180 rename kill_capture_child to capture_kill_child to have a common prefix
split drag and drop support out of main.c into new file drag_and_drop.c, to reduce the size of main.c a bit.

Hopefully this won't break unix builds because of missing #include's, I will keep an eye on the buildbot

svn path=/trunk/; revision=13308
2005-02-05 15:35:25 +00:00
Ulf Lamping 244c060b45 use the interfaces descriptive name to be shown in the statusbar as it's, well, more descriptive
svn path=/trunk/; revision=13307
2005-02-05 14:37:56 +00:00
Ulf Lamping 316ce5f19b fix a comment
svn path=/trunk/; revision=13306
2005-02-05 14:33:03 +00:00
Anders Broman f0b6a60d55 Re-commit the asn2eth based gsm-map dissector, hopfully it'll work better now.
svn path=/trunk/; revision=13305
2005-02-05 14:24:26 +00:00
Ulf Lamping 9d18adec33 minor enhancements to Guy's last update
svn path=/trunk/; revision=13304
2005-02-05 13:44:27 +00:00
Guy Harris fa3e5609ab Put "cf_status_t" back.
svn path=/trunk/; revision=13303
2005-02-05 12:50:47 +00:00
Guy Harris 3e07757e58 Make "cf_open()" match the prototype in "file.h".
svn path=/trunk/; revision=13302
2005-02-05 12:08:01 +00:00
Ulf Lamping 49b4e57a10 updated some comments
svn path=/trunk/; revision=13301
2005-02-05 11:37:56 +00:00
Anders Broman 84d4f0e508 From Alejandro Vaquero:
a patch that to shows the RTP streams in the Graph. Now 
using an RTP tap (not using the rtp_stream).

svn path=/trunk/; revision=13300
2005-02-05 11:08:24 +00:00
Anders Broman c00014119d From Alejandro Vaquero:
a patch that to shows the RTP streams in the Graph. Now 
using an RTP tap (not using the rtp_stream).

svn path=/trunk/; revision=13299
2005-02-05 11:07:21 +00:00
Ulf Lamping 9bf11427f4 make some string parameters const, as they are not changed inside
svn path=/trunk/; revision=13298
2005-02-05 11:00:04 +00:00
Guy Harris 611508684e retap_packets() was renamed cf_retap_packets().
svn path=/trunk/; revision=13297
2005-02-05 04:37:36 +00:00
Michael Tüxen 431364d07c Activate SCTP association analysis
svn path=/trunk/; revision=13296
2005-02-04 22:48:17 +00:00
Michael Tüxen b608b5e406 Update to versions compiling on and working on Windows and Unix.
svn path=/trunk/; revision=13295
2005-02-04 22:45:15 +00:00
Michael Tüxen 04a154ec0a Add detection of zero checksum.
svn path=/trunk/; revision=13294
2005-02-04 22:39:48 +00:00
Guy Harris 2c89242aac Instead of having a single enumerated type for status return values from
cf_ functions, have separate ones for different classes of routines, and
use gboolean when the return value is just "success" or "failure" - that
way you don't get compiler warnings if a case statement isn't handling a
particular status value if the routine in question won't return it.

svn path=/trunk/; revision=13293
2005-02-04 20:54:12 +00:00
Guy Harris d3e4fe620c Properly define "cf_start_tail()".
svn path=/trunk/; revision=13292
2005-02-04 20:32:32 +00:00
Ulf Lamping 69e94faff8 remove #include "globals.h" from summary.c, as it's a bad idea for multiple capture files.
If a summary user would like to get a summary, it should know the file of *which* it needs the summary.

svn path=/trunk/; revision=13291
2005-02-04 19:29:27 +00:00
Ulf Lamping c922091c09 this file doesn't use any item of the globals.h so remove #include.
However, if it needs one of:
#include "file.h"
#include <epan/timestamp.h>
it should include it directly, please let me know if it's required, as I can't test it :-(

svn path=/trunk/; revision=13290
2005-02-04 19:24:40 +00:00
Ulf Lamping 0861927ce3 huge cleanup of capture file API (functions in file.c/file.h).
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions.

Hopefully, I didn't introduced any new bugs, as I had to change a lot of files...

svn path=/trunk/; revision=13289
2005-02-04 18:44:44 +00:00
Gerald Combs d7ad33dc51 Fix a couple of distcheck problems:
Update conversation_new and find_conversation in plugin_api_list.c and
associated files.

Add packet-dcerpc-butc.h to the distribution.

svn path=/trunk/; revision=13288
2005-02-04 15:22:25 +00:00
Guy Harris 84dadf4eee From Dominique Bastien: marker and OAM slow protocol support.
Fix his e-mail address.

svn path=/trunk/; revision=13287
2005-02-04 10:48:03 +00:00
Guy Harris 428475c8a8 HFILL can't be used to initialize at run time.
svn path=/trunk/; revision=13286
2005-02-04 10:32:28 +00:00
Ulf Lamping 3a7097a8fb remove access to global cfile, use access functions and capture_opts instead
svn path=/trunk/; revision=13285
2005-02-04 08:52:38 +00:00
Ulf Lamping 10ee9093c8 remove #include "globals.h" and access to global cfile, use access functions and capture_opts instead
svn path=/trunk/; revision=13284
2005-02-04 08:42:39 +00:00
Ulf Lamping 9f171b0485 remove #include "globals.h" and access to global cfile, use access functions and capture_opts instead
svn path=/trunk/; revision=13283
2005-02-04 08:27:41 +00:00
Ronnie Sahlberg b1d285c375 use a bitmap for the restore flags so the dissection is prettier
svn path=/trunk/; revision=13282
2005-02-04 05:26:51 +00:00
Ronnie Sahlberg 4fead805d5 initial checkin of modified idl file for autogenerating the BUTC interface
svn path=/trunk/; revision=13281
2005-02-04 04:58:03 +00:00
Ronnie Sahlberg 975a76b44f check in new directory for the files for autogenerating dcerpc interfaces
and the prototype idl compiler.

this is not ready for wide use yet but is useful with a svn area where we can sync our changes to the compiler.



svn path=/trunk/; revision=13280
2005-02-04 04:37:47 +00:00
Ronnie Sahlberg 3e80f3680a add missing conversion to new use of save_file and fork_child
svn path=/trunk/; revision=13279
2005-02-04 04:31:59 +00:00
Ronnie Sahlberg e95485ff81 add support for varying strings in addition to conformant and varying strings that we already support
svn path=/trunk/; revision=13278
2005-02-04 04:02:36 +00:00
Ronnie Sahlberg 1461455adc update BUTC and fill in all (bar one) dissectors
svn path=/trunk/; revision=13277
2005-02-04 02:17:29 +00:00
Ulf Lamping dd71ad695f (some) redesign of capture data structures.
don't use global cfile at all but only an untpyed handle to call the cf_... functions in file.c
move the save_file member from capture_file to capture_opts, as it's only used while capturing and while preparing it

svn path=/trunk/; revision=13276
2005-02-04 01:29:29 +00:00
Jörg Mayer 02f8788b4e Albert Chin:
>From autoconf.info:
     In order to support these features, it is essential that `datadir'
  remains being defined as `${prefix}/share' to depend upon the current
  value of `prefix'.

     A corollary is that you should not use these variables except in
  Makefiles.  For instance, instead of trying to evaluate `datadir' in
  `configure' and hard-coding it in Makefiles using e.g.,
  `AC_DEFINE_UNQUOTED(DATADIR, "$datadir")', you should add
  `-DDATADIR="$(datadir)"' to your `CPPFLAGS'.


svn path=/trunk/; revision=13275
2005-02-04 00:29:37 +00:00
Jörg Mayer d01c1ddaef albert chin:
The HP-UX compilers don't like non-constant initializers (C99'ism).
        Patch attached for plugins/mate/mate_setup.c.

Fix a few warnings (change some () to (void))

svn path=/trunk/; revision=13274
2005-02-04 00:22:00 +00:00
Jörg Mayer cf16ab5a13 Yaniv Kaul
Attached patch simplifies a very complex 'if' statement in packet-fw1.c
        and generally streamlines the code.


svn path=/trunk/; revision=13273
2005-02-03 23:42:06 +00:00
Jörg Mayer 94a6f0cc48 Yaniv Kaul:
Attached please find a small performance optimization to packet-ip.c,
        which removes multiple redundant calls to tvb_get_ptr().

Changed srt_addr and dst_addr from char to guchar

svn path=/trunk/; revision=13272
2005-02-03 23:35:57 +00:00
Jörg Mayer 9c638f9e7e Motonori Shindo:
Please find attached a small patch for CoSine L2 debug dissector. The
code used to incorrectly select the first 4 octets in the tvbuff. This
patch fixes this problem.

svn path=/trunk/; revision=13271
2005-02-03 23:24:08 +00:00
Jörg Mayer c49b92ea30 Yniv Kaul: Small performance optimization
It change a while()->do, to do->while() and removes a variable (and an
  assignment to it).

svn path=/trunk/; revision=13270
2005-02-03 23:18:23 +00:00
Jörg Mayer 326165db2b ncisco Alcoba:
Do not add target address if the packet is a Request. According to the RFC,
        target addresses in requests have no meaning


svn path=/trunk/; revision=13269
2005-02-03 22:52:20 +00:00
Ulf Lamping 9ff19a4c94 move capture_file_fd field from capture_file to capture_opts type, as this is the place where it should be
svn path=/trunk/; revision=13268
2005-02-03 22:48:20 +00:00