Am 18.02.2016 um 14:51 schrieb Sebastian Lackner:
Thanks for sending an updated version of your patch. I have some more comments below.
Nevertheless, before you spent too much time to fix all the issues, I would suggest to discuss with André first, if packet.dll is acceptable for Wine. One reason why we might consider adding it is because the original version heavily reads information from the registry (SYSTEM\CurrentControlSet), which is not populated by Wine, but still there might be alternative ways to solve it.
I don't like the idea of copying (more or less) the original code, functions that are reimplemented on top of wpcap would be more convincing. (E.g. the original code tries to open the adapter before announcing it) But AJ has the final word on it.