Compile in VS2005 for using NDISUIO instead of WinPcap
Jouni Malinen
jkmaline
Thu Jun 22 20:22:00 PDT 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