Commit Graph

18 Commits

Author SHA1 Message Date
Bill Meier 8afa208ffb Windows build: #include winsock2.h only when needed.
#include winsock2.h pulls in about 90 distinct .h files
and about 140 total .h files. 
Currently winsock2.h is (mostly unnecessarily) included
for each dissector via packet.h/wtap.h.
This patch removes #include winsock2.h from wtap.h and 
then includes winsock2.h (or windows.h) in the 
few specific places required. 
With this patch, my Windows Wireshark build takes 
about 30% less time.


svn path=/trunk/; revision=26535
2008-10-24 00:42:09 +00:00
Bill Meier a6dab6d644 (Minor) Use _WIN32 (instead of WIN32) like the rest of Wireshark
svn path=/trunk/; revision=22030
2007-06-03 16:07:07 +00:00
Michael Tüxen ab125d0d43 From Irene Ruengeler: Fix TSN handling in graphs.
svn path=/trunk/; revision=21894
2007-05-22 21:16:30 +00:00
Michael Tüxen ed692e1c8a Improve the handling of INIT/ABORT mesage pairs.
svn path=/trunk/; revision=20608
2007-01-29 20:44:59 +00:00
Jörg Mayer 80f82b9203 Warning fixes (void) instead of (), no newline at end of file.
svn path=/trunk/; revision=19845
2006-11-07 07:47:49 +00:00
Michael Tüxen 45b5d20416 From Irene Ruengeler: Add context menu for SCTP analysis.
svn path=/trunk/; revision=18576
2006-06-26 13:18:37 +00:00
Michael Tüxen 7bc853b62b Fixes the handling of long term captures from a simulation tool.
svn path=/trunk/; revision=18267
2006-05-31 15:26:41 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Michael Tüxen 3df55b78f6 From Irene: Fix problems with off screen drawings
Make rectangle clickable.

svn path=/trunk/; revision=17778
2006-03-30 22:17:42 +00:00
Jörg Mayer 4e1f4b18ab More char -> const char warning fixes.
Removed (very few) casts that only change the warning message
  but don't remove it (with gcc-4).

svn path=/trunk/; revision=15227
2005-08-05 20:59:08 +00:00
Michael Tüxen ab64f95039 From Irene Ruengeler: Bugfixes and support of chunk statistics per end point.
Some cleanups of the code.

svn path=/trunk/; revision=13858
2005-03-22 10:25:07 +00:00
Guy Harris a6694a746f Clean up indentation.
Make "reset()" static (it's not used outside "sctp_stat.c"), and fix its
prototype to match what's expected for a reset routine passed to
"register_tap_listener()".  Similarly, fix the prototypes of other
routines passed to "register_tap_listener()", and get rid of the casts
of pointers to those functions to "void *".

Fix some declarations in "sctp_stat.h" to have function prototypes.

svn path=/trunk/; revision=13319
2005-02-06 20:53:54 +00:00
Michael Tüxen b608b5e406 Update to versions compiling on and working on Windows and Unix.
svn path=/trunk/; revision=13295
2005-02-04 22:45:15 +00:00
Guy Harris bebb2b7705 Get rid of C++/C99-style comments - not all C compilers accept them.
Fix some indentation.

svn path=/trunk/; revision=12710
2004-12-10 11:20:48 +00:00
Guy Harris acdc9439b3 Get rid of some #includes that caused trouble on Windows - we need to
make this use Ethereal's data structurs for addresses, not the OS's.

svn path=/trunk/; revision=11971
2004-09-11 22:57:52 +00:00
Guy Harris 03e12ad5ee Canonicalize the line endings, set the svn:eol-style property to
"native" so they stay canonicalized, and set svn:keywords to Id so that
RCS IDs get expanded.

svn path=/trunk/; revision=11926
2004-09-07 18:51:56 +00:00
Ulf Lamping e09ed18320 using #ifdef HAVE_SYS_TYPES_H around some of the includes making problems, but still uncompilable on win32!!!
svn path=/trunk/; revision=11921
2004-09-07 08:42:02 +00:00
Michael Tüxen 870cb0e20a Added graphical SCTP analysis implemented by Irene Ruengeler.
svn path=/trunk/; revision=11920
2004-09-07 07:54:50 +00:00