[Winpcap-users] Adapter description bug

Gisle Vanem gvanem at broadpark.no
Tue Feb 24 02:44:15 PST 2009


"Gianluca Varenni" <gianluca.varenni at cacetech.com> wrote:

> Does the problem happen with
> 1. the vanilla version of wpcap.dll and packet.dd shipped with WinPcap 4.1 
> beta5 (it's my understanding that you are using a custom version of 
> wpcap.dll based off the libpcap latest git tree)?
> 2. winpcap 4.1 beta4?

It happens with the MingW compiled version of WInPcap 4.1 beta5 sources;
http://www.winpcap.org/install/bin/WpcapSrc_4_1_beta5.zip

I've managed to install VC-2008 express and built Packet.dll. I used this
with WinDump and saw the same description bug. I've not tried 4.1 beta 4.

FYI,
I've got libpcap-Git in '.' and then unzipped WpcapSrc_4_1_beta5.zip
there. Hence Packet32.c, AdInfo.c etc. under 'WinPcap\PacketNtx\Dll\'.
I'm pretty sure I've done everything correctly. I've not modified any important
structures or files. For reference, see the makefile I used.

All this would be much easier if someone could merge WinPcap's libpcap
into the Git tree. E.g. pcap-tc.c and the 'tcInstance' stuff into pcap-int.h.
And what about the remote stuff?

Btw. Win32-Extensions.c should say:

HANDLE
pcap_getevent(pcap_t *p)
{
#ifdef HAVE_TC_API
 if (p->TcInstance != NULL)
 {
  return TcGetReceiveWaitHandle(p);
 }
 else
#endif

--gv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.MingW
Type: application/octet-stream
Size: 6208 bytes
Desc: not available
Url : http://www.winpcap.org/pipermail/winpcap-users/attachments/20090224/303f264e/attachment.obj 


More information about the Winpcap-users mailing list