Commit Graph

23 Commits

Author SHA1 Message Date
hannes
ad71414016 from Pekka Savola <pekkas@netcore.fi>:
add a compile time option --with-user=USERNAME that
 drops privileges by default to USERNAME
2004-01-22 09:51:30 +00:00
guy
0cf35b497d Print both the name and the description of a link-layer type (the name
isn't always very suggestive - for example, somebody might think
"EN10MB" is always 10 MB/s, and might not know that "IEEE802" is Token
Ring), using "pcap_datalink_val_to_description()".  Supply our own
"pcap_datalink_val_to_description()" if libpcap doesn't have it (even if
it has "pcap_datalink_name_to_val()").
2003-11-18 23:09:42 +00:00
guy
6076158547 NetBSD support for multiple data link types on an interface, from David
Young <dyoung@ojctech.com>, with some minor changes by Jason R. Thorpe
<thorpej@netbsd.org>, and further changes by me to:

	use "-y" rather than "-D" to set the link type ("-D" was already
	taken);

	use libpcap APIs to map between data link type names and values;

	supply stub versions of missing-but-needed libpcap APIs.

Update Jason Thorpe's e-mail address (Zembu is going away, if it hasn't
done so already).
2002-12-19 09:27:54 +00:00
guy
5c9aea35c4 We're using int8_t now, so we need to declare it ourselves if the OS
header files don't do so for us.
2002-12-11 05:00:05 +00:00
guy
c2bfaa8575 Check for "pcap_version" in libpcap in the configure scripts; apparently
the libpcap that comes with some platforms doesn't define it.

Check for "pcap_debug" and "yydebug" in libpcap in the configure
scripts, so that whichever one is present (which might depend on whether
libpcap was built with standard YACC or Berkeley YACC/Bison), if any is
present, will be used by the "-Y" flag (if none is present, "-Y" won't
be supported).
2002-09-05 01:31:41 +00:00
guy
0c39e2bdaa From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
DECnet support currently assumes certain conditions instead of
	checking for them explicitly.  The following code checks if
	dnet_htoa() is available, possibly in libdnet and also verifies
	there is no declaration for the function in <netdnet/dnetdb.h>
	before it decides to provide a substitute.
2002-04-07 02:09:04 +00:00
fenner
6ce794b26b Add "const" for newer autoconf. 2001-11-12 22:37:47 +00:00
fenner
a5562fdcfe Add --enable-smb to make it easier to re-enable the SMB printer. 2001-10-08 21:25:15 +00:00
fenner
3893f46237 Change HAVE_ETHER_HOSTTON to USE_ETHER_HOSTTON
Only define USE_ETHER_HOSTTON if ether_hostton() doesn't dump core.
2001-04-27 02:33:42 +00:00
fenner
c09e6737ee Eliminate __P(). 2000-10-24 00:56:48 +00:00
guy
b72953a314 As we no longer use the system's "slip.h" header file, there's no need
to check for it.
2000-10-09 01:58:53 +00:00
itojun
c43ed203fe no need for ENABLE_IPV6 2000-10-07 05:47:44 +00:00
fenner
92ca94f40f Revert rev 1.9, since Guy has a better way. 2000-10-06 17:21:39 +00:00
guy
b67cb8951c We no longer include <netinet/ip.h>, so we don't need to work around
Digital UNIX using "ip_vhl" rather than "ip_v" and "ip_hl" bitfields if
__STDC__ is defined (we have our own "ip.h", and we don't use bitfields
in it).

Get rid of HAVE_INET_ATON, HAVE_INET_NTOP, and HAVE_INET_PTON - we don't
use them; instead, we supply our own versions of "inet_aton()",
"inet_ntop()", and "inet_pton()".  (Defining them in "configure.in"
caused complaints from "autoreconf".)

Check for the "rc5.h" header, as we *do* use HAVE_RC5_H.
2000-10-06 04:19:21 +00:00
fenner
282ea8eca3 Unbreak autoheader
(was broken by rev. 1.123 of configure.in)
2000-10-04 16:59:04 +00:00
guy
e894092542 Add definitions of Ethernet types from
"linux-includes/netinet/if_ether.h" to "ethertype.h".

Move other stuff used by dissectors from <netinet/if_ether.h> to
"ether.h", along the lines of "fddi.h" and "token.h".

Move ARP declarations from BSD include files to "print-arp.c".

Remove from dissectors includes of <netinet/if_ether.h>, and add
includes of "ethertype.h" and/or "ether.h" as necessary.

Get rid of configuration options that test declarations now made in
"ether.h" or "print-arp.c", as those declarations are now under our
control, not the OS's control.
2000-09-23 08:03:27 +00:00
assar
7804899c0f add __P 2000-07-11 00:48:05 +00:00
itojun
d52a795611 check for getipnodeby*.
comment out zlib items (not currently in use).
2000-01-25 17:57:59 +00:00
itojun
06e6cc1165 regen 2000-01-21 04:06:39 +00:00
fenner
6520f4e40f Don't check for T_AAAA in configure; print-domain.c already
does #ifndef #define.
2000-01-20 06:50:56 +00:00
mcr
5c835f2c51 fixed check for libssl to make HAVE_LIBCRYPTO 2000-01-15 01:58:56 +00:00
fenner
350630ebbe Never make changes to config.h.in directly; it is automatically generated. 1999-12-14 16:34:41 +00:00
fenner
b9ac23ce92 Switch to config.h instead of passing defines in DEFS. 1999-11-21 09:36:43 +00:00