Commit Graph

27491 Commits

Author SHA1 Message Date
Bill Meier f06f9125bc range.c: ep_strbuf_new("") ==> ep_strbuf_new(NULL);
svn path=/trunk/; revision=28145
2009-04-24 12:18:31 +00:00
Bill Meier 72ef03e60a [Trivial] Constify a few things
svn path=/trunk/; revision=28144
2009-04-24 12:16:01 +00:00
Stig Bjørlykke ed948cc8f7 Fixed reassembly, which broke in r25195.
Small cleanup in info column.

svn path=/trunk/; revision=28143
2009-04-24 11:46:38 +00:00
Stig Bjørlykke 3517dbe258 The dissector does not use any bytes.
svn path=/trunk/; revision=28142
2009-04-24 08:17:28 +00:00
Stig Bjørlykke 98f592713c Improved reading Apple's PacketLogger files:
- Send last byte of header (type) and data to a packetlogger dissector
- Rewrite type to ACI channel in the dissector
- Direction is indirectly given from the PL type
- Dissect PacketLogger NewC and Info as text

svn path=/trunk/; revision=28141
2009-04-24 08:14:36 +00:00
Stig Bjørlykke d628c0a4cc Added tvb_format_stringzpad_wsp().
svn path=/trunk/; revision=28140
2009-04-24 08:08:37 +00:00
Anders Broman a3534cd46a From Wade Hennessey:
Fix version number support for kdp packets.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3435

svn path=/trunk/; revision=28139
2009-04-23 19:06:26 +00:00
Anders Broman ba9dd57f6a - GSM MAP: incorrect decoding of getPassword operation .
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3433
- GSM MAP: incorrect decoding of returnError component 
   https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3434

svn path=/trunk/; revision=28138
2009-04-23 18:58:18 +00:00
Stig Bjørlykke 3fd6fbb69e Added PacketLogger to dump_open_table_base to be able to open pklg files
(and avoid crash).

svn path=/trunk/; revision=28137
2009-04-23 09:13:56 +00:00
Gerald Combs 163ee4356b Add missing files to the distribution.
svn path=/trunk/; revision=28136
2009-04-23 00:12:16 +00:00
Gerald Combs 8a6694ccd5 Don't rename the "ChmodBPF" directory to "Startup". Add an alias to
/Library/StartupItems with an arrow similar to the top-level directory.
Update the arrow image in the top-level directory. Adjust the layouts of
the top-level and Utilities directories. Update the documentation.

svn path=/trunk/; revision=28135
2009-04-22 20:37:48 +00:00
Bill Meier d349ab0061 proto.c: proto_registrar_dump...() fixes/changes:
- dump_values: Handle range_strings (prevents crash);
- dump_fields:
   a. Formats 2,3: If type==FT_BOOLEAN: output integer "parent bitfield width"
      in Field 7 instead of "BASE_NONE", etc. to allow addt'l
      field validation when using ftsanity.py.
   b. Format 3: Output bitmask (Field 8) in hex (0x...) instead of decimal.

svn path=/trunk/; revision=28134
2009-04-22 19:50:34 +00:00
Anders Broman 49f89b580c Try to fix more unused code warnings.
svn path=/trunk/; revision=28133
2009-04-22 19:38:04 +00:00
Guy Harris d8ea851867 Fix a warning in the RANAP dissector.
There don't seem to be any more RANAP warning, so put it back with the
clean dissectors.

svn path=/trunk/; revision=28132
2009-04-22 19:21:43 +00:00
Anders Broman 3d9c861c60 Use #.OMIT_ASSIGNMENT
svn path=/trunk/; revision=28131
2009-04-22 18:34:22 +00:00
Anders Broman 88fc3fb09b Try to fix unused code warnings.
svn path=/trunk/; revision=28130
2009-04-22 18:13:57 +00:00
Anders Broman 55e3541e7f Try to fix unused code warnings.
svn path=/trunk/; revision=28129
2009-04-22 18:03:53 +00:00
Gerald Combs 180852ed7c From Mark Cave-Ayland: Fix a crash in the PCNFSD dissector.
From me: Apply Mark's fix to the ident string. Add public #defines for
the special strings that dissect_rpc_* might return and use them in
PCNFSD.  Replace a manual buffer allocation with ep_strdup_printf.

svn path=/trunk/; revision=28128
2009-04-22 17:42:47 +00:00
Anders Broman 1913c70d1a Fix a typo.
svn path=/trunk/; revision=28127
2009-04-22 16:19:06 +00:00
Anders Broman 749d40700c - Dissect transportlayeraddress
- Don't add nbap to protocols in framelist for every IE.

svn path=/trunk/; revision=28126
2009-04-22 16:11:53 +00:00
Anders Broman 2c8d44d3e6 - Try to get rid of the unused code warnings.
- GTP-TEI as hex and dec.

svn path=/trunk/; revision=28125
2009-04-22 16:10:31 +00:00
Bill Meier ee180aec41 smpp: Fix potential crash(es): Mark hf[] entries with a range_string[] with BASE_RANGE_STRING in 'display' field;
svn path=/trunk/; revision=28124
2009-04-22 16:06:14 +00:00
Jeff Morriss bf1e65fac0 From Anders: add the OPCUA plugin to the Windows distribution
svn path=/trunk/; revision=28123
2009-04-22 12:19:59 +00:00
Guy Harris bea4b58ec5 More file-offset fixes.
svn path=/trunk/; revision=28122
2009-04-22 04:33:49 +00:00
Guy Harris c7d09027df ssize_t is UN*X-only; don't use it.
The header length, as processed by airopeekv9_process_header(), is never
0, so use 0, not -1, as the error return.

svn path=/trunk/; revision=28121
2009-04-22 03:57:37 +00:00
Guy Harris 0293e07437 LLP64 fix.
svn path=/trunk/; revision=28120
2009-04-22 03:50:13 +00:00
Guy Harris 5c224bdd74 Signed vs. unsigned fix.
svn path=/trunk/; revision=28119
2009-04-22 03:49:45 +00:00
Guy Harris 96e3a6c6ac Bleah, some dissectors still insist on using structures and sizeof and
offsetof, so turn off 64-to-32 warnings for now.

svn path=/trunk/; revision=28118
2009-04-22 03:10:24 +00:00
Guy Harris ad33ca6c2f Clean up some 64-bit issues.
svn path=/trunk/; revision=28117
2009-04-22 03:07:37 +00:00
Guy Harris 043b2b20ac More float-constant-not-double-constant fixes.
svn path=/trunk/; revision=28116
2009-04-22 00:49:00 +00:00
Guy Harris 5e5c6be098 Get rid of trailing tab.
svn path=/trunk/; revision=28115
2009-04-21 22:29:47 +00:00
Bill Meier 866eb54ad4 checkAPIs: check for 'const' in value_string definition.
svn path=/trunk/; revision=28114
2009-04-21 22:26:34 +00:00
Bill Meier e7a2df6290 Replace some non-ascii characters in comment
svn path=/trunk/; revision=28113
2009-04-21 22:22:35 +00:00
Bill Meier 5394178980 infiniband.h: Verify addt'l fields against spec; reformat
svn path=/trunk/; revision=28112
2009-04-21 21:48:38 +00:00
Anders Broman 58afb623c9 Move ranap to dirty dissectors for now.
svn path=/trunk/; revision=28111
2009-04-21 21:42:25 +00:00
Gerald Combs 7573d2215f From Artem Tamazov: Fix compilation for Visual C++ 7.1.
svn path=/trunk/; revision=28110
2009-04-21 21:15:52 +00:00
Anders Broman 526bc91680 - Reintroduce heuristic dissector
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3426
- Dissect TransportLayerAddress as IPv4 or IPv6 address
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3427
- Use call dissector_try_port_new()
- Update ASN1 descriptions.

svn path=/trunk/; revision=28109
2009-04-21 16:58:13 +00:00
Guy Harris 54c159cb41 Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats).  Hopefully this will catch at least
some P64 issues on UN*X.

svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Anders Broman 85f8b0d87d Fix a typo.
svn path=/trunk/; revision=28107
2009-04-21 16:53:34 +00:00
Anders Broman 3ab0c21cbc Introduce call dissector_try_port_new() to be used when no protocol entry is to be made in the protocols list. Used by asn2wrs dissectors to avoid multiple entrys as calls are made
multiple times for the same PDU.

svn path=/trunk/; revision=28106
2009-04-21 16:53:00 +00:00
Bill Meier c5783e32df infiniband: Fix various issues mostly relating to protocol field display:
- Conform display of fields to Infiniband spec (1.2.1): E.G.: use correct bitmasks in hf[];
  (The verification/correction process is not complete: see packet-inifiniband.h);
- Comment out unused hf[] & related elements;
- hf[]: FT_BOOLEAN entries with bitmask: "BASE" should be "bitwidth of parent bitfield";
- packet-infiniband.c: Use consistent indentation;
-                      Move proto_register & proto_reg_handoff to the end of the file.

svn path=/trunk/; revision=28105
2009-04-21 13:52:00 +00:00
Martin Mathieson 9efe4d12f1 Also show number of RAR bodies/entries in stats.
svn path=/trunk/; revision=28104
2009-04-21 12:35:50 +00:00
Jaap Keuter 750467d7d4 Simplify headerfields a bit.
svn path=/trunk/; revision=28103
2009-04-21 05:59:01 +00:00
Jaap Keuter 2df522609e Constify some more value_strings.
svn path=/trunk/; revision=28102
2009-04-21 05:58:31 +00:00
Jaap Keuter b751e5367c Constify some more value_strings.
svn path=/trunk/; revision=28101
2009-04-21 05:33:32 +00:00
Gerald Combs db297df99a Remove some backslashes that were inadvertently continuing lines.
svn path=/trunk/; revision=28100
2009-04-20 21:20:47 +00:00
Guy Harris 81011582be Squelch some warnings.
svn path=/trunk/; revision=28099
2009-04-20 21:03:46 +00:00
Anders Broman c0a6cd8d16 More IE decoding, expect messages to be integrity protected.
svn path=/trunk/; revision=28098
2009-04-20 20:31:33 +00:00
Jaap Keuter 55a1bf9af6 Fix build without HAVE_LIBGCRYPT.
svn path=/trunk/; revision=28097
2009-04-20 20:27:16 +00:00
Guy Harris e48a2dec01 More constification to fix warnings.
svn path=/trunk/; revision=28096
2009-04-20 19:20:49 +00:00