[Winpcap-users] Winpcap in Intanium machine

Gianluca Varenni gianluca.varenni at cacetech.com
Wed Sep 30 14:03:43 PDT 2009


Porting to itanium is not exactly trivial.

Driver: you must use the WDK to compile the driver, and you will need to 
follow the directions at

http://www.winpcap.org/docs/docs_41b5/html/group__compilation.html

*and* modify the "CompileDriver.bat" script. You might need to make some 
mods here and there. There are a number of #ifdef's for x64 (_AMD64_) that 
should be modified for IA64 too. Finally, if you run on 
Vista/2008/Win7/2008R2 IA64, I'm pretty sure the driver should be signed in 
order to even load.

User level components: in this case you should be able to use WOW64 and use 
the standard 32bit DLLs that are already shipped.

GV


----- Original Message ----- 
From: "Renato Araújo Ferreira" <marina.peixe at terra.com.br>
To: <winpcap-users at winpcap.org>
Sent: Wednesday, September 30, 2009 1:23 PM
Subject: Re: [Winpcap-users] Winpcap in Intanium machine


But if I'm not getting success on compiling of winpcap in my machine, will
be futile to search a itanium one. I tried to use the PRJ dir with visual
studio, but didn't work. I saw the makefile that appears to use gcc, but i
don't know where to start. There's a lots of .bat files.

The only option that I found that appears to be ready to capture under
itanium is the Network Monitor 3.3 from Microsoft with their API. But I'm
not sure to consider this option.

----- Original Message ----- 
From: "Guy Harris" <guy at alum.mit.edu>
To: <winpcap-users at winpcap.org>
Sent: Wednesday, September 30, 2009 4:03 PM
Subject: Re: [Winpcap-users] Winpcap in Intanium machine



On Sep 30, 2009, at 11:56 AM, Renato Araújo Ferreira wrote:

> I will try to borrow a itanium machine to see if the application
> will work properly. So can I just try to recompile winpcap from it's
> source using a cross-compiler or native one? Will it require a large
> number of source changes to get the basic packet capture operations
> working?

My *guess* would be that it doesn't, as I think current versions of
WinPcap support x86-64, so the code is at least 64-bit clean.  I think
it has a compiler that translates the BPF filter program to machine
code; that compiler supports 32-bit x86 (and there's an x86-64 version
originally done for FreeBSD, which WinPcap might have picked up), but
there isn't one for Itanium, so, if there's no #ifdef, you might have
to disable that.  (BPF still works, it just runs interpretively.)

> Isn't WOW64 an option?

No, because WinPcap includes kernel-mode code (because it requires it,
in order to tap into the networking stack).
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users

_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users 



More information about the Winpcap-users mailing list