1 /* $FreeBSD: src/usr.sbin/tcpdump/tcpdump/config.h,v 1.1.2.4 2002/07/05 11:30:32 fenner Exp $ */
2 /* $DragonFly: src/usr.sbin/tcpdump/tcpdump/config.h,v 1.3 2004/05/15 12:29:42 eirikn Exp $ */
3 /* This is an edited copy of the config.h generated by configure. */
5 /* config.h. Generated automatically by configure. */
6 /* config.h.in. Generated automatically from configure.in by autoheader. */
7 /* "generated automatically" means DO NOT MAKE CHANGES TO config.h.in --
8 * make them to acconfig.h and rerun autoheader */
10 /* Define as __inline if that's what the C compiler calls it. */
13 /* Define as the return type of signal handlers (int or void). */
14 #define RETSIGTYPE void
16 /* Define if you can safely include both <sys/time.h> and <time.h>. */
17 #define TIME_WITH_SYS_TIME 1
19 /* Define if you have SSLeay 0.9.0b with the buggy cast128. */
20 /* #undef HAVE_BUGGY_CAST128 */
22 /* Define if you enable IPv6 support */
23 /* Handled by Makefile, to allow NOINET6 */
26 /* Define if you enable support for the libsmi. */
29 /* define if you have struct __res_state_ext */
30 #define HAVE_RES_STATE_EXT 1
32 /* define if your struct __res_state has the nsort member */
33 #define HAVE_NEW_RES_STATE 1
35 /* define if you have the addrinfo function. */
36 #define HAVE_ADDRINFO 1
38 /* define if you need to include missing/addrinfoh.h. */
39 /* #undef NEED_ADDRINFO_H */
41 /* define ifyou have the h_errno variable. */
42 #define HAVE_H_ERRNO 1
44 /* define if IN6ADDRSZ is defined (XXX not used!) */
45 #define HAVE_IN6ADDRSZ 1
47 /* define if INADDRSZ is defined (XXX not used!) */
48 #define HAVE_INADDRSZ 1
50 /* define if this is a development version, to use additional prototypes. */
51 /* #undef HAVE_OS_PROTO_H */
53 /* define if RES_USE_INET6 is defined */
54 #define HAVE_RES_USE_INET6 1
56 /* define if struct sockaddr has the sa_len member */
57 #define HAVE_SOCKADDR_SA_LEN 1
59 /* define if you have struct sockaddr_storage */
60 #define HAVE_SOCKADDR_STORAGE 1
62 /* define if you have both getipnodebyname() and getipnodebyaddr() */
63 /* #undef USE_GETIPNODEBY */
65 /* define if you have ether_ntohost() and it works */
66 #define USE_ETHER_NTOHOST 1
68 /* define if unaligned memory accesses fail */
69 /* #undef LBL_ALIGN */
71 /* The successful return value from signal (?)XXX */
74 /* Define this on IRIX */
75 /* #undef _BSD_SIGNALS */
77 /* For HP/UX ANSI compiler? */
78 /* #undef _HPUX_SOURCE */
83 /* Workaround for missing sized types */
84 /* XXX this should move to the more standard uint*_t */
88 /* #undef u_int16_t */
89 /* #undef u_int32_t */
92 /* Whether or not to include the possibly-buggy SMB printer */
93 #define TCPDUMP_DO_SMB 1
95 /* Long story short: aclocal.m4 depends on autoconf 2.13
96 * implementation details wrt "const"; newer versions
97 * have different implementation details so for now we
98 * put "const" here. This may cause duplicate definitions
99 * in config.h but that should be OK since they're the same.
103 /* Define if you have the dnet_htoa function. */
104 /* #undef HAVE_DNET_HTOA */
106 /* Define if you have a dnet_htoa declaration in <netdnet/dnetdb.h>. */
107 /* #undef HAVE_NETDNET_DNETDB_H_DNET_HTOA */
109 /* The number of bytes in a char. */
110 #define SIZEOF_CHAR 1
112 /* The number of bytes in a int. */
115 /* The number of bytes in a long. */
116 #define SIZEOF_LONG 4
118 /* The number of bytes in a short. */
119 #define SIZEOF_SHORT 2
121 /* Define to 1 if you have the `bpf_dump' function. */
122 #define HAVE_BPF_DUMP 1
124 /* Define to 1 if you have the `ether_ntohost' function. */
125 #define HAVE_ETHER_NTOHOST 1
127 /* Define to 1 if you have the `getaddrinfo' function. */
128 #define HAVE_GETADDRINFO 1
130 /* Define to 1 if you have the `getnameinfo' function. */
131 #define HAVE_GETNAMEINFO 1
133 /* Define to 1 if you have the <inttypes.h> header file. */
134 #define HAVE_INTTYPES_H 1
136 /* Define to 1 if you have the `pfopen' function. */
137 /* #undef HAVE_PFOPEN */
139 /* Define to 1 if you have the `setlinebuf' function. */
140 #define HAVE_SETLINEBUF 1
142 /* Define to 1 if you have the `sigaction' function. */
143 #define HAVE_SIGACTION 1
145 /* Define to 1 if you have the `sigset' function. */
146 /* #undef HAVE_SIGSET */
148 /* Define to 1 if you have the `snprintf' function. */
149 #define HAVE_SNPRINTF 1
151 /* Define to 1 if you have the `strcasecmp' function. */
152 #define HAVE_STRCASECMP 1
154 /* Define to 1 if you have the `strdup' function. */
155 #define HAVE_STRDUP 1
157 /* Define to 1 if you have the `strlcat' function. */
158 #define HAVE_STRLCAT 1
160 /* Define to 1 if you have the `strlcpy' function. */
161 #define HAVE_STRLCPY 1
163 /* Define to 1 if you have the `vfprintf' function. */
164 #define HAVE_VFPRINTF 1
166 /* Define to 1 if you have the `vsnprintf' function. */
167 #define HAVE_VSNPRINTF 1
169 /* Define if you have the <cast.h> header file. */
170 /* Handled by Makefile, to allow optional crypto */
171 /* #define HAVE_CAST_H 1 */
173 /* Define to 1 if you have the <fcntl.h> header file. */
174 #define HAVE_FCNTL_H 1
176 /* Define to 1 if you have the <netinet/if_ether.h> header file. */
177 #define HAVE_NETINET_IF_ETHER_H 1
179 /* Define to 1 if you have the <openssl/evp.h> header file. */
180 #define HAVE_OPENSSL_EVP_H 1
182 /* Define to 1 if you have the <rpc/rpcent.h> header file. */
183 /* #undef HAVE_RPC_RPCENT_H */
185 /* Define to 1 if you have the <smi.h> header file. */
186 /* #undef HAVE_SMI_H */
188 /* Define if you have the crypto library (-lcrypto). */
189 /* Handled by Makefile, to allow optional crypto */
190 /* #define HAVE_LIBCRYPTO 1 */
192 /* Define to 1 if you have the `rpc' library (-lrpc). */
193 /* #undef HAVE_LIBRPC */
195 /* Define to 1 if you have the `smi' library (-lsmi). */
196 /* #undef HAVE_LIBSMI */
198 /* define if your compiler has __attribute__ */
199 #define HAVE___ATTRIBUTE__ 1
202 * define if struct ether_header.ether_dhost is a struct with ether_addr_octet
204 /* #undef ETHER_HEADER_HAS_EA */
206 /* define if struct ether_arp contains arp_xsha */
207 /* #undef ETHER_ARP_HAS_X */
209 /* define if <unistd.h> defines __P() */
210 /* #undef HAVE_PORTABLE_PROTOTYPE */
212 /* define if libpcap has pcap_version */
213 #define HAVE_PCAP_VERSION 1
215 /* define if libpcap has pcap_debug */
216 /* #undef HAVE_PCAP_DEBUG */
218 /* define if libpcap has yydebug */
219 /* #undef HAVE_YYDEBUG */
221 /* define if libpcap has pcap_list_datalinks() */
222 #define HAVE_PCAP_LIST_DATALINKS 1
224 /* define if libpcap has pcap_set_datalink() */
225 #define HAVE_PCAP_SET_DATALINK 1
227 /* define if libpcap has pcap_datalink_name_to_val() */
228 #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
230 /* define if libpcap has pcap_datalink_val_to_description() */
231 #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
233 /* Define to 1 if you have the <memory.h> header file. */
234 #define HAVE_MEMORY_H 1
236 /* Define to 1 if you have the <netdnet/dnetdb.h> header file. */
237 /* #undef HAVE_NETDNET_DNETDB_H */
239 /* Define to 1 if you have the <netinet/ether.h> header file. */
240 /* #undef HAVE_NETINET_ETHER_H */
242 /* Define to 1 if you have the `pcap_breakloop' function. */
243 #define HAVE_PCAP_BREAKLOOP 1
245 /* Define to 1 if you have the `pcap_dump_flush' function. */
246 #define HAVE_PCAP_DUMP_FLUSH 1
248 /* Define to 1 if you have the `pcap_findalldevs' function. */
249 #define HAVE_PCAP_FINDALLDEVS 1
251 /* Define to 1 if the system has the type `pcap_if_t'. */
252 #define HAVE_PCAP_IF_T 1
254 /* Define to 1 if you have the `pcap_lib_version' function. */
255 #define HAVE_PCAP_LIB_VERSION 1
257 /* Define to 1 if you have the <stdint.h> header file. */
258 #define HAVE_STDINT_H 1
260 /* Define to 1 if you have the <stdlib.h> header file. */
261 #define HAVE_STDLIB_H 1
263 /* Define to 1 if you have the `strftime' function. */
264 #define HAVE_STRFTIME 1
266 /* Define to 1 if you have the <strings.h> header file. */
267 #define HAVE_STRINGS_H 1
269 /* Define to 1 if you have the <string.h> header file. */
270 #define HAVE_STRING_H 1
272 /* Define to 1 if you have the `strsep' function. */
273 #define HAVE_STRSEP 1
275 /* Define to 1 if you have the <sys/stat.h> header file. */
276 #define HAVE_SYS_STAT_H 1
278 /* Define to 1 if you have the <sys/types.h> header file. */
279 #define HAVE_SYS_TYPES_H 1
281 /* Define to 1 if you have the <unistd.h> header file. */
282 #define HAVE_UNISTD_H 1
284 /* Define to the address where bug reports for this package should be sent. */
285 #define PACKAGE_BUGREPORT ""
287 /* Define to the full name of this package. */
288 #define PACKAGE_NAME ""
290 /* Define to the full name and version of this package. */
291 #define PACKAGE_STRING ""
293 /* Define to the one symbol short name of this package. */
294 #define PACKAGE_TARNAME ""
296 /* Define to the version of this package. */
297 #define PACKAGE_VERSION ""
299 /* Define to 1 if you have the ANSI C header files. */
300 #define STDC_HEADERS 1