xref: /netbsd-src/external/bsd/tcpdump/include/config.h (revision 26ba0b503b498a5194a71ac319838b7f5497f3fe)
18bc69f3eSchristos /* config.h.  Generated from config.h.in by configure.  */
2817e9a7eSchristos /* config.h.in.  Generated from configure.ac by autoheader.  */
38bc69f3eSchristos 
4c74ad251Schristos /* Define to 1 if arpa/inet.h declares `ether_ntohost' */
5c74ad251Schristos /* #undef ARPA_INET_H_DECLARES_ETHER_NTOHOST */
68bc69f3eSchristos 
7*26ba0b50Schristos /* define if you want to build the instrument functions code */
8*26ba0b50Schristos /* #undef ENABLE_INSTRUMENT_FUNCTIONS */
9*26ba0b50Schristos 
10c74ad251Schristos /* define if you want to build the possibly-buggy SMB printer */
11c74ad251Schristos /* #undef ENABLE_SMB */
128bc69f3eSchristos 
138bc69f3eSchristos /* Define to 1 if you have the `bpf_dump' function. */
148bc69f3eSchristos #define HAVE_BPF_DUMP 1
158bc69f3eSchristos 
16b3a00663Schristos /* capsicum support available */
17b3a00663Schristos /* #undef HAVE_CAPSICUM */
18b3a00663Schristos 
19b3a00663Schristos /* Define to 1 if you have the `cap_enter' function. */
20b3a00663Schristos /* #undef HAVE_CAP_ENTER */
21b3a00663Schristos 
22b3a00663Schristos /* Define to 1 if you have the `cap_ioctls_limit' function. */
23b3a00663Schristos /* #undef HAVE_CAP_IOCTLS_LIMIT */
24b3a00663Schristos 
25ba2ff121Schristos /* Define to 1 if you have the <cap-ng.h> header file. */
26ba2ff121Schristos /* #undef HAVE_CAP_NG_H */
27b3a00663Schristos 
28b3a00663Schristos /* Define to 1 if you have the `cap_rights_limit' function. */
29b3a00663Schristos /* #undef HAVE_CAP_RIGHTS_LIMIT */
30b3a00663Schristos 
31c74ad251Schristos /* Casper support available */
32c74ad251Schristos /* #undef HAVE_CASPER */
33c74ad251Schristos 
34c74ad251Schristos /* Define to 1 if you have the declaration of `ether_ntohost' */
35c74ad251Schristos /* #undef HAVE_DECL_ETHER_NTOHOST */
368bc69f3eSchristos 
378bc69f3eSchristos /* Define to 1 if you have the `ether_ntohost' function. */
388bc69f3eSchristos #define HAVE_ETHER_NTOHOST 1
398bc69f3eSchristos 
40fdccd7e4Schristos /* Define to 1 if you have the `EVP_CIPHER_CTX_new' function. */
41fdccd7e4Schristos #define HAVE_EVP_CIPHER_CTX_NEW 1
42fdccd7e4Schristos 
43c74ad251Schristos /* Define to 1 if you have the `EVP_DecryptInit_ex' function. */
44c74ad251Schristos #define HAVE_EVP_DECRYPTINIT_EX 1
45c74ad251Schristos 
460e9868baSchristos /* Define to 1 if you have the `fork' function. */
470e9868baSchristos #define HAVE_FORK 1
480e9868baSchristos 
49b3a00663Schristos /* Define to 1 if you have the `getopt_long' function. */
50b3a00663Schristos #define HAVE_GETOPT_LONG 1
51b3a00663Schristos 
529d3749d7Schristos /* define if you have getrpcbynumber() */
539d3749d7Schristos #define HAVE_GETRPCBYNUMBER 1
549d3749d7Schristos 
55c74ad251Schristos /* Define to 1 if you have the `getservent' function. */
56c74ad251Schristos #define HAVE_GETSERVENT 1
57c74ad251Schristos 
588bc69f3eSchristos /* Define to 1 if you have the <inttypes.h> header file. */
598bc69f3eSchristos #define HAVE_INTTYPES_H 1
608bc69f3eSchristos 
61ba2ff121Schristos /* Define to 1 if you have the `cap-ng' library (-lcap-ng). */
62ba2ff121Schristos /* #undef HAVE_LIBCAP_NG */
63ba2ff121Schristos 
64*26ba0b50Schristos /* Define to 1 if you have a usable `crypto' library (-lcrypto). */
65fdccd7e4Schristos #define HAVE_LIBCRYPTO 1
668bc69f3eSchristos 
678bc69f3eSchristos /* Define to 1 if you have the `rpc' library (-lrpc). */
688bc69f3eSchristos /* #undef HAVE_LIBRPC */
698bc69f3eSchristos 
70c74ad251Schristos /* Define to 1 if you have the <net/if.h> header file. */
71c74ad251Schristos #define HAVE_NET_IF_H 1
728bc69f3eSchristos 
73b3a00663Schristos /* Define to 1 if you have the `openat' function. */
74c74ad251Schristos /* #undef HAVE_OPENAT */
75b3a00663Schristos 
76fdccd7e4Schristos #ifndef __NetBSD__
77817e9a7eSchristos /* in the Makefile */
78fdccd7e4Schristos /* define if the OS provides AF_INET6 and struct in6_addr */
79fdccd7e4Schristos #define HAVE_OS_IPV6_SUPPORT 1
80fdccd7e4Schristos #endif
818bc69f3eSchristos 
828bc69f3eSchristos /* if there's an os_proto.h for this platform, to use additional prototypes */
838bc69f3eSchristos /* #undef HAVE_OS_PROTO_H */
848bc69f3eSchristos 
858bc69f3eSchristos /* Define to 1 if you have the `pcap_breakloop' function. */
868bc69f3eSchristos #define HAVE_PCAP_BREAKLOOP 1
878bc69f3eSchristos 
888bc69f3eSchristos /* Define to 1 if you have the `pcap_create' function. */
898bc69f3eSchristos #define HAVE_PCAP_CREATE 1
908bc69f3eSchristos 
919d3749d7Schristos /* define if libpcap has pcap_datalink_name_to_val() */
929d3749d7Schristos #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
939d3749d7Schristos 
949d3749d7Schristos /* define if libpcap has pcap_datalink_val_to_description() */
959d3749d7Schristos #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
969d3749d7Schristos 
979d3749d7Schristos /* define if libpcap has pcap_debug */
98*26ba0b50Schristos /* #undef HAVE_PCAP_DEBUG */
999d3749d7Schristos 
1008bc69f3eSchristos /* Define to 1 if you have the `pcap_dump_flush' function. */
1018bc69f3eSchristos #define HAVE_PCAP_DUMP_FLUSH 1
1028bc69f3eSchristos 
103c74ad251Schristos /* Define to 1 if you have the `pcap_dump_ftell' function. */
1049d3749d7Schristos #define HAVE_PCAP_DUMP_FTELL 1
1059d3749d7Schristos 
106c74ad251Schristos /* Define to 1 if you have the `pcap_dump_ftell64' function. */
107c74ad251Schristos #define HAVE_PCAP_DUMP_FTELL64 1
108c74ad251Schristos 
1098bc69f3eSchristos /* Define to 1 if you have the `pcap_findalldevs' function. */
1108bc69f3eSchristos #define HAVE_PCAP_FINDALLDEVS 1
1118bc69f3eSchristos 
112c74ad251Schristos /* Define to 1 if you have the `pcap_findalldevs_ex' function. */
113c74ad251Schristos #define HAVE_PCAP_FINDALLDEVS_EX 1
114c74ad251Schristos 
115b3a00663Schristos /* Define to 1 if you have the `pcap_free_datalinks' function. */
116b3a00663Schristos #define HAVE_PCAP_FREE_DATALINKS 1
117b3a00663Schristos 
1188bc69f3eSchristos /* Define to 1 if the system has the type `pcap_if_t'. */
1193bf9bbf1Schristos #define HAVE_PCAP_IF_T 1
1208bc69f3eSchristos 
1218bc69f3eSchristos /* Define to 1 if you have the `pcap_lib_version' function. */
1228bc69f3eSchristos #define HAVE_PCAP_LIB_VERSION 1
1238bc69f3eSchristos 
1249d3749d7Schristos /* define if libpcap has pcap_list_datalinks() */
1259d3749d7Schristos #define HAVE_PCAP_LIST_DATALINKS 1
1269d3749d7Schristos 
127c74ad251Schristos /* Define to 1 if you have the `pcap_open' function. */
128c74ad251Schristos #define HAVE_PCAP_OPEN 1
129c74ad251Schristos 
130c74ad251Schristos /* Define to 1 if you have the <pcap/pcap-inttypes.h> header file. */
131c74ad251Schristos #define HAVE_PCAP_PCAP_INTTYPES_H 1
132b3a00663Schristos 
1339d3749d7Schristos /* Define to 1 if you have the `pcap_setdirection' function. */
1349d3749d7Schristos #define HAVE_PCAP_SETDIRECTION 1
1359d3749d7Schristos 
136b3a00663Schristos /* Define to 1 if you have the `pcap_set_datalink' function. */
1379d3749d7Schristos #define HAVE_PCAP_SET_DATALINK 1
1389d3749d7Schristos 
139ba2ff121Schristos /* Define to 1 if you have the `pcap_set_immediate_mode' function. */
140ba2ff121Schristos #define HAVE_PCAP_SET_IMMEDIATE_MODE 1
141ba2ff121Schristos 
142fdccd7e4Schristos /* Define to 1 if you have the `pcap_set_optimizer_debug' function. */
143fdccd7e4Schristos /* #undef HAVE_PCAP_SET_OPTIMIZER_DEBUG */
144fdccd7e4Schristos 
145fdccd7e4Schristos /* Define to 1 if you have the `pcap_set_parser_debug' function. */
146*26ba0b50Schristos #define HAVE_PCAP_SET_PARSER_DEBUG 1
147fdccd7e4Schristos 
148b3a00663Schristos /* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
149b3a00663Schristos #define HAVE_PCAP_SET_TSTAMP_PRECISION 1
150b3a00663Schristos 
1510e9868baSchristos /* Define to 1 if you have the `pcap_set_tstamp_type' function. */
1529d3749d7Schristos #define HAVE_PCAP_SET_TSTAMP_TYPE 1
1530e9868baSchristos 
1549d3749d7Schristos /* define if libpcap has pcap_version */
1559d3749d7Schristos /* #undef HAVE_PCAP_VERSION */
1569d3749d7Schristos 
1578bc69f3eSchristos /* Define to 1 if you have the `pfopen' function. */
1588bc69f3eSchristos /* #undef HAVE_PFOPEN */
1598bc69f3eSchristos 
1608bc69f3eSchristos /* Define to 1 if you have the <rpc/rpcent.h> header file. */
1618bc69f3eSchristos #define HAVE_RPC_RPCENT_H 1
1628bc69f3eSchristos 
1630e9868baSchristos /* Define to 1 if you have the <rpc/rpc.h> header file. */
1640e9868baSchristos #define HAVE_RPC_RPC_H 1
1650e9868baSchristos 
1668bc69f3eSchristos /* Define to 1 if you have the `setlinebuf' function. */
1678bc69f3eSchristos #define HAVE_SETLINEBUF 1
1688bc69f3eSchristos 
1698bc69f3eSchristos /* Define to 1 if you have the <stdint.h> header file. */
1708bc69f3eSchristos #define HAVE_STDINT_H 1
1718bc69f3eSchristos 
172*26ba0b50Schristos /* Define to 1 if you have the <stdio.h> header file. */
173*26ba0b50Schristos #define HAVE_STDIO_H 1
174*26ba0b50Schristos 
1758bc69f3eSchristos /* Define to 1 if you have the <stdlib.h> header file. */
1768bc69f3eSchristos #define HAVE_STDLIB_H 1
1778bc69f3eSchristos 
1788bc69f3eSchristos /* Define to 1 if you have the `strdup' function. */
1798bc69f3eSchristos #define HAVE_STRDUP 1
1808bc69f3eSchristos 
1818bc69f3eSchristos /* Define to 1 if you have the <strings.h> header file. */
1828bc69f3eSchristos #define HAVE_STRINGS_H 1
1838bc69f3eSchristos 
1848bc69f3eSchristos /* Define to 1 if you have the <string.h> header file. */
1858bc69f3eSchristos #define HAVE_STRING_H 1
1868bc69f3eSchristos 
1878bc69f3eSchristos /* Define to 1 if you have the `strlcat' function. */
1888bc69f3eSchristos #define HAVE_STRLCAT 1
1898bc69f3eSchristos 
1908bc69f3eSchristos /* Define to 1 if you have the `strlcpy' function. */
1918bc69f3eSchristos #define HAVE_STRLCPY 1
1928bc69f3eSchristos 
1938bc69f3eSchristos /* Define to 1 if you have the `strsep' function. */
1948bc69f3eSchristos #define HAVE_STRSEP 1
1958bc69f3eSchristos 
1968bc69f3eSchristos /* Define to 1 if the system has the type `struct ether_addr'. */
1978bc69f3eSchristos /* #undef HAVE_STRUCT_ETHER_ADDR */
1988bc69f3eSchristos 
1998bc69f3eSchristos /* Define to 1 if you have the <sys/stat.h> header file. */
2008bc69f3eSchristos #define HAVE_SYS_STAT_H 1
2018bc69f3eSchristos 
2028bc69f3eSchristos /* Define to 1 if you have the <sys/types.h> header file. */
2038bc69f3eSchristos #define HAVE_SYS_TYPES_H 1
2048bc69f3eSchristos 
205ba2ff121Schristos /* Define to 1 if the system has the type `uintptr_t'. */
206ba2ff121Schristos #define HAVE_UINTPTR_T 1
207ba2ff121Schristos 
2088bc69f3eSchristos /* Define to 1 if you have the <unistd.h> header file. */
2098bc69f3eSchristos #define HAVE_UNISTD_H 1
2108bc69f3eSchristos 
2110e9868baSchristos /* Define to 1 if you have the `vfork' function. */
2120e9868baSchristos #define HAVE_VFORK 1
2130e9868baSchristos 
2149d3749d7Schristos /* define if libpcap has yydebug */
2159d3749d7Schristos /* #undef HAVE_YYDEBUG */
2169d3749d7Schristos 
2178bc69f3eSchristos /* Define to 1 if netinet/ether.h declares `ether_ntohost' */
2188bc69f3eSchristos /* #undef NETINET_ETHER_H_DECLARES_ETHER_NTOHOST */
2198bc69f3eSchristos 
2208bc69f3eSchristos /* Define to 1 if netinet/if_ether.h declares `ether_ntohost' */
221c74ad251Schristos /* #undef NETINET_IF_ETHER_H_DECLARES_ETHER_NTOHOST */
222c74ad251Schristos 
223c74ad251Schristos /* Define to 1 if net/ethernet.h declares `ether_ntohost' */
224c74ad251Schristos /* #undef NET_ETHERNET_H_DECLARES_ETHER_NTOHOST */
2258bc69f3eSchristos 
2268bc69f3eSchristos /* Define to the address where bug reports for this package should be sent. */
2278bc69f3eSchristos #define PACKAGE_BUGREPORT ""
2288bc69f3eSchristos 
2298bc69f3eSchristos /* Define to the full name of this package. */
230c74ad251Schristos #define PACKAGE_NAME "tcpdump"
2318bc69f3eSchristos 
2328bc69f3eSchristos /* Define to the full name and version of this package. */
233*26ba0b50Schristos #define PACKAGE_STRING "tcpdump 4.99.5"
2348bc69f3eSchristos 
2358bc69f3eSchristos /* Define to the one symbol short name of this package. */
236c74ad251Schristos #define PACKAGE_TARNAME "tcpdump"
2378bc69f3eSchristos 
2389d3749d7Schristos /* Define to the home page for this package. */
2399d3749d7Schristos #define PACKAGE_URL ""
2409d3749d7Schristos 
2418bc69f3eSchristos /* Define to the version of this package. */
242*26ba0b50Schristos #define PACKAGE_VERSION "4.99.5"
243*26ba0b50Schristos 
244*26ba0b50Schristos /* The size of `time_t', as computed by sizeof. */
245*26ba0b50Schristos #define SIZEOF_TIME_T 8
2468bc69f3eSchristos 
247c74ad251Schristos /* The size of `void *', as computed by sizeof. */
248*26ba0b50Schristos #ifdef _LP64
249*26ba0b50Schristos #define SIZEOF_VOID_P 8
250*26ba0b50Schristos #else
251*26ba0b50Schristos #define SIZEOF_VOID_P 4
252*26ba0b50Schristos #endif
2538bc69f3eSchristos 
254*26ba0b50Schristos /* Define to 1 if all of the C90 standard headers exist (not just the ones
255*26ba0b50Schristos    required in a freestanding environment). This macro is provided for
256*26ba0b50Schristos    backward compatibility; new code need not use it. */
2578bc69f3eSchristos #define STDC_HEADERS 1
2588bc69f3eSchristos 
259c74ad251Schristos /* Define to 1 if sys/ethernet.h declares `ether_ntohost' */
260c74ad251Schristos /* #undef SYS_ETHERNET_H_DECLARES_ETHER_NTOHOST */
2618bc69f3eSchristos 
2629d3749d7Schristos /* define if you have ether_ntohost() and it works */
263c74ad251Schristos /* #undef USE_ETHER_NTOHOST */
2649d3749d7Schristos 
265b3a00663Schristos /* Define if you enable support for libsmi */
266b3a00663Schristos /* #undef USE_LIBSMI */
267b3a00663Schristos 
2689d3749d7Schristos /* define if should chroot when dropping privileges */
2699d3749d7Schristos /* #undef WITH_CHROOT */
2709d3749d7Schristos 
2719d3749d7Schristos /* define if should drop privileges by default */
2729d3749d7Schristos /* #undef WITH_USER */
2739d3749d7Schristos 
2740e9868baSchristos /* define on AIX to get certain functions */
2750e9868baSchristos /* #undef _SUN */
2760e9868baSchristos 
2778bc69f3eSchristos /* to handle Ultrix compilers that don't support const in prototypes */
2788bc69f3eSchristos /* #undef const */
2798bc69f3eSchristos 
2808bc69f3eSchristos /* Define as token for inline if inlining supported */
2818bc69f3eSchristos #define inline inline
2828bc69f3eSchristos 
283b3a00663Schristos /* Define to `uint16_t' if u_int16_t not defined. */
2848bc69f3eSchristos /* #undef u_int16_t */
2858bc69f3eSchristos 
286b3a00663Schristos /* Define to `uint32_t' if u_int32_t not defined. */
2878bc69f3eSchristos /* #undef u_int32_t */
2888bc69f3eSchristos 
289b3a00663Schristos /* Define to `uint64_t' if u_int64_t not defined. */
2908bc69f3eSchristos /* #undef u_int64_t */
2918bc69f3eSchristos 
292b3a00663Schristos /* Define to `uint8_t' if u_int8_t not defined. */
2938bc69f3eSchristos /* #undef u_int8_t */
2949d3749d7Schristos 
295ba2ff121Schristos /* Define to the type of an unsigned integer type wide enough to hold a
296ba2ff121Schristos    pointer, if such a type exists, and if the system does not define it. */
297ba2ff121Schristos /* #undef uintptr_t */
298