Re: [tcpdump-workers] Need precompiled source files in libpcap

2016-06-30 Thread Yang Luo
Hi Guy, On Sat, Jun 25, 2016 at 12:09 AM, Guy Harris wrote: > On Jun 24, 2016, at 8:58 PM, Yang Luo wrote: > > > I found that there are a lot of “precompiled source code files" like > grammar.c, scanner.c, grammar.h, ,scanner.h, etc. (which are also listed in > .gitignore). They are NOT contain

Re: [tcpdump-workers] Need precompiled source files in libpcap

2016-06-30 Thread Yang Luo
On Thu, Jun 30, 2016 at 12:36 PM, Yang Luo wrote: > Hi Guy, > > On Sat, Jun 25, 2016 at 12:09 AM, Guy Harris wrote: > >> On Jun 24, 2016, at 8:58 PM, Yang Luo wrote: >> >> > I found that there are a lot of “precompiled source code files" like >> grammar.c, scanner.c, grammar.h, ,scanner.h, etc.

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

2016-06-30 Thread Guy Harris
On Jun 27, 2016, at 10:56 PM, Yang Luo wrote: > Because of libpcap has exported the a data structure called eproto_db > (https://github.com/the-tcpdump-group/libpcap/blob/master/nametoaddr.c#L320), > when I compiled WinDump in MSVC specifying "wpcap.dll" as a delay loaded DLL, > I encountered

Re: [tcpdump-workers] Need precompiled source files in libpcap

2016-06-30 Thread Guy Harris
On Jun 30, 2016, at 12:59 PM, Yang Luo wrote: > But I encountered an issue here, the built out scanner.h and scanner.c will > report these errors: > > 1> gencode.c > 1>..\scanner.h(239): fatal error C1083: Cannot open include file: 'unistd.h': > No such file or directory > 1> grammar.c > 1>.

Re: [tcpdump-workers] Need precompiled source files in libpcap

2016-06-30 Thread Yang Luo
On Thu, Jun 30, 2016 at 2:14 PM, Guy Harris wrote: > On Jun 30, 2016, at 12:59 PM, Yang Luo wrote: > > > But I encountered an issue here, the built out scanner.h and scanner.c > will report these errors: > > > > 1> gencode.c > > 1>..\scanner.h(239): fatal error C1083: Cannot open include file:

Re: [tcpdump-workers] Need precompiled source files in libpcap

2016-06-30 Thread Yang Luo
Hi Guy, On Sat, Jun 25, 2016 at 11:50 AM, Guy Harris wrote: > On Jun 25, 2016, at 7:25 AM, Yang Luo wrote: > > > On Sat, Jun 25, 2016 at 3:09 PM, Guy Harris wrote: > > > >> On Jun 24, 2016, at 8:58 PM, Yang Luo wrote: > >> > >>> I found that there are a lot of “precompiled source code files"

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

2016-06-30 Thread Yang Luo
Hi list, TcApi.h is contained in WinPcap but not in libpcap. Where to put it? For now, I put it in the "Win32-Extensions" folder, which is the same level with "libpcap" folder. The whole file structure is: Npcap repo wpcap libpcap (the libpcap repo) Win32-Extensions

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

2016-06-30 Thread Guy Harris
On Jun 30, 2016, at 3:14 PM, Yang Luo wrote: > TcApi.h is contained in WinPcap but not in libpcap. Where to put it? Put it in the devpack/include directory underneath the directory in which the TurboCap API: https://support.riverbed.com/content/support/software/steelcentral-npm/turboc