Compile in VS2005 for using NDISUIO instead of WinPcap

Jouni Malinen jkmaline at cc.hut.fi
Thu Jun 22 23:22:00 EDT 2006


On Thu, Jun 22, 2006 at 02:05:26PM +0200, ALG-2006 at web.de wrote:

> i can't figure out how to compile the latest Version 5.4 in Visual Studio to use NDISUIO instead of WINPCAP.
> Somehow the configuration mentioned in the changelog is missing (CONFIG_L2_PACKET=ndis) and i can not find it in the MAKEFILE as well.

The VS project files use quite a bit different mechanism for build time
configuration. Unfortunately, it is not documented at the moment.
CONFIG_L2_PACKET=ndis would be used in .config if Makefile (GNU make) is
used.

Anyway, for this particular change with VS2005 build, you would need to
add the following line into build_config.h (inside the
CONFIG_WIN32_DEFAULTS block):

#define CONFIG_USE_NDISUIO

And replace l2_packet_winpcap.c with l2_packet_ndisuio.c in the project
source files list.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list