aboutsummaryrefslogtreecommitdiffstats
path: root/acconfig.h
AgeCommit message (Collapse)AuthorFilesLines
2000-01-15Merge in the final code to make Ethereal run on Win32, compiledGilbert Ramirez1-1/+3
with MSVC 6.0 and 'nmake', the make tool that comes with MSVC. It compiles, links, and runs. It doesn't run correctly. There's a problem when reading files. I'm getting short reads. I'm not linking in zlib or libsnmp because it first needs to be debugged. I changed the plugin code to use gmodule instead of libltdl, but the Unix build still links ethereal against libltdl. I'll fix that tonight; sorry about leaving it in such a sad state, but I wanted to check in this code before I left work on a Friday night. Ethereal still works, but the building is less than optimal. svn path=/trunk/; revision=1479
1999-12-28Add support for "--with-plugindir=<plugin install dir>" to configure.Gerald Combs1-1/+3
Make the default plugindir $(libdir)/ethereal/plugins/0.8. Ethereal now looks for plugins in the following directories: /usr/lib/ethereal/plugins/0.8 /usr/local/lib/ethereal/plugins/0.8 $plugindir (if different from above) $HOME/.ethereal/plugins svn path=/trunk/; revision=1382
1999-10-14Make it build on systems lacking "inet_pton()", "inet_ntop()", and aGuy Harris1-1/+3
definition of "AF_INET6". Declare those functions and, if it's not defined, define "AF_INET6" in "inet_v6defs.h", and arrange to include it if "inet_ntop()" is missing. (Systems will probably have both of them or lack both of them, and we may choose not to use the system's "inet_pton()" because it's buggy, so base the decision on whether to include "inet_v6defs.h" on whether we're using the system's "inet_ntop()" or not.) Fix some macro references in "Makefile.am" and "configure.in". svn path=/trunk/; revision=830
1999-10-06Give it a copyright notice and RCS ID.Guy Harris1-0/+25
svn path=/trunk/; revision=775
1999-07-09Added the ability to create a read-only ethereal, i.e., one thatGilbert Ramirez1-1/+0
doesn't link with libpcap, so no packet captures can be made. The "--disable-pcap" option has been added to the configure script. Docs have been updated. And the string buffer size in the simple_dialog() has been doubled so that Johan's e-mail address in the "About" dialogue window doesn't get chopped off. svn path=/trunk/; revision=351
1999-07-07Created a new protocol tree implementation and a new display filterGilbert Ramirez1-2/+0
mechanism that is built into ethereal. Wiretap is now used to read all file formats. Libpcap is used only for capturing. svn path=/trunk/; revision=342
1999-06-14Add our own "strerror()", which we use on platforms that don't have itGuy Harris1-0/+2
in the standard libraries (such as SunOS 4.x). svn path=/trunk/; revision=312
1998-11-17Add a "acinclude.m4" file that defines a "AC_ETHEREAL_STRUCT_SA_LEN"Guy Harris1-1/+1
macro (modeled after similar macros provided with "autoconf") to check whether "struct sockaddr" has an "sa_len" member, and defines or undefines "HAVE_SA_LEN" appropriately. Use it instead of "AC_LBL_SOCKADDR_SA_LEN", and use "HAVE_SA_LEN" instead of "HAVE_SOCKADDR_SA_LEN". svn path=/trunk/; revision=96
1998-11-15Back out some changes accidentally commited by the previous checkin - IGuy Harris1-1/+1
forgot that CVS, unlike Perforce, doesn't let you edit the list of files it gives you in the editor and cause those files *not* to be committed, it requires you to specify the files to be committed if you only want some files committed. svn path=/trunk/; revision=92
1998-11-15Add support to wiretap for reading Sun "snoop" capture files.Guy Harris1-1/+1
That requires that, in the packet-reading loop, we pass to the callback routine the offset in the file of a packet's data, because we can no longer compute that offset by subtracting the size of the captured packet data from the offset in the file after the data was read - "snoop" may stick padding in after the packet data to align packet headers on 4-byte boundaries. Doing that required that we arrange that we do that for "libpcap" capture files as well; the cleanest way to do that was to write our own code for reading "libpcap" capture files, rather than using the "libpcap" code to do it. Make "wtap_dispatch_cb()" and "pcap_dispatch_cb()" static to "file.c", as they're not used elsewhere. If we're using wiretap, don't define in "file.h" stuff used only when we're not using wiretap. Update the wiretap README to reflect Gilbert's and my recent changes. Clean up some memory leaks in "wiretap/lanalyzer.c" and "wiretap/ngsniffer.c", where the capture-file-format-specific data wasn't freed if the open failed. svn path=/trunk/; revision=91
1998-11-12A lengthy patch to add the wiretap library. Wiretap is not used by defaultGilbert Ramirez1-0/+3
because it is still in its infancy, but it can be compiled in optionally. The library exists in its own subdirectory ethereal/wiretap. This patch also edits all the packet-*.c files to remove the #include <pcap.h> line which is unnecessary in these files. In the ethereal code, file.c is the most heavily modified with #ifdef WITH_WIRETAP lines for the optional library. svn path=/trunk/; revision=82
1998-10-10* OSPF alignment fixes (Gerald)Gerald Combs1-0/+2
* FDDI support (Laurent, Guy) svn path=/trunk/; revision=36
1998-09-25* Ethernet manufacturer support (Laurent)Gerald Combs1-0/+2
* PPP fixes (Gerald) * Null/loopback interface support (Gerald) svn path=/trunk/; revision=25
1998-09-16Initial revisionGerald Combs1-0/+5
svn path=/trunk/; revision=2