I've started to work at the integration of the win32 porting in the sources
of tcpdump and libpcap, and I have some questions:
- is there any problem in letting the C version of the scanner and the
grammar (scanner.c, grammar.c and tokdefs.h) in the source code? Generating
them under Windows, at least with VisualC that does not provide lex and
bison, is quite complex.
 - in order to be compiled under windows, libpcap requires a couple of
include files and the .lib of packet.dll, the underlying library that is
used to interface with the packet driver. Currently, the sources of libpcap
and packet.dll are distributed together, and libpcap cannot be compiled
without packet.dll in the same tree. Is this condition acceptable in the
case of an independent distribution of libpcap? Is it better to have a
directory with a copy of the needed files in the sources of libpcap?
- at the moment, the Visual Studio Project of windump requires the directory
structure of winpcap, that is different from the original one, because
libpcap must be in the subfolder winpcap\wpcap\libpcap, while in unix
tcpdump and libpcap are usually put in the same folder when they are
compiled. Do you think it's better to create a new folder structure more
coherent with the unix one, or to let the current win32 projects, that are
well integrated with the rest of winpcap (drivers, packet.dll...)?
- is it OK if I move pcap_sendpacket(), pcap_setbuff(), pcap_setmode() and
pcap_setmintocopy() in pcap-win32.c? Guy, I understand from your last
message on this subject that you agree with this, isn't it?
- a more "philosophical" question. Should the name of the win32 executable
be "tcpdump" or "windump"? Actually, the name "windump" was suggested by the
original authors of tcpdump (the ones from LBNL) that were not so confident
in the quality of our porting and preferred the use of a different name.
However, at this point windump is well known in the networking community, so
I would be inclined to maintain this name...

Loris.

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to