test
04740b6647
Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile under cygwin.
...
cygwin finally ships with ws2tcpip.h, so we need to get rid of some duplicated definitions.
2009-07-16 15:46:55 -07:00
gianluca
c93e0966e1
Added a couple missing definitions.
2008-12-21 10:18:10 +00:00
guy
0a9a829a65
malloc(strlen(X) + 1) followed by strcpy(result-of-malloc, str) is
...
equivalent to strdup(str); use that, so people don't freak out upon
seeing a strcpy() call that, out of context, looks as if it's not
buffer-overflow-safe.
2008-09-15 23:37:51 +00:00
gianluca
0cd5315734
Added the prototype for inet_aton().
2007-09-27 18:02:20 +00:00
gianluca
f999210021
Added the definition of int64_t
2007-09-27 17:55:55 +00:00
gianluca
1cd243c972
Do not compile gai_strerrorA on Windows under MingW. gai_strerror is already
...
available on MingW, it's only missing from Cygwin.
2007-09-19 16:19:20 +00:00
gianluca
54693a0c07
Added an implementation of gai_strerror() for the compilation of libpcap.lib
...
and wpcap.dll under Cygnus and MingW32. The implementation is basically
taken from the FreeBSD sources.
2006-01-22 18:03:43 +00:00
gianluca
64e1e8e43b
Added a patch to make libpcap.lib and wpcap.dll compile under Cygnus and
...
MingW32.
2006-01-22 18:02:18 +00:00
risso
3acfaf7f23
Added support for 64 bit integers under Windows.
2005-05-04 19:38:48 +00:00
risso
1d57bb05f8
Corrected the definition of IN_EXPERIMENTAL (0xfxxxxxxx is the experimental space)
2004-07-06 23:45:29 +00:00
risso
b2656a7aa7
Fixed a conditional typedef that caused wpcap.dll not to compile with VC.
2004-04-06 13:30:22 +00:00
risso
3d28325423
Added a couple of folders to the include path of Windows VisualC project, in order to properly compile libpcap with Dag support
2004-01-28 14:08:33 +00:00
risso
8e2c26124d
Define HAVE_SNPRINTF and HAVE_VSNPRINTF under Windows.
...
A couple of fixes to the Windows project in order to avoid compilation problems.
2003-12-20 10:28:17 +00:00
guy
034610ee5b
Add "/D _U_=" to make _U_ expand to nothing.
2003-11-15 23:37:07 +00:00
guy
30e89f192a
Add _U_ to "rcsid[]" definitions, to eliminate "unused variable"
...
warnings from newer versions of GCC.
2003-11-15 23:23:57 +00:00
risso
6ca7c69b0b
Modified the license at the beginning of the files created by the Politecno di Torino developers from the 4-clause BSD code to the modified BSD license
2003-05-15 14:30:29 +00:00
risso
33bca3b31c
Removed the _DEBUG definition that was erroneusly set in the release version of the Win32 project. Replaced it with NDEBUG
2003-04-09 10:10:04 +00:00
risso
5101a35095
Added the Win32 project files, that allow to compile libpcap and include it in the WinPcap source tree to generate wpcap.dll.
2002-08-09 13:54:19 +00:00
risso
8f2da81edf
Remove in6addr_any and in6addr_loopback, not needed by libpcap directly, from ip6_misc.h.
2002-08-02 13:59:03 +00:00
risso
6831542ec7
Added support for Win32, based on WinPcap.
2002-08-01 08:33:01 +00:00