Commit Graph

4833 Commits

Author SHA1 Message Date
Guy Harris f010b46419 decode_as_dt's argument points to a dissector table name, so it should be
a const pointer.

svn path=/trunk/; revision=21529
2007-04-23 16:49:24 +00:00
Stephen Fisher 90f8b1a080 From Paolo Abeni:
(from -dev list)
On Sun, 2007-04-22 at 23:06 +0200, Joerg Mayer wrote:
> Can someone please have a look at uand fix the following warning:
>
> cc1: warnings being treated as errors
> packet-ssl.c: In function 'ssl_parse':
> packet-ssl.c:334: warning: ignoring return value of 'fread', declared
> with attribute warn_unused_result

The attached patch fix the issue. It also try to fix a bit the
indentation.

Me: Move size_t nbytes up to top of function and fix typo expeted->expected


svn path=/trunk/; revision=21527
2007-04-23 16:22:34 +00:00
Guy Harris 1bc049906a Add some GCC warnings to the standard set, and add some others to the
--enable-extra-gcc-checks set.

If we turn on -pedantic, try turning on -Wno-long-long as well, so that
it's not *so* pedantic that it rejects the 64-bit integral data types
that we explicitly require.

Constify a bunch of stuff, and make some other changes, to get rid of
warnings.

Clean up some indentation.

svn path=/trunk/; revision=21526
2007-04-23 10:59:26 +00:00
Guy Harris 7dc9df5f26 Just use -1 to go to the end of a tvbuff.
svn path=/trunk/; revision=21525
2007-04-23 10:57:34 +00:00
Jeff Morriss 20a3a52951 Mark all the items for TCAP statistics as generated
svn path=/trunk/; revision=21524
2007-04-23 10:45:00 +00:00
Ronnie Sahlberg c84eda3a80 add request/response matching for ctdb
svn path=/trunk/; revision=21523
2007-04-23 09:44:13 +00:00
Anders Broman 9344195101 Formating changes and align a bit to spec.
svn path=/trunk/; revision=21521
2007-04-23 06:24:39 +00:00
Guy Harris c5beaef29e "call_ber_syntax_callback()" isn't used outside packet-ber.c, isn't
declared in any header file, and isn't in epan/libwireshark.def; make it
static, to squelch compiler warnings.

svn path=/trunk/; revision=21518
2007-04-23 00:32:04 +00:00
Jaap Keuter 647446dadf Fix for bug 1541. Adjust offset for long longs by 8, not by 4.
svn path=/trunk/; revision=21496
2007-04-22 10:29:47 +00:00
Anders Broman 4960e68578 EXPORT DialoguePDU UniDialoguePDU and make them callable by OID.
svn path=/trunk/; revision=21487
2007-04-21 20:53:35 +00:00
Anders Broman eab3eb5c68 Put some missing TAG:s in the tree if internal BER fields shown.
svn path=/trunk/; revision=21486
2007-04-21 20:27:05 +00:00
Gerald Combs 02926636da Move some data frame back out of the control frame scope, so Wireshark
will stop crashing.

More .11n additions and updates from Dustin:

  - Power Capability tag
  - Supported Channels tag
  - Block Ack/Block Ack Request

Fixup whitespace.

svn path=/trunk/; revision=21484
2007-04-20 22:29:11 +00:00
Gerald Combs 2c9c0f3651 Fix 64-bit integer handling and whitespace.
svn path=/trunk/; revision=21483
2007-04-20 18:09:31 +00:00
Gerald Combs 24b3b66ba8 More .11n-related updates and additions from Dustin Johnson and myself:
- MIMO Control frame support
  - Control Wrapper frame support
  - Measurement Pilot
  - Action No Ack
  - Block Ack Action
  - PCO Phase Control
  - PSMP Parameter Set
  - Antenna Selection
  - Extended Channel Switch Announcement
  - HT Information
  - HT Action
  - MIMO CSI Matrices Report
  - Fill in and update a bunch of hf strings
  
Fixup(?) whitespace.

svn path=/trunk/; revision=21482
2007-04-20 17:40:13 +00:00
Sebastien Tandel 366716e31d get rid of some unused parameters in process_ssl_payload
svn path=/trunk/; revision=21480
2007-04-20 14:19:20 +00:00
Anders Broman 5954b97ac4 Add EXTERNAL to the value string and add comments about UNIVERSAL tags.
svn path=/trunk/; revision=21479
2007-04-20 13:54:56 +00:00
Jörg Mayer 31937c3b30 Add Recognition of ELRP (Extreme Loop Recognition Protocol) Elements.
I don't know how to decode them though.

Fix some typos.

Change some Element descriptions.

svn path=/trunk/; revision=21478
2007-04-20 09:26:59 +00:00
Richard van der Hoff 5c50b6f96f From Hannes Gredler:
attached a small bugfix that uses the correct bits
for determining if the ATM payload is a OAM cell.


svn path=/trunk/; revision=21477
2007-04-19 17:13:49 +00:00
Tomas Kukosa 840b4e46a9 register the right dissector for SIP over SSL/TLS
svn path=/trunk/; revision=21473
2007-04-19 07:09:59 +00:00
Anders Broman e7e9a81155 Fix to BUG GSM CAMEL-3 GPRS InvokeInitialDPGPRS.APN decoded incorrectly
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1543

svn path=/trunk/; revision=21471
2007-04-18 21:52:11 +00:00
Martin Mathieson d01b682f52 Make specifier string match args
(may not be the intended formatting, but it builds...)

svn path=/trunk/; revision=21468
2007-04-18 09:23:27 +00:00
Tomas Kukosa a6a0a76c45 usage of new #.MAKE_DEFINES asn2wrs directive in RNSAP
svn path=/trunk/; revision=21467
2007-04-18 08:58:48 +00:00
Jeff Morriss ee73a2aff2 Don't use DISSECTOR_ASSERT to (essentially) verify packet data. Instead
add an expert info entry if the AVP length is 0 and just return after
dissecting that AVP.

svn path=/trunk/; revision=21465
2007-04-18 07:06:56 +00:00
Anders Broman 5e859c36d7 Add a comment.
svn path=/trunk/; revision=21464
2007-04-18 06:32:00 +00:00
Anders Broman 3f3d0d3d44 From Michael Lum:
This patch implements parameter dissection for about 1/2 to 2/3 of the messages in IS-801.

Built and tested against the latest source as of Friday April 13th 2007.

svn path=/trunk/; revision=21463
2007-04-18 06:31:25 +00:00
Anders Broman cca5f4cfbc Add an IE.
svn path=/trunk/; revision=21462
2007-04-18 06:30:23 +00:00
Jeff Morriss bc1a33021c Pass NULL (instead of proto_) in the last parameter of tap_queue_packet()
because NULL is just as interesting as the proto_ entry and the latter
generates a compiler warning.

svn path=/trunk/; revision=21460
2007-04-18 04:13:50 +00:00
Luis Ontanon fdbc713314 register the right dissector for tcp
Fixes Bug 1429

svn path=/trunk/; revision=21457
2007-04-17 15:46:05 +00:00
Jörg Mayer e8d1c6bff7 Detect ELSM as such - meaning of the elements is still unknown.
svn path=/trunk/; revision=21456
2007-04-17 15:17:06 +00:00
Jeff Morriss ab97c31bb2 Fix warnings of the form "long long unsigned int format, guint64 arg": use
the PRI macros instead of %llu, etc.

svn path=/trunk/; revision=21454
2007-04-17 10:11:41 +00:00
Gerald Combs 5285c91f9a More .11k/n updates from Dustin Johnson:
- Measurement Pilot frame support
  - Various Block Ack fields
  - Various Power fields
  - Measurement Pilot field
  - Country String field
  - Channel Width field
  - QoS Information fields

svn path=/trunk/; revision=21452
2007-04-17 00:34:32 +00:00
Gerald Combs d0a793c353 From Tuomas Maattanen:
the current SVN (rev 21448) 802.11 WMM TSPEC dissector seems to have
some bugs.

TS Info field should be three bytes long, not two.  Suspension Interval
field is missing altogether, shifting all other fields by four bytes.
Maximum Burst Size, Minimum PHY Rate, Peak Data Rate and Delay Bound
are in wrong order.


svn path=/trunk/; revision=21450
2007-04-16 18:35:22 +00:00
Michael Tüxen 2a10f9ea96 Use recent IANA port assignments.
svn path=/trunk/; revision=21449
2007-04-16 17:03:30 +00:00
Jeff Morriss 80c7330166 Replace g_assert() with DISSECTOR_ASSERT()
svn path=/trunk/; revision=21448
2007-04-16 09:03:11 +00:00
Jeff Morriss aaf6cfb252 From Victor Fajardo: update the PANA dissector to draft-15a
svn path=/trunk/; revision=21447
2007-04-16 08:53:33 +00:00
Jeff Morriss 3f68c1395b Fix a couple warnings
svn path=/trunk/; revision=21446
2007-04-16 08:37:39 +00:00
Tomas Kukosa 111d18c4b3 move string tables from packet-ssl-utils.h to packet-ssl-utils.c and export them
svn path=/trunk/; revision=21445
2007-04-16 06:41:56 +00:00
Jeff Morriss 00cf2ec89c Frame numbers are unsigned, print them as such
svn path=/trunk/; revision=21443
2007-04-16 04:52:51 +00:00
Jörg Mayer f59e6b9e1e Revert commit 21430 and use #if 0/#endif instead
svn path=/trunk/; revision=21440
2007-04-15 00:40:05 +00:00
Stephen Fisher a3a02dd82e From Sake Blok:
Fix false malformed SSL handshake messages


svn path=/trunk/; revision=21438
2007-04-14 19:04:19 +00:00
Sebastien Tandel 7d89f5bf5f "false" unused variables (they are not use in wiretap repo)
svn path=/trunk/; revision=21437
2007-04-14 18:39:07 +00:00
Sebastien Tandel 06deb19f7d move ipsec to DISSECTOR_SRC
fix some more MacOSX gcc warnings

svn path=/trunk/; revision=21433
2007-04-14 15:57:03 +00:00
Sebastien Tandel 68ad2f4b9b fix MacOSX gcc-3.3 warnings about unused tfs/value_string variables
most have been tagged unused (few have been deleted if dissector has not been
modified since a long time)

move packet-ssl-utils.c to DISSECTOR_SRC


svn path=/trunk/; revision=21431
2007-04-14 14:01:53 +00:00
Sebastien Tandel c3530274e0 get rid of unused variables (tfs, value_string)
svn path=/trunk/; revision=21430
2007-04-14 13:15:52 +00:00
Sebastien Tandel 454e23c936 typo fix
svn path=/trunk/; revision=21428
2007-04-14 07:55:43 +00:00
Jörg Mayer 8f3934e243 Beginnings of a Cisco ERSPAN dissector - the only thing missing is the code
to actually call this (aka to handle the ambiguities of DLT values).

svn path=/trunk/; revision=21427
2007-04-14 01:07:36 +00:00
Stephen Fisher 63692e83f8 Remove unused variable that is causing a warning
svn path=/trunk/; revision=21420
2007-04-13 22:50:47 +00:00
Sebastien Tandel e51e1e7560 move to CLEAN_DISSECTOR_SRC
svn path=/trunk/; revision=21418
2007-04-13 22:40:42 +00:00
Sebastien Tandel be81a9cabb fix gcc warning
svn path=/trunk/; revision=21416
2007-04-13 20:38:19 +00:00
Gerald Combs 1295325704 802.11k/n updates from Dustin Johnson:
- Refactored Frame Control into its own function
  - Refactored the Action field
  - Add Block Ack/Block Ack Request
  - Add a Control Wrapper stub
  - Add the Neigbor Report tag
  - Add the Extended Channel Switch Announcement tag
  - Add the Supported Regulatory Classes tag
  - Add the Secondary Channel Offset tag

svn path=/trunk/; revision=21415
2007-04-13 19:28:03 +00:00