winpcap on linux
I am trying to port an Windows executable to Linux using wine. I am at a point where I c开发者_StackOverflowan run the executables but it returns some error saying it can't load "npf" driver. Is there a way to also port winpcap on Linux? The application I was trying to port is depending on winpcap library.
Thanks
libpcap? It is the original version of pcap that was then made into winpcap...
winpcap depends on the custom Windows drivers to provide access to the raw streams, it's not possible to port that as-is to wine.
winpcap is essentially a set of a Windows driver and two DLL's, wich enables applications to send&receive raw network packets to&from the network cards, and originally was a tool to have the same features than tcdump in Uxix/Linux in WIndows. So, maybe a solution a wrapper in Linux of the "libpcap(capture) and libnet(send)" libraries, providing a winpcap binary compatibility? Playonlinux guys can help?
精彩评论