Commit Graph

57 Commits

Author SHA1 Message Date
Herwin Weststrate
df511af670 Fix tab/spaces in GNUmakefile of win32 2018-10-03 20:23:20 +02:00
Francois-Xavier Le Bail
34b59a8011 Remove the no more used gmt2local() function 2018-08-07 20:27:46 +02:00
Francois-Xavier Le Bail
38e32cdf14 Remove trailing spaces/tabs 2018-05-25 09:56:04 +02:00
Guy Harris
0d9efb9596 On Windows, we have our own ether_ntohost(); declare it.
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.
2018-01-23 09:28:44 -08:00
Guy Harris
1277da2b7f Update Visual Studio files.
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).
2015-09-18 12:40:03 -07:00
Guy Harris
3dd9240cc3 Do case-insensitive comparisons assuming ASCII strings.
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".
2015-06-11 15:47:44 -07:00
Gisle Vanem
4350b85ea0 Update WinDump.dsp
Update for using win32/Src/ether_ntohost.c. (Untested .dsp file)
2014-05-02 06:58:18 -07:00
Gisle Vanem
97afc73f8d Update WinDump.vcproj
Update for using ./win32/Src/ether_ntohost.c. Hope the .vcproj is correct (untested).
2014-05-02 06:53:45 -07:00
Guy Harris
040c96487c It's getopt_long.c, not getopt.c 2014-05-01 09:37:10 -07:00
Guy Harris
6b9e3a5a85 Use getopt_long().
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.
2014-04-30 15:28:06 -07:00
Hannes Gredler
917f5f341f add support for the RPKI/Router Protocol as per draft-ietf-sidr-rpki-rtr-12 2011-06-16 17:17:20 +02:00
Guy Harris
9b2d37151d Don't define any of the SIZEOF_ values. 2010-04-04 13:41:27 -07:00
test2
8781649e5e Added a missing source file to the cygwin makefile. 2010-03-09 12:33:23 -08:00
test2
5b9f86469e Added the Windows VS2005 projects. 2010-03-09 12:31:20 -08:00
guy
1789f57c36 From Andrew Silent: Realtek Remote Control Protocol support (see
OpenRRCP.org.ru for details).
2008-02-06 10:47:53 +00:00
gianluca
9744b475e2 Added a missing file (print-bt.c) to the project. 2007-10-13 00:43:37 +00:00
gianluca
989d961ab8 Fixed a typo (print-udlp.o instead of print-udld.o). 2007-09-13 18:53:07 +00:00
gianluca
8e00cc96e2 Fixed a compilation problem: getnameinfo() was not linked. 2007-09-13 18:49:47 +00:00
gianluca
84d59b1d5b Removed print-pflog.c from the sources. 2007-09-13 18:01:36 +00:00
hannes
e7dc0250ec from Carles Kishimoto <carles.kishimoto@gmail.com>: add support for the SFLOW protocol 2007-08-08 17:20:58 +00:00
hannes
bbb4050969 add basic support for the IEEE Link Discovery Protocol as per 802.1ab 2007-08-03 11:03:19 +00:00
hannes
f89e58426d From Carles Kishimoto <carles.kishimoto@gmail.com>:
add initial support for the Light Weight Access Point Protocol
as per draft-ohara-capwap-lwapp-04
2007-07-24 16:07:29 +00:00
hannes
cb08bf9e3e add basic skeleton for printing olsr packets as per rfc3626
add a line break in verbose mode fro the ip printer.
2007-03-27 10:44:09 +00:00
hannes
9f2e33e713 From From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for the cisco propriatry 'dynamic trunking protocol'
2007-03-23 08:12:00 +00:00
hannes
61fb61ab08 From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for the cisco proprietary VTP protocol
2007-03-21 07:35:00 +00:00
hannes
83dc1abf9c From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for unidirectional link detection as per
http://www.ietf.org/internet-drafts/draft-foschiano-udld-02.txt
2007-03-19 15:14:14 +00:00
hannes
1226a40cb0 add skeleton support for 802.1ag CFM 2006-10-12 10:26:12 +00:00
hannes
b9a93a401e from Carles Kishimoto <Carles.Kishimoto@bsc.es>:
basic support for Ciscos prop. VQP protocol
2006-03-03 22:31:16 +00:00
hannes
50b4920bc5 move AF specific stuff to dedicated files 2006-02-21 10:27:40 +00:00
hannes
0860434f38 add basic support for MPCP 802.3ah frame printer 2006-02-10 04:52:25 +00:00
hannes
f4e5130617 move the crc10 verification to a new file checksum.c (will add other checksumming routines later to this file), init shred checksumming tables with init_checksum(), assume network byte order for tag correlation ID in the ATM OAM cell printer 2006-02-09 20:33:49 +00:00
gianluca
023b119fb3 Added print-dccp.c to the MSVC and Cygnus makefiles. 2006-01-22 19:12:20 +00:00
risso
6c6ae0d48d Added a missing source file (print-slow.c) in the Cygnus and VC6 projects. 2005-07-13 06:25:13 +00:00
risso
8ae98ea6ea Updated a library so that tcpdump links correctly under cygnus. 2005-07-09 21:10:06 +00:00
risso
9044e8997a Defined INET6 in the Windows project to prevent compilation errors of print-dhcp6.c 2005-06-04 22:08:26 +00:00
guy
e0e7bf9965 Update definitions to match libpcap 0.9 as it'd be on Windows. 2005-06-03 22:33:50 +00:00
risso
e60d2e629d Added print-pgm.c to the WinDump gcc project. 2005-05-22 17:12:53 +00:00
risso
5bc50900e3 Added print-pgm.c to the WinDump VC6 project. 2005-05-22 17:09:40 +00:00
risso
b1891adeaf Added some new files to the cygnus and MSVC makefiles. The cignus makefile
still doesn't work because of the missing support for getnameinfo() into the
official release of cygwin.
2005-05-04 19:23:19 +00:00
risso
03086de8ff Added the definition of HAVE_PCAP_IF_T to the build settings
to make windump compile under Win32.
Added print-eap.c and print-lmp.c to the project.
2004-04-25 21:14:03 +00:00
risso
121f1d157b Added the definition of HAVE_PCAP_LIB_VERSION and HAVE_REMOTE. 2004-04-06 13:00:18 +00:00
risso
5e5c1c9164 Added oui.c, print-ap1394.c and print-symantec.c to the Windows project. 2004-03-19 21:37:49 +00:00
guy
65be54b51e Remove "bpf_dump.o" from the list of things to build - "bpf_dump()" now
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.
2004-01-27 23:36:59 +00:00
risso
5709ca03db Added some missing files in order to correctly compile under Cygnus 2004-01-26 14:29:15 +00:00
guy
bbc1cfa669 Have the configure script arrange that the Makefile define _U_
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.
2003-11-16 09:36:07 +00:00
risso
36f32e06a3 added print-bfd.c to the Windows VC project 2003-11-05 20:36:16 +00:00
risso
4febff5a4f Removed w32_fzs.c from the Windows project 2003-08-08 09:42:23 +00:00
risso
f2cb425df0 Added the new gmpls.c and print-aodv.c files to the Win32 project. 2003-08-07 11:29:30 +00:00
risso
ad039808e2 Added the files missing/dlnames.c, missing/datalinks.c, missing/strsep.c, missing/inet_pton.c, print-enc.c to the Win32 Visual Studio project.
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.
2003-04-21 09:36:28 +00:00
risso
2cb40806f8 Added the files missing/dlnames.c, missing/datalinks.c, missing/strsep.c, missing/inet_pton.c, print-enc.c to the Cygnus Makefile.
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.
2003-04-21 09:35:36 +00:00