Move the source to our own ether_ntohost() to the "missing" directory,
just as we do in libpcap for the Windows snprintf() wrapper around
_snprintf().
Add a header file for it, and include it in both the wrapper and in
addrtoname.c on Windows.
Update the list of source files, and the command-line flags (for
example, don't define INET6, as we no longer check it, or WIN32, as we
no longer check it - we check the standard _WIN32 instead).
Do the case-insensitive comparisons in a locale-independent fashion that
only maps ASCII letters, in the standard English-language fashion; that
way, we don't get bitten by, for example, Turkish having separate "i
with dot" and "i without dot" letters, with lower-case "i with dot" being
mapped to upper-case "I with dot" rather than being mapped to "I".
This requires us to check for it in the configure script and to include
a version of getopt_long() for the benefit of platforms that don't have
it; we pick up the FreeBSD version and tweak it a bit (eliminating some
features specific to the BSD version of getopt_long(), as we want to use
it only in a fashion portable to Linux/*BSD/Solaris/etc.)
We also get rid of the version of getopt() we supply for Windows in
favor of the version of getopt_long() we provide.
comes with libpcap.
Remove "print-netbios.o" from the list of things to build - it's not
used any more.
Add "oui.o" to the list of things to build - it *is* used.
Remove a backslash from the last entry in the list of things to build.
appropriately, and that GNUmakefile and the MSVC++ project file define
it apppriately, as we do with libpcap, rather than defining it in
"interface.h".
Undo the rcsid-shuffling and addition of extra #includes, as we no
longer need to arrange that "interface.h" be included before using _U_
in an RCS ID or copyright.
Defined HAVE_PCAP_DUMP_FLUSH in order to use the new pcap_dump_flush() in tcpdump.c and enable the -U flag.
Defined HAVE_SOCKADDR_STORAGE needed to compile correctly the sources.
Defined HAVE_PCAP_DUMP_FLUSH in order to use the new pcap_dump_flush() in tcpdump.c and enable the -U flag.
Defined HAVE_SOCKADDR_STORAGE needed to compile correctly the sources.