metze/wireshark/wip.git
13 years ago- for UL/DL HARQ, show number of ms since previous tx
Martin Mathieson [Mon, 11 Apr 2011 21:33:33 +0000 (21:33 -0000)]
- for UL/DL HARQ, show number of ms since previous tx
- for SR state-machine problems, show UEId in report
- incomplete beginnings of support for grouping/counting UEs per TTI

svn path=/trunk/; revision=36564

13 years agoDon't use the zlib I/O routines for writing compressed files, either;
Guy Harris [Mon, 11 Apr 2011 21:33:22 +0000 (21:33 -0000)]
Don't use the zlib I/O routines for writing compressed files, either;
this frees us from worrying about zlib large file issues on the write
side, and also lets us clean up a few other things.

svn path=/trunk/; revision=36563

13 years agoNeither checksum_item nor length are used uninitialized, but for some reason,
Chris Maynard [Mon, 11 Apr 2011 18:40:36 +0000 (18:40 -0000)]
Neither checksum_item nor length are used uninitialized, but for some reason,
the OSX buildbots think they can be.  Initialize them to avoid a build failure.

svn path=/trunk/; revision=36562

13 years agoAdd conversation tracking and tshark tap support to ICMPv6. Fixes bug 5810.
Chris Maynard [Mon, 11 Apr 2011 17:42:01 +0000 (17:42 -0000)]
Add conversation tracking and tshark tap support to ICMPv6.  Fixes bug 5810.
TODO: Add a Wireshark tap or look into possibly using the stats tree instead.
Also, like ICMP, the ICMPv6 payload appears to carry the sender's timestamp, so
it might be possible to make use of this information to estimate the total SRT.
(See bug 5770 for more details.)

svn path=/trunk/; revision=36561

13 years agoCID 898: Remove a not really used variable
Jörg Mayer [Mon, 11 Apr 2011 17:25:41 +0000 (17:25 -0000)]
CID 898: Remove a not really used variable

svn path=/trunk/; revision=36560

13 years agoFix coverity CID 855: remove an unused variable
Jörg Mayer [Mon, 11 Apr 2011 17:21:15 +0000 (17:21 -0000)]
Fix coverity CID 855: remove an unused variable

svn path=/trunk/; revision=36559

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 1036;
Bill Meier [Mon, 11 Apr 2011 15:17:22 +0000 (15:17 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 1036;
Fix what appears to be a use of an incorrect tree: Coverity 1037;
Also:
- Remove uneeded #includes & re-order #includes;
- Do indentation and whitespace cleanup (e.g., "4 space tabs").

svn path=/trunk/; revision=36558

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 912 & 913.
Bill Meier [Mon, 11 Apr 2011 14:45:54 +0000 (14:45 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 912 & 913.

svn path=/trunk/; revision=36557

13 years agoDon't assign to a variable if the value won't be used: Coverity 964 & 965;
Bill Meier [Mon, 11 Apr 2011 14:41:14 +0000 (14:41 -0000)]
Don't assign to a variable if the value won't be used: Coverity 964 & 965;
Also:
- Move proto_register...() & proto_reg_handoff...() to the end of the file;
- Remove some unneeded #includes;
- Do some indentation and whitespace cleanup (e.g., "4-space tabs").

svn path=/trunk/; revision=36556

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 928-932;
Bill Meier [Mon, 11 Apr 2011 14:28:18 +0000 (14:28 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 928-932;
Also: remove some unneeded #includes.

svn path=/trunk/; revision=36555

13 years agoAdd proto_field_is_referenced. Fixes bug 5816.
Chris Maynard [Mon, 11 Apr 2011 13:44:31 +0000 (13:44 -0000)]
Add proto_field_is_referenced.  Fixes bug 5816.

svn path=/trunk/; revision=36554

13 years agoUse g_strlcpy() instead of prohibited strncpy() to guarantee NULL-termination.
Chris Maynard [Mon, 11 Apr 2011 13:38:32 +0000 (13:38 -0000)]
Use g_strlcpy() instead of prohibited strncpy() to guarantee NULL-termination.

svn path=/trunk/; revision=36553

13 years agoBack out Jeff Morris's change to make the autostop file size 64-bit - it
Guy Harris [Mon, 11 Apr 2011 01:30:36 +0000 (01:30 -0000)]
Back out Jeff Morris's change to make the autostop file size 64-bit - it
didn't change the GUI code for setting the autostop file size, and that
broke the build.

svn path=/trunk/; revision=36552

13 years agoJeff Morris's change to make the autostop file size 64-bit. Fixes bug
Guy Harris [Mon, 11 Apr 2011 00:01:08 +0000 (00:01 -0000)]
Jeff Morris's change to make the autostop file size 64-bit.  Fixes bug
5691.

svn path=/trunk/; revision=36551

13 years agoWe have to define ws_statb64 before declaring routines that use it.
Guy Harris [Sun, 10 Apr 2011 23:51:34 +0000 (23:51 -0000)]
We have to define ws_statb64 before declaring routines that use it.

svn path=/trunk/; revision=36550

13 years agoTo fill in a ws_statb64, you must use ws_fstat64.
Guy Harris [Sun, 10 Apr 2011 22:04:14 +0000 (22:04 -0000)]
To fill in a ws_statb64, you must use ws_fstat64.

Declare ws_stdio_stat64, as that's its new name.

svn path=/trunk/; revision=36549

13 years agows_stdio_stat got renamed to ws_stdio_stat64.
Guy Harris [Sun, 10 Apr 2011 21:36:05 +0000 (21:36 -0000)]
ws_stdio_stat got renamed to ws_stdio_stat64.

svn path=/trunk/; revision=36548

13 years agoRename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64
Guy Harris [Sun, 10 Apr 2011 20:59:10 +0000 (20:59 -0000)]
Rename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64
as an argument, along the lines of ws_fstat64, and, on Windows, make it
use _wstati64, to handle 64-bit file sizes.

svn path=/trunk/; revision=36547

13 years agoDefine ws_statb64 as struct stat *within* the "not Windows" block.
Guy Harris [Sun, 10 Apr 2011 20:51:58 +0000 (20:51 -0000)]
Define ws_statb64 as struct stat *within* the "not Windows" block.

svn path=/trunk/; revision=36546

13 years agoDefine ws_statb64 to be the appropriate "struct XXX" for a
Guy Harris [Sun, 10 Apr 2011 19:56:06 +0000 (19:56 -0000)]
Define ws_statb64 to be the appropriate "struct XXX" for a
64-bit-file-size-capable stat call, and use it for ws_fstat64().

svn path=/trunk/; revision=36545

13 years agoAdd ws_fstat64(), defined to be fstat on UN*X and _fstati64 on Windows.
Guy Harris [Sun, 10 Apr 2011 18:55:06 +0000 (18:55 -0000)]
Add ws_fstat64(), defined to be fstat on UN*X and _fstati64 on Windows.

Use it in some places where we're getting the file size.

svn path=/trunk/; revision=36544

13 years agostrcpy -> strncpy.
Stig Bjørlykke [Sun, 10 Apr 2011 18:29:56 +0000 (18:29 -0000)]
strcpy -> strncpy.

Coverity 669.

svn path=/trunk/; revision=36543

13 years agoUse AC_SYS_LARGEFILE to turn on large file support on platforms that
Guy Harris [Sun, 10 Apr 2011 18:22:47 +0000 (18:22 -0000)]
Use AC_SYS_LARGEFILE to turn on large file support on platforms that
support it.

Rename ws_lseek to ws_lseek64, as it should be given a 64-bit offset,
and have it use _lseeki64 on Windows, to try to get 64-bit offset
support; AC_SYS_LARGEFILE should cause lseek() to support 64-bit offsets
on UN*X if possible.

svn path=/trunk/; revision=36542

13 years ago1.5.1 → 1.5.2. Reenable Babel.
Gerald Combs [Sun, 10 Apr 2011 17:03:43 +0000 (17:03 -0000)]
1.5.1 → 1.5.2. Reenable Babel.

svn path=/trunk/; revision=36540

13 years agoPoint to RFC 1952 as a description of the gzip file format.
Guy Harris [Sun, 10 Apr 2011 17:01:13 +0000 (17:01 -0000)]
Point to RFC 1952 as a description of the gzip file format.

Point to pages for some other compressed file formats we might want to
support.

svn path=/trunk/; revision=36539

13 years agoMove the definition of the structure pointed to by a FILE_T into
Guy Harris [Sun, 10 Apr 2011 16:53:32 +0000 (16:53 -0000)]
Move the definition of the structure pointed to by a FILE_T into
wiretap/file_wrappers.c; nothing outside of file_wrappers.c needs to
know what it looks like, it just passes around pointers to it.

svn path=/trunk/; revision=36538

13 years agoBuild 1.5.1. Temporarily disable the Babel dissector.
Gerald Combs [Sun, 10 Apr 2011 16:42:10 +0000 (16:42 -0000)]
Build 1.5.1. Temporarily disable the Babel dissector.

svn path=/trunk/; revision=36537

13 years agoMinor whitespace fix.
Gerald Combs [Sun, 10 Apr 2011 16:40:29 +0000 (16:40 -0000)]
Minor whitespace fix.

svn path=/trunk/; revision=36536

13 years ago[Automatic manuf, services and enterprise-numbers update for 2011-04-10]
Gerald Combs [Sun, 10 Apr 2011 15:03:48 +0000 (15:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2011-04-10]

svn path=/trunk/; revision=36534

13 years agoprefs_register_protocol() not needed since no prefs; Coverity #1185 (UNUSED_VALUE).
Bill Meier [Sun, 10 Apr 2011 15:01:18 +0000 (15:01 -0000)]
prefs_register_protocol() not needed since no prefs; Coverity #1185 (UNUSED_VALUE).
Also: #include <stdio.h> not needed.

svn path=/trunk/; revision=36533

13 years agoFrom Jakub Zawadzki via bug 5809:
Stig Bjørlykke [Sat, 9 Apr 2011 19:03:04 +0000 (19:03 -0000)]
From Jakub Zawadzki via bug 5809:
Compare frame number when columns are equal.

svn path=/trunk/; revision=36532

13 years agoDo some whitespace cleanup.
Bill Meier [Sat, 9 Apr 2011 17:18:52 +0000 (17:18 -0000)]
Do some whitespace cleanup.

svn path=/trunk/; revision=36531

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 911;
Bill Meier [Sat, 9 Apr 2011 17:17:47 +0000 (17:17 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 911;
Fix bug wherein an item was apparently added to the wrong subtree: Coverity 910;
Remove unneeded #includes;
Do whitespace and indentation cleanup.

svn path=/trunk/; revision=36530

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 923-927;
Bill Meier [Sat, 9 Apr 2011 17:11:13 +0000 (17:11 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 923-927;
Add braces around around certain code sections for indentation purposes;
Do some indentation & whitespace cleanup.

svn path=/trunk/; revision=36529

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 891 & 892;
Bill Meier [Sat, 9 Apr 2011 13:44:00 +0000 (13:44 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 891 & 892;
Also: #include <stdlib.h> & <string.h> not req'd;  fix some indentation.

svn path=/trunk/; revision=36528

13 years agoIn packet_list_dissect_and_cache_record(), set the columns to
Guy Harris [Sat, 9 Apr 2011 04:33:26 +0000 (04:33 -0000)]
In packet_list_dissect_and_cache_record(), set the columns to
*something* if we get an error reading the packet from the capture file,
rather than leaving them as null (which will cause a crash).

svn path=/trunk/; revision=36527

13 years agoFix Coverity CID 557.
Gerald Combs [Fri, 8 Apr 2011 21:21:32 +0000 (21:21 -0000)]
Fix Coverity CID 557.

svn path=/trunk/; revision=36526

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 990;
Bill Meier [Fri, 8 Apr 2011 20:06:56 +0000 (20:06 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 990;
Add some missing code: improves display of "main_opcode" field: Coverity 991, 993 & 994;
Fix bug introduced a while back: "changeinfo4" field details aren't displayed: Coverity 992;
Add missing code so READDIR (V4) details  are shown in a subtree (as presumably was originally intended);
Fix some indentation.

svn path=/trunk/; revision=36525

13 years agoFrom Pascal Quantin:
Anders Broman [Fri, 8 Apr 2011 19:54:07 +0000 (19:54 -0000)]
From Pascal Quantin:
A patch adding the missing hunks (it looks like extract_asn1_from_spec.pl script is mixing Windows and Linux line endings).

svn path=/trunk/; revision=36524

13 years agoEnhance Vendor Specific Atheros IE
Alexis La Goutte [Fri, 8 Apr 2011 19:52:04 +0000 (19:52 -0000)]
Enhance Vendor Specific Atheros IE

* Replace proto_tree_add_ether/boolean by proto_tree_add_item
* use BASE_CUSTOM for XR beacon interval
* use ENC_* macro for encoding
* replace if(...) by switch(...) for type and subtype (more extensible if new (sub)type)
* add expert info when tag_len is incorrect

Fix also a minor issue with tag_end...

svn path=/trunk/; revision=36523

13 years agoAdd a relative path to the "#line" directives we produce. Regenerate the
Gerald Combs [Fri, 8 Apr 2011 19:51:39 +0000 (19:51 -0000)]
Add a relative path to the "#line" directives we produce. Regenerate the
SNMP and SPNEGO dissectors to see if it helps Coverity locate the
original source files.

svn path=/trunk/; revision=36522

13 years agoJust make the fh member of a wtap_dumper_t a void * for now, and, in all
Guy Harris [Fri, 8 Apr 2011 17:42:20 +0000 (17:42 -0000)]
Just make the fh member of a wtap_dumper_t a void * for now, and, in all
calls that use it, cast it to whatever it's supposed to be.  Making it a
gzFile means you can't use any stdio macros that reach inside the
structure; making it a FILE *, as it used to be, amounts to trying to
use a FILE * as a void * if we're writing a compressed file out.

svn path=/trunk/; revision=36521

13 years agoFrom Pascal Quantin:
Anders Broman [Fri, 8 Apr 2011 17:36:53 +0000 (17:36 -0000)]
From Pascal Quantin:
Upgrade LTE RRC ASN.1 description to V9.6.0

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5815

svn path=/trunk/; revision=36520

13 years agoAdd Babel.
Gerald Combs [Fri, 8 Apr 2011 17:05:05 +0000 (17:05 -0000)]
Add Babel.

svn path=/trunk/; revision=36519

13 years agoFrom Juliusz Chroboczek via bug #5812: Dissector for the Babel Routing
Stephen Fisher [Fri, 8 Apr 2011 16:53:02 +0000 (16:53 -0000)]
From Juliusz Chroboczek via bug #5812: Dissector for the Babel Routing
Protocol (RFC 6126)

svn path=/trunk/; revision=36518

13 years agoMake wtap plugins build on windows again.
Anders Broman [Fri, 8 Apr 2011 15:57:44 +0000 (15:57 -0000)]
Make wtap plugins build on windows again.

svn path=/trunk/; revision=36517

13 years agoUse tvb_get_ephemeral_string()
Anders Broman [Fri, 8 Apr 2011 11:58:33 +0000 (11:58 -0000)]
Use tvb_get_ephemeral_string()
prefix hf vars with hf_sip

svn path=/trunk/; revision=36516

13 years agoChange ng_file_read() to take only one size argument - and make it an
Guy Harris [Fri, 8 Apr 2011 01:57:02 +0000 (01:57 -0000)]
Change ng_file_read() to take only one size argument - and make it an
unsigned int - to match file_read().  Shrink some arguments, variables,
and structure members appropriately.

Fix an incorrect sizeof - sizeof a pointer is the size of the pointer,
not the size of what it points to.

svn path=/trunk/; revision=36515

13 years agoTo squelch some compiler warnings, temporarily cast the argument to
Guy Harris [Fri, 8 Apr 2011 01:55:25 +0000 (01:55 -0000)]
To squelch some compiler warnings, temporarily cast the argument to
ws_lseek() to the appropriate type for the second argument to _lseek()
for Windows or lseek() for UN*X; ultimately, we want to call the
appropriate 64-bit-offset seek routine if available, otherwise cast the
value down and hand it to the 32-bit-offset seek routine.

svn path=/trunk/; revision=36514

13 years agoFrom Jakub Zawadzki:
Guy Harris [Fri, 8 Apr 2011 00:28:37 +0000 (00:28 -0000)]
From Jakub Zawadzki:

Steal file_wrappers functions from zlib v2.

svn path=/trunk/; revision=36513

13 years agoUse a unique variable name. Fixes Coverity CID 593.
Gerald Combs [Thu, 7 Apr 2011 23:52:37 +0000 (23:52 -0000)]
Use a unique variable name. Fixes Coverity CID 593.

svn path=/trunk/; revision=36512

13 years agoBe more picky about our sscanf integer field widths. Hopefully this will
Gerald Combs [Thu, 7 Apr 2011 23:16:05 +0000 (23:16 -0000)]
Be more picky about our sscanf integer field widths. Hopefully this will
help squelch Coverity CIDs 701-709.

svn path=/trunk/; revision=36511

13 years agoFrom Jakub Zawadzki:
Guy Harris [Thu, 7 Apr 2011 21:53:31 +0000 (21:53 -0000)]
From Jakub Zawadzki:

Introduce file_clearerr

I'm unsure of this patch,

gzclearerr() is used to clear the end-of-file mark, but for FILE
there's function which do the same (clearerr).

I created test program if clearerr() is needed for tailing file.
and it seems to work without it (at least on Linux, so for
!HAVE_LIBZ I commented it out).

For now this patch introduce file_clearerr macro, and define it
only when EOF marking must be cleared (i.e.  when HAVE_LIBZ and
HAVE_GZCLEARERR are defined).

So everything works like before, patch just to keep same prefix
for file interface :)

svn path=/trunk/; revision=36510

13 years agoMake it possible to have a sub dissector dissect the status line diagnostic string...
Anders Broman [Thu, 7 Apr 2011 21:39:49 +0000 (21:39 -0000)]
Make it possible to have a sub dissector dissect the status line diagnostic string should it contain more than a string.

svn path=/trunk/; revision=36509

13 years agoDisplay frame numbers containing min & max SRT's. Other misc. display tweaks.
Chris Maynard [Thu, 7 Apr 2011 20:41:11 +0000 (20:41 -0000)]
Display frame numbers containing min & max SRT's.  Other misc. display tweaks.

svn path=/trunk/; revision=36508

13 years agoFrom Gisle Vanem: text_import_scanner_lex.h is no longer used.
Jeff Morriss [Thu, 7 Apr 2011 20:04:01 +0000 (20:04 -0000)]
From Gisle Vanem: text_import_scanner_lex.h is no longer used.

svn path=/trunk/; revision=36507

13 years agoEnhance Tag Measurement Request & Report
Alexis La Goutte [Thu, 7 Apr 2011 16:16:47 +0000 (16:16 -0000)]
Enhance Tag Measurement Request & Report

* Replace proto_tree_add_uint*/boolean/text by proto_tree_add_item
* use ENC_* macro for encoding
* ...

My first commit !

svn path=/trunk/; revision=36506

13 years ago(Trivial) Fix a typo & some indentation.
Bill Meier [Thu, 7 Apr 2011 14:07:54 +0000 (14:07 -0000)]
(Trivial) Fix a typo & some indentation.

svn path=/trunk/; revision=36505

13 years agoUntil the minimum glib version requirement is changed from 2.4 to at least 2.8,
Chris Maynard [Thu, 7 Apr 2011 13:41:25 +0000 (13:41 -0000)]
Until the minimum glib version requirement is changed from 2.4 to at least 2.8,
use g_try_malloc() instead of g_try_malloc0().  This should make the Solaris
buildbot happy again.

svn path=/trunk/; revision=36504

13 years agoFix Coverity 1181: REVERSE_INULL & improve code:
Stephen Fisher [Wed, 6 Apr 2011 22:51:25 +0000 (22:51 -0000)]
Fix Coverity 1181: REVERSE_INULL & improve code:

 - Use g_try_malloc0() instead of g_malloc0() since the latter will
   fail and abort the program.  Leave the NULL return check.
 - Don't dereference pointer before checking that it's valid.

svn path=/trunk/; revision=36503

13 years agoEnhancement bug #5796: Add Atheros vendor specific 802.11 IE parsing
Stephen Fisher [Wed, 6 Apr 2011 19:57:39 +0000 (19:57 -0000)]
Enhancement bug #5796: Add Atheros vendor specific 802.11 IE parsing

svn path=/trunk/; revision=36502

13 years agoAdd computation of median and change standard deviation calculation to "sample"
Chris Maynard [Wed, 6 Apr 2011 19:48:11 +0000 (19:48 -0000)]
Add computation of median and change standard deviation calculation to "sample"
standard deviation.  Split statistics output onto 2 lines.

svn path=/trunk/; revision=36501

13 years agoEither remove or use unused values found by Coverity. Fixes CIDs
Gerald Combs [Wed, 6 Apr 2011 18:59:36 +0000 (18:59 -0000)]
Either remove or use unused values found by Coverity. Fixes CIDs
1169-1172.

svn path=/trunk/; revision=36500

13 years agoAdd RoHC to the ethertypes.
Anders Broman [Wed, 6 Apr 2011 18:48:07 +0000 (18:48 -0000)]
Add RoHC to the ethertypes.

svn path=/trunk/; revision=36499

13 years agoFrom Peter via bug #5798: Don't try to run svnversion if it isn't
Stephen Fisher [Wed, 6 Apr 2011 16:34:45 +0000 (16:34 -0000)]
From Peter via bug #5798: Don't try to run svnversion if it isn't
executable.

svn path=/trunk/; revision=36498

13 years agoFrom Johan Wåhl:
Anders Broman [Wed, 6 Apr 2011 15:01:42 +0000 (15:01 -0000)]
From Johan Wåhl:
Add dissection of feature list flags.

svn path=/trunk/; revision=36497

13 years agoUse the correct handle when registering "media_type" "application/vnd.3gpp2.sms"...
Bill Meier [Wed, 6 Apr 2011 12:19:38 +0000 (12:19 -0000)]
Use the correct handle when registering "media_type" "application/vnd.3gpp2.sms": Coverity 835.

svn path=/trunk/; revision=36496

13 years agoFixed blurb for BER Error.
Stig Bjørlykke [Wed, 6 Apr 2011 09:59:21 +0000 (09:59 -0000)]
Fixed blurb for BER Error.

svn path=/trunk/; revision=36495

13 years agoMade "BER Error" filterable.
Stig Bjørlykke [Wed, 6 Apr 2011 08:52:42 +0000 (08:52 -0000)]
Made "BER Error" filterable.

svn path=/trunk/; revision=36494

13 years agoFrom Jakub Zawadzki:
Guy Harris [Wed, 6 Apr 2011 07:09:56 +0000 (07:09 -0000)]
From Jakub Zawadzki:

file-wrappers.[ch] is used only for reading files, and mode is always
"rb".

Attached patch removes 'mode' argument from file_open() & filed_open().

svn path=/trunk/; revision=36493

13 years agoFrom Jakub Zawadzki: fix the type of an argument.
Guy Harris [Wed, 6 Apr 2011 06:59:19 +0000 (06:59 -0000)]
From Jakub Zawadzki: fix the type of an argument.

svn path=/trunk/; revision=36492

13 years agoFrom Jakub Zawadzki:
Guy Harris [Wed, 6 Apr 2011 06:51:19 +0000 (06:51 -0000)]
From Jakub Zawadzki:

file_read(buf, bsize, count, file) macro is compilant with fread
function and takes elements count+ size of each element, however to make
it compilant with gzread() it always returns number of bytes.

In wiretap file_read() this is not really used, file_read is called
either with bsize set to 1 or count to 1.

Attached patch remove bsize argument from macro.

svn path=/trunk/; revision=36491

13 years agoAdd a comment
Anders Broman [Wed, 6 Apr 2011 06:24:19 +0000 (06:24 -0000)]
Add a comment

svn path=/trunk/; revision=36490

13 years agoRFC5806 Diversion header
Tomas Kukosa [Wed, 6 Apr 2011 06:20:50 +0000 (06:20 -0000)]
RFC5806 Diversion header

svn path=/trunk/; revision=36489

13 years agoMissing decoding for CalledPartyBCD number in CAMEL
Anders Broman [Wed, 6 Apr 2011 06:20:32 +0000 (06:20 -0000)]
Missing decoding for CalledPartyBCD number in CAMEL
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5788

svn path=/trunk/; revision=36488

13 years agoIMHO capinfos, when finished processing, should exit with an error status
Bill Meier [Wed, 6 Apr 2011 01:41:03 +0000 (01:41 -0000)]
IMHO capinfos, when finished processing, should exit with an error status
 if an error occurred while processing.
E.G.,: For the default (no -C option):
  'capinfos invalid.xxx' or 'capinfos a.pcap invalid.xxx c.pcap'
 should exit with an error status
  (after processing all the input args) if there is an error for invalid.xxx.

With this fix, I expect fuzz-test.sh (and list_protos_in_cap.sh
and presumably other scripts) will work a bit more as as expected.

svn path=/trunk/; revision=36487

13 years agoFix Coverity 1062: UNUSED_VALUE
Stephen Fisher [Wed, 6 Apr 2011 00:07:52 +0000 (00:07 -0000)]
Fix Coverity 1062: UNUSED_VALUE

svn path=/trunk/; revision=36486

13 years agoSet the correct properties ....
Bill Meier [Tue, 5 Apr 2011 23:26:56 +0000 (23:26 -0000)]
Set the correct properties ....

svn path=/trunk/; revision=36485

13 years agoSet the correct properties ...
Bill Meier [Tue, 5 Apr 2011 23:03:21 +0000 (23:03 -0000)]
Set the correct properties ...

svn path=/trunk/; revision=36484

13 years agoUse the latest library tag, which updates GNUTLS. Add code to check for
Gerald Combs [Tue, 5 Apr 2011 22:38:12 +0000 (22:38 -0000)]
Use the latest library tag, which updates GNUTLS. Add code to check for
libintl-8.dll and add the GNUTLS version if needed.

svn path=/trunk/; revision=36483

13 years agoMore manifest fixes.
Gerald Combs [Tue, 5 Apr 2011 22:33:37 +0000 (22:33 -0000)]
More manifest fixes.

svn path=/trunk/; revision=36482

13 years agoMark pinfo as unused with _U_ to avoid compiler warning.
Chris Maynard [Tue, 5 Apr 2011 20:50:49 +0000 (20:50 -0000)]
Mark pinfo as unused with _U_ to avoid compiler warning.

svn path=/trunk/; revision=36481

13 years agoAdd ICMP tap support, and add a tshark tap to measure such things as:
Chris Maynard [Tue, 5 Apr 2011 20:21:59 +0000 (20:21 -0000)]
Add ICMP tap support, and add a tshark tap to measure such things as:
  * Number of ICMP echo requests, replies, lost replies and percent loss.
  * Min, Max, Average SRT (Service Response Time), and standard deviation.
(This is my first tap, so hopefully I didn't miss something, but we'll see ...)
TODO: Add a Wireshark tap.

svn path=/trunk/; revision=36480

13 years agofoo="\windows\style\pathname"; printf "$foo" isn't going to work too well in the...
Bill Meier [Tue, 5 Apr 2011 19:21:16 +0000 (19:21 -0000)]
foo="\windows\style\pathname"; printf "$foo"  isn't going to work too well in the general case ...

svn path=/trunk/; revision=36479

13 years ago1. Remove \r from tshark output so output OK on Windows cygwin bash.
Bill Meier [Tue, 5 Apr 2011 18:01:33 +0000 (18:01 -0000)]
1. Remove \r from tshark output so output OK on Windows cygwin bash.
2. Error messsages to stderr.
3. Check capinfos return value to verify that file is a valid capture file.

svn path=/trunk/; revision=36478

13 years agoFix a few more typos and reformat some of the comments.
Chris Maynard [Tue, 5 Apr 2011 17:27:30 +0000 (17:27 -0000)]
Fix a few more typos and reformat some of the comments.

svn path=/trunk/; revision=36477

13 years agoRemove the manifest as a prerequisite for packaging.
Gerald Combs [Tue, 5 Apr 2011 16:14:19 +0000 (16:14 -0000)]
Remove the manifest as a prerequisite for packaging.

svn path=/trunk/; revision=36476

13 years agoCompile fix: camel_obj_id -> obj_id.
Stig Bjørlykke [Tue, 5 Apr 2011 15:49:56 +0000 (15:49 -0000)]
Compile fix: camel_obj_id -> obj_id.

svn path=/trunk/; revision=36475

13 years agoActually get the oid string ...
Anders Broman [Tue, 5 Apr 2011 15:43:15 +0000 (15:43 -0000)]
Actually get the oid string ...

svn path=/trunk/; revision=36474

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 858;
Bill Meier [Tue, 5 Apr 2011 15:33:56 +0000 (15:33 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 858;
Fix two cases where items appear to be added to the wrong tree: Coverioty 856 & 857.
Also: remove some unneeded #includes& do some whitespace cleanup.

svn path=/trunk/; revision=36473

13 years agoDon't assign to a proto_item * if the value won't be used: Coverity 882;
Bill Meier [Tue, 5 Apr 2011 15:09:32 +0000 (15:09 -0000)]
Don't assign to a proto_item * if the value won't be used: Coverity 882;
Also: #include <string.h> not req'd

svn path=/trunk/; revision=36472

13 years agoFix a typo in the help message.
Michael Tüxen [Tue, 5 Apr 2011 14:28:33 +0000 (14:28 -0000)]
Fix a typo in the help message.
Reported by Matthias Wellmeyer.

svn path=/trunk/; revision=36471

13 years agoFrom Jose Pedro Oliveira:
Anders Broman [Tue, 5 Apr 2011 05:50:45 +0000 (05:50 -0000)]
From Jose Pedro Oliveira:
#ifdef HAVE_LIBGCRYPT block includes a line too many.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5803

svn path=/trunk/; revision=36470

13 years agoRemove some unused hf_ variables.
Jeff Morriss [Tue, 5 Apr 2011 02:35:32 +0000 (02:35 -0000)]
Remove some unused hf_ variables.

svn path=/trunk/; revision=36469

13 years agoFrom Felix Kraemer: fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5694 :
Jeff Morriss [Tue, 5 Apr 2011 02:18:28 +0000 (02:18 -0000)]
From Felix Kraemer: fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5694 :

This patch adds the capability to create BACnet statistics trees.
Find the respective menu items under 'Statistics->BACnet'.
Packets can be sorted by different criteria:
- Src/Dst IP adresses
- Instance ID
- Object Type
- Service

From me:
- Don't use C++/C99-style comments.
- Name variables for tick_stat_node() don't need to be static.
- Change updateBacnetInfoValue() to require 'data' to be ep_ allocated.  Change
  the couple of calls that did not send in ep_ allocated data to do so.
- Change one or two functions to be static.
- Do not use (memory-unsafe) g_sprintf().
- Use ep_strconcat() instead of leaking memory with g_strconcat().
- Put back one if(tree) that doesn't appear to do any harm.
- Remove variable declarations and #includes from the header file.

svn path=/trunk/; revision=36468

13 years agoSet BIN_DIR to . by default. Use tr to replace colons with newlines.
Jeff Morriss [Tue, 5 Apr 2011 01:21:19 +0000 (01:21 -0000)]
Set BIN_DIR to . by default. Use tr to replace colons with newlines.

svn path=/trunk/; revision=36467

13 years ago Don't assign to a proto_item * if the value won't be used: Coverity 850;
Bill Meier [Mon, 4 Apr 2011 20:03:27 +0000 (20:03 -0000)]
 Don't assign to a proto_item * if the value won't be used: Coverity 850;
  Also: remove some unneeded #includes.

svn path=/trunk/; revision=36466

13 years agoFix "MISSING_BREAK"; Coverity 436.
Bill Meier [Mon, 4 Apr 2011 19:41:51 +0000 (19:41 -0000)]
Fix "MISSING_BREAK"; Coverity 436.

svn path=/trunk/; revision=36465

13 years ago Don't assign to a proto_item * if the value won't be used: Coverity 846 & 848;
Bill Meier [Mon, 4 Apr 2011 19:23:39 +0000 (19:23 -0000)]
 Don't assign to a proto_item * if the value won't be used: Coverity 846 & 848;
 Also: remove some unneeded #includes

svn path=/trunk/; revision=36464

13 years agoMore console tweaks. But how to prevent prompt from being displayed before
Chris Maynard [Mon, 4 Apr 2011 19:15:31 +0000 (19:15 -0000)]
More console tweaks.  But how to prevent prompt from being displayed before
command finishes without requiring, "start /wait <command>"?

svn path=/trunk/; revision=36463