Commit Graph

24 Commits

Author SHA1 Message Date
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Anders Broman 317c8e5f92 Fix Coverity CID: 8 dead code.
svn path=/trunk/; revision=17510
2006-03-07 20:51:05 +00:00
Jörg Mayer f9a57f08d1 Bill Meier:
Spelling fixes.

svn path=/trunk/; revision=16956
2006-01-05 13:01:08 +00:00
Anders Broman 2a80fe283c Handle multiple messages in a TCP segment, reassembly still needed.
svn path=/trunk/; revision=16142
2005-10-06 16:00:26 +00:00
Anders Broman 96c01ad3c6 Fix a typo.
svn path=/trunk/; revision=16074
2005-10-03 05:59:17 +00:00
Guy Harris 7aa4b4ffe1 Make "top_tree" static; nobody else uses it, and if they're both not
static, they collide with one another in builds on at least some
platforms.

svn path=/trunk/; revision=16049
2005-09-29 01:31:19 +00:00
Anders Broman 399144a591 Handle sigcomp over TCP.
svn path=/trunk/; revision=16043
2005-09-28 19:57:45 +00:00
Anders Broman 59829053fb udvm: initialise a variable
sigcomp: implement RFC 4077

svn path=/trunk/; revision=15640
2005-08-31 19:51:24 +00:00
Anders Broman 557df81507 From Timo Metsala
Changes:

o Implemented CRC and SHA-1 (sort operations are still missing)

o After state acccess, the execution start is not necessarily the
  beginning of the bytecode; start IP is now a new parameter to
  decompress_sigcomp_message()

o Removed some hard-coded assumptions about bytecode starting at offset
   128

svn path=/trunk/; revision=15531
2005-08-25 19:23:15 +00:00
Ulf Lamping 0dc9fb3d4a various code cleanup:
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants

svn path=/trunk/; revision=15264
2005-08-08 18:50:39 +00:00
Jörg Mayer 7b2ff03d8c Fix more "no previous declaration" warnings
svn path=/trunk/; revision=15169
2005-08-02 04:31:42 +00:00
Anders Broman 6b95a695cd From Paul Ollis:
epan/dissectors/packet-sigcomp.c
  --------------------------------

    Function dissect_sigcomp:

        1. Make sure the temporary buffer that is used to load byte-code from
           state is zeroed, since the function udvm_state_access implicitly
           relies on this.

        2. Pass the SigComp message header length, state length and partial
           state length to decompress_sigcomp_message.

        3. Removed the state_vars_valid parameter from calls to
           udvm_state_access.

svn path=/trunk/; revision=14667
2005-06-16 21:16:23 +00:00
Ulf Lamping 2f836c20a8 fix a typo: lenght -> length
This seems to be a "more common" typo, fixed it 13 times throughout the code ...

svn path=/trunk/; revision=13452
2005-02-20 22:36:34 +00:00
Ulf Lamping 78ff68d4b5 a lot of warnings removed, most of them about pointer to int casts without using the appropriate GLib macros
svn path=/trunk/; revision=12832
2004-12-25 13:49:30 +00:00
Gerald Combs 077795e8fa bytes_to_str() returns a static value. Don't g_free() it.
svn path=/trunk/; revision=12629
2004-12-01 01:21:22 +00:00
Anders Broman d7f54a23e8 Bugfixes- handle zero length bytecode, handle end-off-message with implied parameters(udvm initialised to zero).
svn path=/trunk/; revision=12614
2004-11-28 19:41:17 +00:00
Anders Broman cacec2985d Make it possible to fileter on partial_state create and access.
svn path=/trunk/; revision=12583
2004-11-23 22:03:28 +00:00
Anders Broman c45f9fee60 Fix some memmory leaks
svn path=/trunk/; revision=12580
2004-11-22 22:19:03 +00:00
Anders Broman ffdb8be766 Implemented state-create, handling of g_hash_table at redesection needs more work.
svn path=/trunk/; revision=12532
2004-11-16 22:15:58 +00:00
Guy Harris 8ceddc4a1d "dissect_sigcomp()" returns 0 or the packet length, so it has to be
registered with "new_register_dissector()".

svn path=/trunk/; revision=12239
2004-10-08 16:42:27 +00:00
Anders Broman 1bac620377 Add sigcomp Universal Decompressor Virtual Machine (UDVM) and state handler, for decompression of
sigcomp messages. Currently states are or not saved so only messages with bytecode can be decompressed.

svn path=/trunk/; revision=12237
2004-10-08 15:55:06 +00:00
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Anders Broman bb7d931303 Fix decoding of messafe type 1, if T-bit = Zero
svn path=/trunk/; revision=11445
2004-07-20 19:04:48 +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