1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 04:09:01 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
dmiller
f4c5c832a6 Remove dependency on pcap-int.h Fixes #426
Windows doesn't support selectable pcap fds, so instead of fiddling with
adapter read timeouts via PacketSetReadTimeout, we get an event handle
with pcap_get_event and WaitForSIngleObject. This means we don't need to
extract the adapter from the pcap_t, which is not part of the libpcap
API and was causing crashes switching between the libpcap versions used
by WinPcap and Npcap.
2016-08-25 18:41:03 +00:00
dmiller
b0fb9b5cdb Switch to Npcap dev kit instead of Winpcap 2016-08-14 02:54:48 +00:00
dmiller
af13cef717 Upgrade to Npcap 0.08 (libpcap 1.8.0 headers for Windows) 2016-08-13 20:04:05 +00:00
dmiller
680dd540eb Fix a compiler error on VS2013 2014-11-11 18:56:05 +00:00
dmiller
ddcfa8cc90 Spellcheck: common misspellings in the entire source tree 2014-02-21 21:10:51 +00:00
david
7c790dbf3b Update pcap-int.h from http://www.winpcap.org/install/bin/WpcapSrc_4_1_1.zip.
We use this file to get at the LPADAPTER member of struct pcap on Windows,
which we need in order to pass to PacketSetReadTimeout in a few places.
(Normally pcap_t is an opaque type so we're not supposed to see inside it.) I
don't see an easy way to get rid of the calls to PacketSetReadTimeout right
now.
2010-06-07 20:34:33 +00:00
fyodor
10a083501f Update to latest version of pcap include files from the official pcap developer pack version 4.1.1 (http://www.winpcap.org/install/bin/WpdPack_4_1_1.zip) include directory. Keeping pcap-int.h for now as we currently need it for compilation, though it seems a bit sketchy. I'm going to add a TODO task related to that 2010-05-28 01:50:37 +00:00
fyodor
bb100f1bbc Moved Gnuc.h from mswin32/pcap-include to nbase, since it is a portability file for Windows and I don't think it is really related to pcap (at least it isn't included in 4.1.1 official Pcap developer pack 2010-05-28 01:42:14 +00:00
kris
44f6087b94 Merging changes from my vc2008-testing branch. This moves Windows development
to VC++2008.
2008-06-13 05:58:11 +00:00
fyodor
a33bfd5f26 Windoze just about working 2005-08-09 04:20:34 +00:00
fyodor
26ce3d66f4 get rid of silly top-level trunk dir 2005-04-11 22:34:19 +00:00