metze/wireshark/wip.git
6 years agoAdd app_mem_usage.h.
Guy Harris [Tue, 30 Jul 2013 18:59:19 +0000 (18:59 -0000)]
Add app_mem_usage.h.

Sort the headers while we're at it.

svn path=/trunk/; revision=51034

6 years agoAdd a newline to the end of the file.
Guy Harris [Tue, 30 Jul 2013 18:57:32 +0000 (18:57 -0000)]
Add a newline to the end of the file.

svn path=/trunk/; revision=51033

6 years agoHave docbook/Makefile.nmake use index.html similar to r51021. Make some
Gerald Combs [Tue, 30 Jul 2013 17:57:20 +0000 (17:57 -0000)]
Have docbook/Makefile.nmake use index.html similar to r51021. Make some
target names less confusing.

svn path=/trunk/; revision=51032

6 years agoRemove useless include
Pascal Quantin [Tue, 30 Jul 2013 17:50:05 +0000 (17:50 -0000)]
Remove useless include

svn path=/trunk/; revision=51031

6 years agoDissect more of the Kafka protocol.
Evan Huus [Tue, 30 Jul 2013 17:13:57 +0000 (17:13 -0000)]
Dissect more of the Kafka protocol.

svn path=/trunk/; revision=51030

6 years agoMove a few variables inside the appropriate ifdefs.
Evan Huus [Tue, 30 Jul 2013 16:50:31 +0000 (16:50 -0000)]
Move a few variables inside the appropriate ifdefs.

svn path=/trunk/; revision=51029

6 years agoAdd missing includes.
Anders Broman [Tue, 30 Jul 2013 16:21:15 +0000 (16:21 -0000)]
Add missing includes.

svn path=/trunk/; revision=51028

6 years agoMimic commit http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51021
Jörg Mayer [Tue, 30 Jul 2013 14:37:43 +0000 (14:37 -0000)]
Mimic commit anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51021

svn path=/trunk/; revision=51027

6 years agoAdd request/response tracking to COPS dissector. Bug 8947 (https://bugs.wireshark...
Michael Mann [Tue, 30 Jul 2013 13:15:25 +0000 (13:15 -0000)]
Add request/response tracking to COPS dissector.  Bug 8947 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8947).

From Simon Zhong

svn path=/trunk/; revision=51026

6 years agoFrom Marko Hrastovec via
Stig Bjørlykke [Tue, 30 Jul 2013 08:49:32 +0000 (08:49 -0000)]
From Marko Hrastovec via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8994

Adjusts field lengths to display values properly.

svn path=/trunk/; revision=51025

6 years agoBuilding app_mem_usage fails on *nix, missing include(s)?
Anders Broman [Tue, 30 Jul 2013 06:10:35 +0000 (06:10 -0000)]
Building app_mem_usage fails on *nix, missing include(s)?
Don't have the time to fix it at the moment.

svn path=/trunk/; revision=51024

6 years agoAdd a routine to get application memory usage to epan.
Anders Broman [Tue, 30 Jul 2013 05:49:58 +0000 (05:49 -0000)]
Add a routine to get application memory usage to epan.

svn path=/trunk/; revision=51023

6 years agoasciidoc.conf: Have sort-and-group remove commas.
Gerald Combs [Mon, 29 Jul 2013 21:14:13 +0000 (21:14 -0000)]
asciidoc.conf: Have sort-and-group remove commas.
gen-bugnote: Create proper bug links.

svn path=/trunk/; revision=51022

6 years agoName our index pages "index.html". This is follows a well-established
Gerald Combs [Mon, 29 Jul 2013 21:12:05 +0000 (21:12 -0000)]
Name our index pages "index.html". This is follows a well-established
convention and lets us avoid a bit of juggling on the server side.

svn path=/trunk/; revision=51021

6 years agoadd a NULL check to report_type_length_mismatch()
Martin Kaiser [Mon, 29 Jul 2013 21:10:13 +0000 (21:10 -0000)]
add a NULL check to report_type_length_mismatch()

this might be called via proto_tree_add_item() with tree==NULL
which results in a crash

svn path=/trunk/; revision=51020

6 years agosupport exporting decrypted DVB-CI/CI+ SAC messages
Martin Kaiser [Mon, 29 Jul 2013 20:38:20 +0000 (20:38 -0000)]
support exporting decrypted DVB-CI/CI+ SAC messages
using the new export PDU mechanism

svn path=/trunk/; revision=51019

6 years agoAdd license header to script after emailing author to verify that GPL 2+ was the
Evan Huus [Mon, 29 Jul 2013 20:24:02 +0000 (20:24 -0000)]
Add license header to script after emailing author to verify that GPL 2+ was the
intended license.

svn path=/trunk/; revision=51018

6 years agoAdd the forgotten makefile updates.
Anders Broman [Mon, 29 Jul 2013 18:19:59 +0000 (18:19 -0000)]
Add the forgotten makefile updates.

svn path=/trunk/; revision=51017

6 years agoUse wildcards for referring to library files in debian/wireshark-common.files
Balint Reczey [Mon, 29 Jul 2013 17:27:16 +0000 (17:27 -0000)]
Use wildcards for referring to library files in debian/wireshark-common.files

This makes updating debian/wireshark-common.files obsolete when bumping
library versions.

svn path=/trunk/; revision=51016

6 years agoMore little optimizations.
Evan Huus [Mon, 29 Jul 2013 16:55:02 +0000 (16:55 -0000)]
More little optimizations.

svn path=/trunk/; revision=51014

6 years agoAnother little optimization.
Evan Huus [Mon, 29 Jul 2013 16:47:30 +0000 (16:47 -0000)]
Another little optimization.

Removes one branch from the hot path, deduplicates one function call in the cold
path by effectively falling through, and makes it more obvious what the code is
actually trying to do.

svn path=/trunk/; revision=51013

6 years agoTrivial: Wrap text at column 80.
Chris Maynard [Mon, 29 Jul 2013 15:45:36 +0000 (15:45 -0000)]
Trivial: Wrap text at column 80.

svn path=/trunk/; revision=51012

6 years agoTrivial: Fix typo.
Chris Maynard [Mon, 29 Jul 2013 15:43:37 +0000 (15:43 -0000)]
Trivial: Fix typo.

svn path=/trunk/; revision=51011

6 years agoIn the comments for pcap_link_type, point to
Guy Harris [Mon, 29 Jul 2013 08:37:18 +0000 (08:37 -0000)]
In the comments for pcap_link_type, point to
http://www.tcpdump.org/linktypes.html for the details, rather than to
some particular OS's net/bpf.h (assuming it even has one), and speak of
it as a LINKTYPE_ value rather than a DLT_ value (in those cases where
the LINKTYPE_ value for a given link-layer header type is different from
the DLT_ value, it's the LINKTYPE_ value that should be passed to
text2pcap, as it's what gets written to the file, and those should be
the always-platform-independent LINKTYPE_ values rather than the
possibly-platform-dependent DLT_ values).

svn path=/trunk/; revision=51008

6 years agoThe argument to the -l flag to text2pcap is a LINKTYPE_ value, not a
Guy Harris [Mon, 29 Jul 2013 08:30:42 +0000 (08:30 -0000)]
The argument to the -l flag to text2pcap is a LINKTYPE_ value, not a
DLT_ value, which is good because it's a numerical value and the
numerical values for some link-layer header types are OS-dependent, but
the numerical values for all LINKTYPE_ values are OS-independent.  Use
LINKTYPE_RAW, not the value for the DLT_RAW on some but not all OSes,
for raw IP.

Also, 7 is LINKTYPE_ARCNET_BSD, emphasis on the "_BSD"; there's also a
Linux encapsulation for ARCNet that is different.  Note that it's the
BSD flavor.

svn path=/trunk/; revision=51005

6 years agoTry to fix error: uninitialized const 'zeroes' is invalid in C++ [-Werror=c++-compat]
Pascal Quantin [Mon, 29 Jul 2013 07:54:24 +0000 (07:54 -0000)]
Try to fix error: uninitialized const 'zeroes' is invalid in C++ [-Werror=c++-compat]

svn path=/trunk/; revision=51004

6 years agoMake a never-changed pile-o-zeroes const.
Guy Harris [Mon, 29 Jul 2013 07:34:07 +0000 (07:34 -0000)]
Make a never-changed pile-o-zeroes const.

svn path=/trunk/; revision=51003

6 years agoMake a never-changed table const.
Guy Harris [Mon, 29 Jul 2013 07:30:34 +0000 (07:30 -0000)]
Make a never-changed table const.

svn path=/trunk/; revision=51002

6 years agoMake non-static a variable that doesn't need to be static.
Guy Harris [Mon, 29 Jul 2013 07:28:28 +0000 (07:28 -0000)]
Make non-static a variable that doesn't need to be static.

svn path=/trunk/; revision=51001

6 years agoThe base_secs value should be a time_t, as it's calculated using
Guy Harris [Mon, 29 Jul 2013 00:54:33 +0000 (00:54 -0000)]
The base_secs value should be a time_t, as it's calculated using
mktime().  That eliminates the need for casts.

It should *also* be part of a per-wtap-structure private data structure,
not a global variable; make it so.

svn path=/trunk/; revision=51000

6 years agoAdd a URL for a STANAG 4607 spec.
Guy Harris [Mon, 29 Jul 2013 00:34:23 +0000 (00:34 -0000)]
Add a URL for a STANAG 4607 spec.

Fix some typoes in comments.

svn path=/trunk/; revision=50999

6 years agoClean up white space a bit, make the description of the capture column
Guy Harris [Mon, 29 Jul 2013 00:27:20 +0000 (00:27 -0000)]
Clean up white space a bit, make the description of the capture column
type depend on what values are supported, add some comments.

Regularize the curly bracket style a bit.

svn path=/trunk/; revision=50998

6 years agoUse the portable g_ntohl, also add some casts.
Evan Huus [Sun, 28 Jul 2013 23:58:30 +0000 (23:58 -0000)]
Use the portable g_ntohl, also add some casts.

svn path=/trunk/; revision=50997

6 years agoFrom Linas Vepstas via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8962
Evan Huus [Sun, 28 Jul 2013 23:41:18 +0000 (23:41 -0000)]
From Linas Vepstas via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8962

Enhancement: Add STANAG 4607 file format

svn path=/trunk/; revision=50996

6 years agoClose a memory leak.
Guy Harris [Sun, 28 Jul 2013 22:37:45 +0000 (22:37 -0000)]
Close a memory leak.

svn path=/trunk/; revision=50993

6 years agoRemove unused variable caught by GCC 4.8.
Evan Huus [Sun, 28 Jul 2013 22:02:00 +0000 (22:02 -0000)]
Remove unused variable caught by GCC 4.8.

svn path=/trunk/; revision=50992

6 years agoIf a core Wireshark developer repeatedly can't remember that the
Guy Harris [Sun, 28 Jul 2013 21:12:07 +0000 (21:12 -0000)]
If a core Wireshark developer repeatedly can't remember that the
argument to the -F flag for pcap format is "libpcap", not "pcap", we
have a problem.  Make it "pcap", and add a backwards-compatibility hack
to support using "libpcap" as well.

Update the man pages to refer to it as pcap as well, and fix the
capitalization of "WinPcap" (see http://www.winpcap.org) while we're at
it.

Also, refer to http://www.tcpdump.org/linktypes.html for the list of
link-layer header types for pcap and pcap-ng.

svn path=/trunk/; revision=50989

6 years agoAdd support for 64 bit value string in Lua.
Stig Bjørlykke [Sun, 28 Jul 2013 20:59:59 +0000 (20:59 -0000)]
Add support for 64 bit value string in Lua.

Lua cannot store a 64 bit integer with full precision, which is used
for keys in tables, so this is not a 100% solution.  But it will probably
be good enough for value strings, and it is better to have some support
than no support.

svn path=/trunk/; revision=50988

6 years agoExplain what the big loop in update_properties_all() is doing, and
Guy Harris [Sun, 28 Jul 2013 20:34:52 +0000 (20:34 -0000)]
Explain what the big loop in update_properties_all() is doing, and
what's done after that.

If we want to set the all-interfaces capture filter string, just set it,
don't add anything to the drop-down list for it.

If, after we've succeeded starting a capture, all active interfaces have
the same capture filter, *do* add that filter to the all-interfaces
recent capture filters list.

Also, free g_strduped capture filter strings when we're done with them.

svn path=/trunk/; revision=50986

6 years agoAdd a comment.
Guy Harris [Sun, 28 Jul 2013 20:24:27 +0000 (20:24 -0000)]
Add a comment.

In recent_add_cfilter(), the list we're working on is cfilter_list;
properly remove an item from it - don't assign the result to
recent_cfilter_list, assign it to cfilter_list.  This may fix some
crashes and Valgrind errors.

svn path=/trunk/; revision=50984

6 years agoMuch simpler (and possibly faster) fix for the 64-bit value string label issue.
Evan Huus [Sun, 28 Jul 2013 20:05:04 +0000 (20:05 -0000)]
Much simpler (and possibly faster) fix for the 64-bit value string label issue.

svn path=/trunk/; revision=50983

6 years agoAs caught by Stig: 64-bit value strings could print the field name twice.
Evan Huus [Sun, 28 Jul 2013 19:56:23 +0000 (19:56 -0000)]
As caught by Stig: 64-bit value strings could print the field name twice.

Don't do that.

svn path=/trunk/; revision=50982

6 years agoUpdate to handle version 9.
Anders Broman [Sun, 28 Jul 2013 19:25:14 +0000 (19:25 -0000)]
Update to handle version 9.

svn path=/trunk/; revision=50981

6 years agoFrom David Richards via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8870 :
Pascal Quantin [Sun, 28 Jul 2013 16:26:29 +0000 (16:26 -0000)]
From David Richards via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8870 :
Add Windows specific items to .gitignore

svn path=/trunk/; revision=50979

6 years agoLooks like cfilter_combo_utils.c got removed.
Jörg Mayer [Sun, 28 Jul 2013 15:48:34 +0000 (15:48 -0000)]
Looks like cfilter_combo_utils.c got removed.

svn path=/trunk/; revision=50978

6 years agoAdded more build artefacts to the clean target
Graham Bloice [Sun, 28 Jul 2013 14:40:56 +0000 (14:40 -0000)]
Added more build artefacts to the clean target

svn path=/trunk/; revision=50977

6 years agoAlign info column for UM MCCH/MTCH PDUs
Pascal Quantin [Sun, 28 Jul 2013 14:35:42 +0000 (14:35 -0000)]
Align info column for UM MCCH/MTCH PDUs

svn path=/trunk/; revision=50976

6 years ago[Automatic manuf, services and enterprise-numbers update for 2013-07-28]
Gerald Combs [Sun, 28 Jul 2013 14:03:35 +0000 (14:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2013-07-28]

svn path=/trunk/; revision=50973

6 years agoclean target misses some build artefacts; capinfos.lib and editcap.lib
Graham Bloice [Sun, 28 Jul 2013 13:57:12 +0000 (13:57 -0000)]
clean target misses some build artefacts; capinfos.lib and editcap.lib

svn path=/trunk/; revision=50972

6 years agoDon't force the allocator choice in the data-structure tests, we want to be able
Evan Huus [Sun, 28 Jul 2013 12:55:37 +0000 (12:55 -0000)]
Don't force the allocator choice in the data-structure tests, we want to be able
to override that to simple for valgrinding (we still force the allocator in the
allocator and timing tests, of course).

svn path=/trunk/; revision=50971

6 years agoFix a bug in the gc routine discovered while formally working out parts of the
Evan Huus [Sun, 28 Jul 2013 12:46:44 +0000 (12:46 -0000)]
Fix a bug in the gc routine discovered while formally working out parts of the
algorithm.

Also add a test case to excercise it for future.

svn path=/trunk/; revision=50970

6 years agoFix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8841 :
Pascal Quantin [Sun, 28 Jul 2013 12:36:48 +0000 (12:36 -0000)]
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8841 :
Fix PER normally small non-negative whole number dissection when it is greater than or equal to 64

svn path=/trunk/; revision=50969

6 years agoFrom Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8948 :
Pascal Quantin [Sun, 28 Jul 2013 11:32:06 +0000 (11:32 -0000)]
From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8948 :
Bluetooth: add missing PSM strings

svn path=/trunk/; revision=50968

6 years agoStore protocol fields in single linked list, saves about 1 MB of memory.
Jakub Zawadzki [Sun, 28 Jul 2013 10:47:31 +0000 (10:47 -0000)]
Store protocol fields in single linked list, saves about 1 MB of memory.

svn path=/trunk/; revision=50967

6 years agoImproved info column with multiple pdu's in a frame
Graham Bloice [Sun, 28 Jul 2013 09:57:52 +0000 (09:57 -0000)]
Improved info column with multiple pdu's in a frame

svn path=/trunk/; revision=50966

6 years agoGet rid of some unused variables.
Guy Harris [Sun, 28 Jul 2013 09:36:31 +0000 (09:36 -0000)]
Get rid of some unused variables.

Register those hf[] arrays that weren't getting registered.

Reformat all hf[] array initializations.

svn path=/trunk/; revision=50965

6 years agodfilter: move convertion to byte to seperate function
Jakub Zawadzki [Sun, 28 Jul 2013 08:41:26 +0000 (08:41 -0000)]
dfilter: move convertion to byte to seperate function

svn path=/trunk/; revision=50964

6 years agoFix compile error that resulted from whitespace cleanup.
Michael Mann [Sun, 28 Jul 2013 00:11:30 +0000 (00:11 -0000)]
Fix compile error that resulted from whitespace cleanup.

svn path=/trunk/; revision=50963

6 years agoMake many items filterable for Vines dissectors.
Michael Mann [Sun, 28 Jul 2013 00:07:49 +0000 (00:07 -0000)]
Make many items filterable for Vines dissectors.
Add support for FT_VINES type.

svn path=/trunk/; revision=50962

6 years agoLittle optimizations.
Evan Huus [Sun, 28 Jul 2013 00:00:37 +0000 (00:00 -0000)]
Little optimizations.

Move a few assignments around to avoid one extra subtraction. I suspect having
the two if statements next to each other is friendly to the compiler's optimizer
as well.

Shaves ~1.3% off my timing tests, bringing the new design *very* close to the
old one in raw allocation speed.

svn path=/trunk/; revision=50961

6 years agoLittle things make big differences: somehow while I was experimenting this
Evan Huus [Sat, 27 Jul 2013 23:35:59 +0000 (23:35 -0000)]
Little things make big differences: somehow while I was experimenting this
unobtrusive if statement got dropped. Without it the allocator exhibits the old
bad behaviour of 3x memory usage and heavy fragmentation.

We want it back, thank you very much.

svn path=/trunk/; revision=50960

6 years agoSmall optimization: conjoin two mutually exclusive ifs with an else.
Evan Huus [Sat, 27 Jul 2013 23:01:24 +0000 (23:01 -0000)]
Small optimization: conjoin two mutually exclusive ifs with an else.

svn path=/trunk/; revision=50959

6 years agoSimplify out an addition that happened a lot by performing it once on the
Evan Huus [Sat, 27 Jul 2013 22:51:27 +0000 (22:51 -0000)]
Simplify out an addition that happened a lot by performing it once on the
variable it affected, since that variable wasn't used for any other purpose.

svn path=/trunk/; revision=50958

6 years agoHave separate lists of recent capture filters for all interfaces, in
Guy Harris [Sat, 27 Jul 2013 22:37:26 +0000 (22:37 -0000)]
Have separate lists of recent capture filters for all interfaces, in
addition to a "global" list.  Store all of those lists in the recent
file.  Maintain the lists in ui/recent.c, rather than attaching them to
widgets; have the code that populates the combo boxes get the lists from
the ui/recent.c code.

This makes a little more of the code GUI-toolkit-independent, and should
fix bug 7278.

#BACKPORT 1.10, 1.8

svn path=/trunk/; revision=50956

6 years agoRedesign of the wmem block allocator.
Evan Huus [Sat, 27 Jul 2013 22:27:28 +0000 (22:27 -0000)]
Redesign of the wmem block allocator.

What was becoming apparent as more dissectors started using wmem was that the
old block allocator design had issues with memory fragmentation. This keeps the
same underlying memory layout, but completely changes how free blocks are kept.
It runs about 3% slower in my tests (still an order of magnitude faster than
g_malloc) but uses about 1/3 the memory.

I suspect some simple optimizations could reclaim that 3% as well - the design
is fast, but I did not code particularly for speed.

Thoroughly tested with the existing test suite (which caught half a dozen bugs
in my first draft) so it should actually work!

svn path=/trunk/; revision=50955

6 years agoUse a #define, tweak a comment.
Evan Huus [Sat, 27 Jul 2013 21:56:43 +0000 (21:56 -0000)]
Use a #define, tweak a comment.

svn path=/trunk/; revision=50954

6 years agoClean up indentation.
Guy Harris [Sat, 27 Jul 2013 21:23:19 +0000 (21:23 -0000)]
Clean up indentation.

svn path=/trunk/; revision=50953

6 years agomake some variables static
Jakub Zawadzki [Sat, 27 Jul 2013 20:57:58 +0000 (20:57 -0000)]
make some variables static

svn path=/trunk/; revision=50952

6 years agoSupport drange for functions
Jakub Zawadzki [Sat, 27 Jul 2013 19:14:34 +0000 (19:14 -0000)]
Support drange for functions

last think from bug #8979
+ fix semcheck.c:875: warning: signed and unsigned type in conditional expression

svn path=/trunk/; revision=50951

6 years agoSome more work related to bug #8979 and previous commit
Jakub Zawadzki [Sat, 27 Jul 2013 18:55:05 +0000 (18:55 -0000)]
Some more work related to bug #8979 and previous commit

- Make http.location[0:4] == lower(http.location) behave the same as lower(http.location) == http.location[0:4]
- fix compiler errors + comments

svn path=/trunk/; revision=50950

6 years agoFix bug #8979: Comparing function call and a range in the filter crashes Wireshark
Jakub Zawadzki [Sat, 27 Jul 2013 17:17:15 +0000 (17:17 -0000)]
Fix bug #8979: Comparing function call and a range in the filter crashes Wireshark

store whole node, don't assume it's always STTYPE_FIELD

svn path=/trunk/; revision=50949

6 years agoif we capture on multiple interfaces, the output file will be pcapn-ng
Martin Kaiser [Sat, 27 Jul 2013 16:48:06 +0000 (16:48 -0000)]
if we capture on multiple interfaces, the output file will be pcapn-ng
even if we enforce pcap ouput format via -P

in such a case, we *can* write a capture comment to the output file

svn path=/trunk/; revision=50948

6 years agoadd --capture-comment to dumpcap's manpage
Martin Kaiser [Sat, 27 Jul 2013 16:39:10 +0000 (16:39 -0000)]
add --capture-comment to dumpcap's manpage

svn path=/trunk/; revision=50947

6 years agoonly one --capture-comment option may be given to dumpcap
Martin Kaiser [Sat, 27 Jul 2013 16:28:03 +0000 (16:28 -0000)]
only one --capture-comment option may be given to dumpcap

svn path=/trunk/; revision=50946

6 years agocommand line option --capture-comment for dumpcap
Martin Kaiser [Sat, 27 Jul 2013 16:25:08 +0000 (16:25 -0000)]
command line option --capture-comment for dumpcap

svn path=/trunk/; revision=50945

6 years agouse capture_comment from the capture_options structure
Martin Kaiser [Sat, 27 Jul 2013 16:16:57 +0000 (16:16 -0000)]
use capture_comment from the capture_options structure
when we write the SHB

svn path=/trunk/; revision=50944

6 years agoadd capture_comment to the capture_options structure
Martin Kaiser [Sat, 27 Jul 2013 16:13:29 +0000 (16:13 -0000)]
add capture_comment to the capture_options structure

svn path=/trunk/; revision=50943

6 years agoAdd the proper license header and attribution to Balint's git-compare-abis script.
Evan Huus [Sat, 27 Jul 2013 13:50:52 +0000 (13:50 -0000)]
Add the proper license header and attribution to Balint's git-compare-abis script.

svn path=/trunk/; revision=50942

6 years agoFollow-up to r50935: add support for 64-bit value strings in more places that
Evan Huus [Fri, 26 Jul 2013 23:51:00 +0000 (23:51 -0000)]
Follow-up to r50935: add support for 64-bit value strings in more places that
need it, I think this is all of them.

svn path=/trunk/; revision=50941

6 years agoSwitch on field length for the length_min/max fields of IPFix. Like several
Evan Huus [Fri, 26 Jul 2013 23:16:16 +0000 (23:16 -0000)]
Switch on field length for the length_min/max fields of IPFix. Like several
other nearby fields, they are different lengths in different versions of the
spec.

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

svn path=/trunk/; revision=50940

6 years agoSquelch MSVC warnings. It doesn't know that DISSECTOR_ASSERT_NOT_REACHED doesn't
Evan Huus [Fri, 26 Jul 2013 22:52:34 +0000 (22:52 -0000)]
Squelch MSVC warnings. It doesn't know that DISSECTOR_ASSERT_NOT_REACHED doesn't
return.

svn path=/trunk/; revision=50939

6 years agoAdd 64-bit value strings and the appropriate tooling (including yet another
Evan Huus [Fri, 26 Jul 2013 21:51:39 +0000 (21:51 -0000)]
Add 64-bit value strings and the appropriate tooling (including yet another
overloaded use of the DISPLAY field). Thanks to Jakub for pointing out I'd done
this wrong the first time (months ago in r49357).

Fixes severity display for collectd protocol, originally filed at:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8472

svn path=/trunk/; revision=50935

6 years agoGive more detailed diagnostics for errors.
Guy Harris [Fri, 26 Jul 2013 21:49:42 +0000 (21:49 -0000)]
Give more detailed diagnostics for errors.

Actually *check* for errors when reading.

svn path=/trunk/; revision=50934

6 years agoSend error messages to the standard error, and include the program name
Guy Harris [Fri, 26 Jul 2013 21:25:33 +0000 (21:25 -0000)]
Send error messages to the standard error, and include the program name
in the error message.

svn path=/trunk/; revision=50928

6 years agoThe descriptive name for a field is the field full name; the name used
Guy Harris [Fri, 26 Jul 2013 21:06:38 +0000 (21:06 -0000)]
The descriptive name for a field is the field full name; the name used
in packet-matching expressions and TShark's -e flag and... is the
field's abbreviated name.

svn path=/trunk/; revision=50927

6 years agoAdd support for common FT_ETHER cases.
Michael Mann [Fri, 26 Jul 2013 18:30:10 +0000 (18:30 -0000)]
Add support for common FT_ETHER cases.
Bugfix gauging where the "field text" argument when parsing the proto_tree_add_text call.

svn path=/trunk/; revision=50925

6 years agoAdd display filters courtesy of convert_proto_tree_add_text.pl
Michael Mann [Fri, 26 Jul 2013 18:27:38 +0000 (18:27 -0000)]
Add display filters courtesy of convert_proto_tree_add_text.pl

svn path=/trunk/; revision=50924

6 years agoFix bug #8980 - IO graph/advanced, max/min/summ error on frames with multiple Diamete...
Jakub Zawadzki [Fri, 26 Jul 2013 18:10:55 +0000 (18:10 -0000)]
Fix bug #8980 - IO graph/advanced, max/min/summ error on frames with multiple Diameter messages

tap_iostat_packet() was fetching only first item for FT_RELATIVE_TIME.

svn path=/trunk/; revision=50923

6 years agoFix Frame Indicator analysis logic
Pascal Quantin [Fri, 26 Jul 2013 17:07:57 +0000 (17:07 -0000)]
Fix Frame Indicator analysis logic

svn path=/trunk/; revision=50920

6 years agowhitespace
Evan Huus [Fri, 26 Jul 2013 16:42:06 +0000 (16:42 -0000)]
whitespace

svn path=/trunk/; revision=50919

6 years agoEnhance BGP Update (Path Attribute)
Alexis La Goutte [Fri, 26 Jul 2013 16:26:29 +0000 (16:26 -0000)]
Enhance BGP Update (Path Attribute)

Step 2 ! Make Path Attribute field filterable...

svn path=/trunk/; revision=50918

6 years agoEnhance BGP Update
Alexis La Goutte [Fri, 26 Jul 2013 16:26:21 +0000 (16:26 -0000)]
Enhance BGP Update

First step ! Remove ugly double switch(bgpa_type)... (use proto_item_append_text)

svn path=/trunk/; revision=50917

6 years agoFrom Thomas ERSFELD (GSoC13)
Alexis La Goutte [Fri, 26 Jul 2013 16:26:04 +0000 (16:26 -0000)]
From Thomas ERSFELD (GSoC13)
Automatic resize the content of UAT window dialog

svn path=/trunk/; revision=50916

6 years agogtk_widget_modify_font() has been renamed to gtk_widget_override_font() in GTK3
Bill Meier [Fri, 26 Jul 2013 16:19:00 +0000 (16:19 -0000)]
gtk_widget_modify_font() has been renamed to gtk_widget_override_font() in GTK3

svn path=/trunk/; revision=50915

6 years agoAdd dissection of more IEs
Anders Broman [Fri, 26 Jul 2013 15:58:17 +0000 (15:58 -0000)]
Add dissection of more IEs

svn path=/trunk/; revision=50912

6 years agoDocument that pinfo-scoped memory is also needed for anything passed to
Evan Huus [Fri, 26 Jul 2013 13:06:50 +0000 (13:06 -0000)]
Document that pinfo-scoped memory is also needed for anything passed to
add_new_data_source().

svn path=/trunk/; revision=50911

6 years agoAlign info column for AM/UM/TM PDUs
Pascal Quantin [Fri, 26 Jul 2013 10:39:23 +0000 (10:39 -0000)]
Align info column for AM/UM/TM PDUs

svn path=/trunk/; revision=50910

6 years agoAdd Channel ID to MTCH PDUs
Pascal Quantin [Fri, 26 Jul 2013 10:21:05 +0000 (10:21 -0000)]
Add Channel ID to MTCH PDUs

svn path=/trunk/; revision=50909

6 years agoFrom Jouni Malinen via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8972 ieee8...
Alexis La Goutte [Fri, 26 Jul 2013 08:51:59 +0000 (08:51 -0000)]
From Jouni Malinen via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8972 ieee80211: Dissect QoS Mapping information

This patch adds support for dissecting QoS Map Configure frame and QoS Map Set element per Interworking functionality that was added in IEEE 802.11u

svn path=/trunk/; revision=50908

6 years agoOups... Revert my change (See revision 50905)
Alexis La Goutte [Fri, 26 Jul 2013 07:02:12 +0000 (07:02 -0000)]
Oups... Revert my change (See revision 50905)

svn path=/trunk/; revision=50907