Commit graph

7896 commits

Author SHA1 Message Date
Guy Harris
04938c7926 Reserve 20 bits for expert "event groups", to leave room for more.
Shuffle the expert severities down, and note that we have only 8 bits
available for FI_ flags unless you shrink the set of event groups and
shuffle them and the expert severities up.

svn path=/trunk/; revision=23731
2007-12-04 01:26:02 +00:00
Ronnie Sahlberg
0c09ac97f6 #if out a function that is only used when building with glib 2 or later
svn path=/trunk/; revision=23730
2007-12-04 00:56:11 +00:00
Guy Harris
ce635c2310 Severities are unsigned.
svn path=/trunk/; revision=23727
2007-12-03 23:02:09 +00:00
Guy Harris
ebd47f95d1 Make the flags field a guint32, to make it clear that it's 32 bits.
Move the expert information bits to the top of that field, to avoid
collisions (we had a collision with the 0x00000004 bit).

svn path=/trunk/; revision=23726
2007-12-03 22:48:49 +00:00
Ronnie Sahlberg
60c561e2bd add tree traversal functions
svn path=/trunk/; revision=23725
2007-12-03 22:47:23 +00:00
Anders Broman
b414c81f1f Fetch all fmtp parameters.
svn path=/trunk/; revision=23724
2007-12-03 22:40:04 +00:00
Anders Broman
063c688bc0 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2057
The tag for PSTNTermination is [95].

svn path=/trunk/; revision=23723
2007-12-03 22:22:25 +00:00
Ronnie Sahlberg
b10403f13e add end of line to the last line of the file
svn path=/trunk/; revision=23718
2007-12-03 21:54:27 +00:00
Ronnie Sahlberg
830da048fc mark two unused parameters as _U_
svn path=/trunk/; revision=23717
2007-12-03 21:52:57 +00:00
Stig Bjørlykke
b958a1a124 Mark pinfo as unused.
svn path=/trunk/; revision=23713
2007-12-03 21:33:56 +00:00
Anders Broman
20b383c1b1 Dissect RTP payload of H.264 and SDP profile-leve-id for H.264.
svn path=/trunk/; revision=23709
2007-12-03 20:14:42 +00:00
Graeme Lunt
a58643173d Revised P7 dissector to use #.TABLE directive to generate tables for the ROS dissector from
the [ABSTRACT] OPERATIONS definitions in the ASN.1 file.


svn path=/trunk/; revision=23707
2007-12-03 19:32:28 +00:00
Graeme Lunt
5d8693069d Support table-based dissection of ROS operations.
This simplifies the generation of dissectors for ROS-based protocols using the asn2wrs #.TABLE directive.

See the P7 dissector for an example.


svn path=/trunk/; revision=23706
2007-12-03 19:29:24 +00:00
Jeff Morriss
aabf0f25d1 Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2059 : reassemble XUDTS, too
svn path=/trunk/; revision=23705
2007-12-03 18:12:25 +00:00
Jeff Morriss
757b5e13e6 Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2063 : there's only 1 octet of FSN in non-ANSI COO/COA's.
svn path=/trunk/; revision=23704
2007-12-03 17:32:02 +00:00
Martin Mathieson
8a311e2320 Add "soap" -> "http" mapping.
svn path=/trunk/; revision=23703
2007-12-03 15:47:08 +00:00
Tomas Kukosa
0ba8976eb7 fix confusion in tag handling
svn path=/trunk/; revision=23702
2007-12-03 13:48:45 +00:00
Martin Mathieson
b8ef070e84 My compiler (I think wrongly) says that fnum could be used uninitialised.
svn path=/trunk/; revision=23701
2007-12-03 12:22:13 +00:00
Ulf Lamping
34250e0617 add libwireshark.def
svn path=/trunk/; revision=23692
2007-11-30 22:01:52 +00:00
Stig Bjørlykke
ecdb4359d2 From Florent DROUIN:
I just add a test for the index, to check we are in the element table.

This fixes bug 2051.

svn path=/trunk/; revision=23688
2007-11-30 16:01:08 +00:00
Stig Bjørlykke
8286c9a645 From Florent DROUIN:
There is a new check for the length, and the reported_length is added to the
offset, instead of the "theorical" length of the element.

This fixes bug 2052.

svn path=/trunk/; revision=23687
2007-11-30 15:55:28 +00:00
Tomas Kukosa
f9fae482f5 define ssl_debug_flush() for disabled debug
svn path=/trunk/; revision=23683
2007-11-30 12:41:23 +00:00
Tomas Kukosa
187864ff8f setup SRTP stream if MIKEY is detected in OLC
svn path=/trunk/; revision=23682
2007-11-30 12:37:30 +00:00
Tomas Kukosa
b19d4c9e42 use g_strconcat() which should be faster instead of g_strdup_printf()
svn path=/trunk/; revision=23681
2007-11-30 11:46:13 +00:00
Tomas Kukosa
aab2bf936e - fix warnings in prefs.c
- do not flush SSL debug output after each message but only once per packet

svn path=/trunk/; revision=23680
2007-11-30 11:12:55 +00:00
Tomas Kukosa
6caaafbb6d Next few improvements to speed up startup about 10%.
- use GTree instead of GList for preference module lists

svn path=/trunk/; revision=23679
2007-11-30 09:22:01 +00:00
Gerald Combs
36f0b417ea Add a directory argument and some default directories to "configure
--with-libsmi".

svn path=/trunk/; revision=23676
2007-11-30 00:45:12 +00:00
Stig Bjørlykke
c068f9acf2 From Jens Braeuer (bug 1999):
This patchs adds the 
- requested check of tlv_len at top of the disection-loop
- length check for fields w/ variable length (expert_add_info_format)

svn path=/trunk/; revision=23673
2007-11-29 17:25:36 +00:00
Tomas Kukosa
a5ca7ec384 hide implementation of module list
(it makes easier change from GList to GTree as we have many modules now and GList implementation is slow for searching)

svn path=/trunk/; revision=23669
2007-11-29 07:52:52 +00:00
Tomas Kukosa
7f4df19970 fix GLIB 1.x compatibility
svn path=/trunk/; revision=23668
2007-11-29 07:48:12 +00:00
Anders Broman
b1370e46d0 Didier Gautheron:
Only call ether_to_str(), get_ether_name() if the tree is visible, they are slow.

svn path=/trunk/; revision=23666
2007-11-29 06:29:20 +00:00
Anders Broman
87503b059e Didier Gautheron:
Call subdissectors preference for retransmitted frames.

svn path=/trunk/; revision=23665
2007-11-29 06:28:07 +00:00
Bill Meier
b69928928f From Didier Gautheron: Fix for Bug #1862: JPEG (JFIF) packet always malformed
svn path=/trunk/; revision=23662
2007-11-29 00:01:09 +00:00
Bill Meier
b436aeaf5f From Didier Gautheron: Bug #2042: Move constants initialisation at compile time.
svn path=/trunk/; revision=23659
2007-11-28 22:44:37 +00:00
Bill Meier
6d4dda3327 From Didier Gautheron: Bug #2040: Fix up goto at compilation time in gencode.c
svn path=/trunk/; revision=23658
2007-11-28 22:37:33 +00:00
Bill Meier
437b861f47 Fropm Anders: Broman: Fix for bug #2041
svn path=/trunk/; revision=23655
2007-11-28 22:13:50 +00:00
Anders Broman
5935bf73a4 Didier Gautheron:
icmp dissector must call subdissectors even if tree is NULL

svn path=/trunk/; revision=23653
2007-11-28 21:44:40 +00:00
Bill Meier
7f9585782d Fixes for Windows build w/o ZLIB
svn path=/trunk/; revision=23651
2007-11-28 20:06:21 +00:00
Bill Meier
48bb4deed1 (Somewhat academic): Fix fread related bug (when using GTK1).
svn path=/trunk/; revision=23650
2007-11-28 19:53:36 +00:00
Jaap Keuter
fe11aff158 From Brian W. Antoine:
The Packet decoder for CFM has a couple of small bugs.
1) The frame rate for CCM's is wrong for rate=4, it's shown as 1ms and it should be shown as 1s.
2) The flags display for a LTM packet has the wrong title for bit 7.  It should be UseFDBonly, not RDI.

svn path=/trunk/; revision=23649
2007-11-28 18:59:37 +00:00
Stephen Fisher
2463784fbd Fix filename in comment at top (it's .asm not .c)
svn path=/trunk/; revision=23647
2007-11-28 17:43:42 +00:00
Gerald Combs
f07871ac79 Use guints instead of guint8s for counters.
svn path=/trunk/; revision=23646
2007-11-28 15:55:50 +00:00
Tomas Kukosa
1a001629bd try to fix *nix build environment
in accordance with asm_utils.c/asm_utils_win32_x86.asm used in Win32

svn path=/trunk/; revision=23645
2007-11-28 14:39:51 +00:00
Tomas Kukosa
ff7c20938e Various changes with focus to startup speedup
The startup timeout on Win32 is reduced to 80% without assembler and to 50% with assembler usage (which is optional)
proto.c
 - do not look up in filed tree and inserts in two steps but do it at once
 - next few small speedups
 - some often called elementary functions can be optionally implemented in assembler
 - dispart some functions to see more exact result from profiling
packet-tpnc.c
 - do not reallocate memory for each filed

svn path=/trunk/; revision=23643
2007-11-28 10:18:16 +00:00
Stig Bjørlykke
60686647d2 Fixed a possible infinite loop.
svn path=/trunk/; revision=23642
2007-11-28 09:30:10 +00:00
Ronnie Sahlberg
c79cf40b3b update to most recent wkssvc.idl from the samba4 repository
svn path=/trunk/; revision=23641
2007-11-28 06:21:28 +00:00
Ronnie Sahlberg
5fceae6ecb we must include glib.h so we know what gchar and gsize is
svn path=/trunk/; revision=23635
2007-11-28 01:21:33 +00:00
Ronnie Sahlberg
722ab30a62 we must include config.h or else NEED_G_ASCII_STRCASECMP_H will never be
defined

we must also include g_ascii_strcasecmp.h from the parent directory


svn path=/trunk/; revision=23634
2007-11-28 01:20:46 +00:00
Stig Bjørlykke
111cedfc75 - Added SEQ/ACK analysis for reports and notifications.
- Identify ack type in COL_INFO.
- No analysis when in error packets.
- Some cleanup in hf_ names.

svn path=/trunk/; revision=23630
2007-11-27 22:54:15 +00:00
Anders Broman
95d8c7e2da Apply yet another of the optimization patches:
- Only call functions if they are needed or once.

svn path=/trunk/; revision=23628
2007-11-27 21:24:39 +00:00