aboutsummaryrefslogtreecommitdiffstats
path: root/acconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* Alas, we have to set HAVE_PLUGINS in the top-level configure script asGuy Harris2000-10-171-1/+3
| | | | | | well as in the libethereal configure script. svn path=/trunk/; revision=2503
* Give libethereal its own configuration file, and have that configurationGuy Harris2000-10-161-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | file, rather than the top-level Ethereal configuration file, check for "inet_aton()", "inet_pton()", and "inet_ntop()". Then make its Makefile.am include the appropriate object files if necessary. Otherwise, they don't get built and put into libethereal, and therefore attempts to link with anything in libethereal that uses them fail on platforms that lack ethem, causing the build to fail. That means a bunch of things need to be fixed to cope with libethereal having its own "config.h" file; this means removing the include of "config.h" from some libethereal header files. Move the definitions of the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so "resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure script (so we don't have to include it in "plugins.h" to check whether HAVE_DLFCN_H is defined). Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for now, define that in the top-level configuration file, and have Ethereal and Tethereal pass it as an argument to "epan_init()" - that should be cleaned up at some point. Remove from the top-level configure script checks for things used only in libethereal. svn path=/trunk/; revision=2498
* Apparently, on systems with glibc 2.2, "inet_aton()" is declared inGuy Harris2000-07-141-1/+3
| | | | | | | | | | | | | | | | | <arpa/inet.h>, but is, in some fashion, declared differently from the way we declare it in "inet_v6defs.h", but "inet_ntop()" isn't defined, so we include "inet_v6defs.h" in "inet_pton.c", which causes "inet_pton.c" not to compile as we get a collision between the two declarations. Move the declaration of "inet_aton()" to "inet_aton.h", define "NEED_INET_ATON_H" iff we didn't find "inet_aton()" in the system libraries, and include "inet_aton.h" in the callers of "inet_aton()" iff "NEED_INET_ATON_H" is defined, so that it doesn't get declared by us if "inet_aton()" is defined by a system library (which hopefully means it's declared in <arpa/inet.h> instead). svn path=/trunk/; revision=2137
* As we're not using the default action for AC_CHECK_LIB inGuy Harris2000-01-151-1/+3
| | | | | | | AC_ETHEREAL_PCAP_CHECK, we have to explicitly define HAVE_LIBPCAP if we find it, otherwise it doesn't get defined. svn path=/trunk/; revision=1486
* Merge in the final code to make Ethereal run on Win32, compiledGilbert Ramirez2000-01-151-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
* Add support for "--with-plugindir=<plugin install dir>" to configure.Gerald Combs1999-12-281-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
* Make it build on systems lacking "inet_pton()", "inet_ntop()", and aGuy Harris1999-10-141-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
* Give it a copyright notice and RCS ID.Guy Harris1999-10-061-0/+25
| | | | svn path=/trunk/; revision=775
* Added the ability to create a read-only ethereal, i.e., one thatGilbert Ramirez1999-07-091-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
* Created a new protocol tree implementation and a new display filterGilbert Ramirez1999-07-071-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
* Add our own "strerror()", which we use on platforms that don't have itGuy Harris1999-06-141-0/+2
| | | | | | in the standard libraries (such as SunOS 4.x). svn path=/trunk/; revision=312
* Add a "acinclude.m4" file that defines a "AC_ETHEREAL_STRUCT_SA_LEN"Guy Harris1998-11-171-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
* Back out some changes accidentally commited by the previous checkin - IGuy Harris1998-11-151-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
* Add support to wiretap for reading Sun "snoop" capture files.Guy Harris1998-11-151-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
* A lengthy patch to add the wiretap library. Wiretap is not used by defaultGilbert Ramirez1998-11-121-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
* * OSPF alignment fixes (Gerald)Gerald Combs1998-10-101-0/+2
| | | | | | * FDDI support (Laurent, Guy) svn path=/trunk/; revision=36
* * Ethernet manufacturer support (Laurent)Gerald Combs1998-09-251-0/+2
| | | | | | | * PPP fixes (Gerald) * Null/loopback interface support (Gerald) svn path=/trunk/; revision=25
* Initial revisionstartethereal-0.3.15ethereal-0-3-15backups/ethereal@18706etherealGerald Combs1998-09-161-0/+5
svn path=/trunk/; revision=2