Bugfix timestamp formatting of Gigamon trailer.  Bug 9433 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9433)

From Sandeep Dahiya

svn path=/trunk/; revision=53646
Graham Bloice:

Always include the "true" zlib includes first. This works around a
bug in the Windows setup of GTK[23] which has a faulty zconf.h.


svn path=/trunk/; revision=53647
Clean up whitespace.

svn path=/trunk/; revision=53648
Fix number of selected bytes for gtp.teid_data.  Also remove some stray tabs and unneeded _U_

svn path=/trunk/; revision=53649
General "Prosody" placeholder parameter ("prosody-") is broken down to a 6 new "Prosody" specific parameters.  Bug 9425 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9425)

From zeljko

svn path=/trunk/; revision=53650
Expand macros: htoles(), htolel(), htolell()

svn path=/trunk/; revision=53651
Rename some of pint.h macros to match common style (bits number on the end).

   pntohs  -> pntoh16
   pntohl  -> pntoh32
   pletohs -> pletoh16
   pletohl -> pletoh32
   phtons  -> phton16
   phtonl  -> phton32


svn path=/trunk/; revision=53652
Replace macros: BSWAP16, BSWAP32, BSWAP64 with glib-version.


XXX, people are not aware that expression of this macros might be evaluated multiple times, like:
 -  BSWAP16(tvb_get_letohs(tvb, off)) : \
 +  GUINT16_SWAP_LE_BE(tvb_get_letohs(tvb, off)) : \

Should be tvb_get_ntohs() called?


svn path=/trunk/; revision=53653
Graham Bloice

I've now got tshark to build from a VS solution file, had to do some hacks
to get there though, patch files attached for others to peruse, as I'm not
sure if they are the optimal solutions:

   3. As mentioned in my previous message, the VS solution chops out every
   8192nd byte from the command line passed to make-dissector-reg.py.  My
   patch (make-reg.patch) gets CMake to write out the required source file
   list to a file and modifies the python script to read in the file.  The
   python changes *should* be backwards compatible.

Me: Small fix to UseMakeDissectorReg.cmake (elseif() -> else())

svn path=/trunk/; revision=53654
Avoid including <wiretap/wtap.h> in dissectors.

svn path=/trunk/; revision=53655
Graham Bloice

Ensure we use the correct value for MSC_VER_REQUIRED (similar to
nmake build)

svn path=/trunk/; revision=53656
Stats_tree enhancements for sorting, averages and burst rate.  Bug 9452 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9452)

From Deon van der Westhuysen

- Bug fix: object leak in stats_tree after a tap reset (for example apply statistics preferences with a stats_tree window open)
- Bug fix: correct sample code in README.stats_tree
- Add: slash in plug-in name now creates submenu as docs describe (was a bug?)
- Add: menu separator before the stat_tree registered plug-ins
- Add: stats_tree can now calculate averages for nodes; automatically calculated for range nodes. Add section in README.stats_tree describing averages.
- Add: stats_tree can now calculate burst rate of each node (like rate but with a shorter, sliding time window)
- Add: sorting for stats_tree plug-ins. Can sort on node name, count, average, min, max values and burst rate.
- Add: preferences for stats_tree system (default sort column, burst calc params)
- Add: stats_tree window copy to clipboard and export and plain text, csv and XML.
- Added sample of new functionality in $srcdir/plugins/stats_tree/pinfo_stats_tree.c
- Moved all stats_tree sample plug-ins to "IP Statistics" submenu.

svn path=/trunk/; revision=53657
From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9487 :
Use RTP payload descriptions from RTP dissector in RTPproxy codec param value

svn path=/trunk/; revision=53658
A typedef has to actually define a type.

svn path=/trunk/; revision=53659
When a snaplength isn't specifically set by the user, the default snaplength is used.  In this case, rather than display the text, "default", display the actual value so the user always knows which value will be used.  Other tools (tcpdump, for example) uses a different default snaplength, so it may not have been obvious to all users which value Wireshark uses for its default snaplength (even if it is documented in the man pages).

svn path=/trunk/; revision=53660
Rename variable to avoid collisions with standard function names.

Use the st_format_type type.

svn path=/trunk/; revision=53661
Squelch some "use parentheses" warnings.

Use tab indentation uniformly.

svn path=/trunk/; revision=53662
Constify to squelch some warnings.

svn path=/trunk/; revision=53663
Casts required from void * in C++.

svn path=/trunk/; revision=53664
Squelch a "parentheses suggested" warning.

Casts from void * are required in C++.

svn path=/trunk/; revision=53665