Re: [tcpdump-workers] Where to put the TcApi.h?

2016-07-01 Thread Yang Luo
OK. I have removed the macro and the source files related to TurboCap API in https://github.com/the-tcpdump-group/libpcap/pull/511. Cheers, Yang On Thu, Jun 30, 2016 at 6:27 PM, Guy Harris wrote: > On Jun 30, 2016, at 3:14 PM, Yang Luo wrote: > > > TcApi.h is contained in WinPcap but not in l

Re: [tcpdump-workers] Remove the eproto_db symbol exporting to keep the DLL delay-load feature on Windows

2016-07-01 Thread Yang Luo
OK. I will try my best to keep this structure exported, if it can't be done, I will only remove the export on Windows. Cheers, Yang On Thu, Jun 30, 2016 at 1:14 PM, Guy Harris wrote: > On Jun 27, 2016, at 10:56 PM, Yang Luo wrote: > > > Because of libpcap has exported the a data structure cal

Re: [tcpdump-workers] Add WinPcap specific functions like pcap_open() to libpcap on Windows for binary compatibility

2016-07-01 Thread Yang Luo
Hi Guy, On Tue, Jun 28, 2016 at 10:10 AM, Guy Harris wrote: > On Jun 27, 2016, at 11:22 PM, Yang Luo wrote: > > > So my thought is we need to add back those functions to libpcap on > Windows, the related source code files are remote-ext.h, pcap-new.c, etc, > which don't exist in libpcap. So ar

[tcpdump-workers] About libpcap version display on Windows

2016-07-01 Thread Yang Luo
Hi list, The current libpcap on Windows shows the version string in the "About Wireshark" window as ( https://github.com/the-tcpdump-group/libpcap/blob/master/pcap.c#L2118-L2123 ): with WinPcap version 4.0 (packet.dll version 0.07), based on libpcap version 1.x.y For latest Npcap 0.07 r17, it sho