X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/282ea8eca34549f3f34f29c8529b7c04f8abbcd8..27cb3953154b4562a7f4b51be6146688531903bd:/acconfig.h diff --git a/acconfig.h b/acconfig.h index ad9cce28..2f462e1b 100644 --- a/acconfig.h +++ b/acconfig.h @@ -2,20 +2,10 @@ * make them to acconfig.h and rerun autoheader */ @TOP@ -/* Define __P() macro, if necessary */ -#ifndef __P -#if __STDC__ -#define __P(protos) protos -#else -#define __P(protos) () -#endif -#endif - /* Define if you have SSLeay 0.9.0b with the buggy cast128. */ #undef HAVE_BUGGY_CAST128 -/* Define both to enable IPv6 support XXX why 2? ENABLE_IPV6 is not used. */ -#undef ENABLE_IPV6 +/* Define if you enable IPv6 support */ #undef INET6 /* Define if you enable support for the libsmi. */ @@ -30,7 +20,6 @@ /* define if your struct __res_state has the nsort member */ #undef HAVE_NEW_RES_STATE - /* * define if struct ether_header.ether_dhost is a struct with ether_addr_octet */ @@ -54,9 +43,6 @@ /* define if INADDRSZ is defined (XXX not used!) */ #undef HAVE_INADDRSZ -/* define if you have */ -#undef HAVE_NET_SLIP_H - /* define if this is a development version, to use additional prototypes. */ #undef HAVE_OS_PROTO_H @@ -75,14 +61,32 @@ /* define if you have both getipnodebyname() and getipnodebyaddr() */ #undef USE_GETIPNODEBY -/* Define if you have the inet_aton function. */ -#undef HAVE_INET_ATON +/* define if you have ether_ntohost() and it works */ +#undef USE_ETHER_NTOHOST + +/* define if libpcap has pcap_version */ +#undef HAVE_PCAP_VERSION + +/* define if libpcap has pcap_debug */ +#undef HAVE_PCAP_DEBUG + +/* define if libpcap has yydebug */ +#undef HAVE_YYDEBUG + +/* define if libpcap has pcap_list_datalinks() */ +#undef HAVE_PCAP_LIST_DATALINKS + +/* define if libpcap has pcap_set_datalink() */ +#undef HAVE_PCAP_SET_DATALINK -/* Define if you have the inet_ntop function. */ -#undef HAVE_INET_NTOP +/* define if libpcap has pcap_datalink_name_to_val() */ +#undef HAVE_PCAP_DATALINK_NAME_TO_VAL -/* Define if you have the inet_pton function. */ -#undef HAVE_INET_PTON +/* define if libpcap has pcap_datalink_val_to_description() */ +#undef HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION + +/* define if you have getrpcbynumber() */ +#undef HAVE_GETRPCBYNUMBER /* define if unaligned memory accesses fail */ #undef LBL_ALIGN @@ -99,13 +103,31 @@ /* AIX hack. */ #undef _SUN -/* OSF hack: "Workaround around ip_hl vs. ip_vhl problem in netinet/ip.h" */ -#undef __STDC__ +/* Workaround for missing 64-bit formats */ +#undef PRId64 +#undef PRIo64 +#undef PRIx64 +#undef PRIu64 + +/* Whether or not to include the possibly-buggy SMB printer */ +#undef TCPDUMP_DO_SMB + +/* Long story short: aclocal.m4 depends on autoconf 2.13 + * implementation details wrt "const"; newer versions + * have different implementation details so for now we + * put "const" here. This may cause duplicate definitions + * in config.h but that should be OK since they're the same. + */ +#undef const + +/* Define if you have the dnet_htoa function. */ +#undef HAVE_DNET_HTOA + +/* Define if you have a dnet_htoa declaration in . */ +#undef HAVE_NETDNET_DNETDB_H_DNET_HTOA + +/* define if should drop privileges by default */ +#undef WITH_USER -/* Workaround for missing sized types */ -/* XXX this should move to the more standard uint*_t */ -#undef int16_t -#undef int32_t -#undef u_int16_t -#undef u_int32_t -#undef u_int8_t +/* define if should chroot when dropping privileges */ +#undef WITH_CHROOT