https://bugs.winehq.org/show_bug.cgi?id=56871
--- Comment #15 from Hans Leidekker hans@meelstraat.net --- (In reply to mushu from comment #14)
(In reply to Hans Leidekker from comment #11)
(In reply to mushu from comment #10)
Created attachment 76674 [details] 32bit demo wpcap log
0024:warn:wpcap:DllMain failed to enable 32-bit mmap() "Unknown options specified"
That's likely the problem. 32-bit apps need this relatively new feature from the Linux pcap library. Looks like it's available since 1.10.4.
I took a look at the libpcap code, and the feature of PCAP_MMAP_32BIT has not been integrated into the libpcap 1.10.4 version (which is the latest version at present), but it is supported in the master branch.
Right, and you would also need a new-style wow64 Wine build to make use of this feature. The root cause of this bug is a difference in layout of the native packet header structure between 32-bit and 64-bit. I'll attach a patch that accounts for this difference. With that you wouldn't need new libpcap or a new wow64 build (though you will need a new Wine build anyway).