[Winpcap-users] compiling npf driver and packet library on vista

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Aug 13 11:42:19 PDT 2009


  ----- Original Message ----- 
  From: Jigar Shah 
  To: winpcap-users at winpcap.org 
  Sent: Wednesday, August 12, 2009 12:30 PM
  Subject: [Winpcap-users] compiling npf driver and packet library on vista


  Hi All,

  I want my application talk to driver and receive the packets captured  from air. And for the same I need protocol driver to talk pull the packets from the driver and put them to user buffer. I have 4.1 wpcap source.

  I have few questions. It would be great if some one can help me with them:

  1. Compilation environment for npf (protocol driver) and packet library.

Please follow the directions in the WinPcap developer's pack, or online at

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

  2. Will I have to do any changes in packet library to make it work for my driver to push the packets up the application?

Integrating support for a new "driver" can be tricky. I suggest you to integrate it at the wpcap.dll level, it's much easier than integrating it into packet.dll. If you modify wpcap.dll, I suggest you to download the sources for 4.1beta5 and have a look at how I added support for the TurboCap cards in the files pcap-tc.h and pcap-tc.c

  3. Are there any odds that needs to be taken care in Vista? I am new to this part of windows.

No. 

  Your help is greatly appreciated 

Have a nice day
GV

Thanks,
J



------------------------------------------------------------------------------

  Are you an untamed, bizarre or daring explorer? Find out now! Drag n' drop 


------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090813/55ccf079/attachment.htm 


More information about the Winpcap-users mailing list