config.h revision 172687
1/* $FreeBSD: head/usr.sbin/tcpdump/tcpdump/config.h 172687 2007-10-16 02:32:44Z mlaier $ */
2/* This is an edited copy of the config.h generated by configure. */
3
4/* config.h.  Generated by configure.  */
5/* config.h.in.  Generated from configure.in by autoheader.  */
6/* "generated automatically" means DO NOT MAKE CHANGES TO config.h.in --
7 * make them to acconfig.h and rerun autoheader */
8
9/* Define if you have SSLeay 0.9.0b with the buggy cast128. */
10/* #undef HAVE_BUGGY_CAST128 */
11
12/* Define if you enable IPv6 support */
13/* See Makefile */
14/* #undef INET6 */
15
16/* Define if you enable support for the libsmi. */
17/* #undef LIBSMI */
18
19/* Define if you have the <smi.h> header file.  */
20/* #undef HAVE_SMI_H */
21
22/* define if you have struct __res_state_ext */
23/* #undef HAVE_RES_STATE_EXT */
24
25/* define if your struct __res_state has the nsort member */
26/* #undef HAVE_NEW_RES_STATE */
27
28/*
29 * define if struct ether_header.ether_dhost is a struct with ether_addr_octet
30 */
31/* #undef ETHER_HEADER_HAS_EA */
32
33/* define if struct ether_arp contains arp_xsha */
34/* #undef ETHER_ARP_HAS_X */
35
36/* define if you have the addrinfo function. */
37#define HAVE_ADDRINFO 1
38
39/* define if you need to include missing/addrinfoh.h. */
40/* #undef NEED_ADDRINFO_H */
41
42/* define ifyou have the h_errno variable. */
43#define HAVE_H_ERRNO 1
44
45/* define if IN6ADDRSZ is defined (XXX not used!) */
46#define HAVE_IN6ADDRSZ 1
47
48/* define if INADDRSZ is defined (XXX not used!) */
49#define HAVE_INADDRSZ 1
50
51/* define if this is a development version, to use additional prototypes. */
52/* #undef HAVE_OS_PROTO_H */
53
54/* define if <unistd.h> defines __P() */
55/* #undef HAVE_PORTABLE_PROTOTYPE */
56
57/* define if RES_USE_INET6 is defined */
58#define HAVE_RES_USE_INET6 1
59
60/* define if struct sockaddr has the sa_len member */
61#define HAVE_SOCKADDR_SA_LEN 1
62
63/* define if you have struct sockaddr_storage */
64#define HAVE_SOCKADDR_STORAGE 1
65
66/* define if you have both getipnodebyname() and getipnodebyaddr() */
67/* #undef USE_GETIPNODEBY */
68
69/* define if you have ether_ntohost() and it works */
70#define USE_ETHER_NTOHOST 1
71
72/* define if libpcap has pcap_version */
73/* #undef HAVE_PCAP_VERSION */
74
75/* define if libpcap has pcap_debug */
76/* #undef HAVE_PCAP_DEBUG */
77
78/* define if libpcap has yydebug */
79/* #undef HAVE_YYDEBUG */
80
81/* define if libpcap has pcap_list_datalinks() */
82#define HAVE_PCAP_LIST_DATALINKS 1
83
84/* define if libpcap has pcap_set_datalink() */
85#define HAVE_PCAP_SET_DATALINK 1
86
87/* define if libpcap has pcap_datalink_name_to_val() */
88#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
89
90/* define if libpcap has pcap_datalink_val_to_description() */
91#define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
92
93/* define if libpcap has pcap_dump_ftell() */
94#define HAVE_PCAP_DUMP_FTELL 1
95
96/* define if you have getrpcbynumber() */
97#define HAVE_GETRPCBYNUMBER 1
98
99/* define if unaligned memory accesses fail */
100/* #undef LBL_ALIGN */
101
102/* The successful return value from signal (?)XXX */
103#define RETSIGVAL
104
105/* Define this on IRIX */
106/* #undef _BSD_SIGNALS */
107
108/* For HP/UX ANSI compiler? */
109/* #undef _HPUX_SOURCE */
110
111/* AIX hack. */
112/* #undef _SUN */
113
114/* Workaround for missing 64-bit formats */
115/* #undef PRId64 */
116/* #undef PRIo64 */
117/* #undef PRIx64 */
118/* #undef PRIu64 */
119
120/* Whether or not to include the possibly-buggy SMB printer */
121#define TCPDUMP_DO_SMB 1
122
123/* Long story short: aclocal.m4 depends on autoconf 2.13
124 * implementation details wrt "const"; newer versions
125 * have different implementation details so for now we
126 * put "const" here.  This may cause duplicate definitions
127 * in config.h but that should be OK since they're the same.
128 */
129/* #undef const */
130
131/* Define if you have the dnet_htoa function.  */
132/* #undef HAVE_DNET_HTOA */
133
134/* Define if you have a dnet_htoa declaration in <netdnet/dnetdb.h>.  */
135/* #undef HAVE_NETDNET_DNETDB_H_DNET_HTOA */
136
137/* define if should drop privileges by default */
138/* #undef WITH_USER */
139
140/* define if should chroot when dropping privileges */
141/* #undef WITH_CHROOT */
142
143/* Define to 1 if you have the `alarm' function. */
144#define HAVE_ALARM 1
145
146/* Define to 1 if you have the `bpf_dump' function. */
147#define HAVE_BPF_DUMP 1
148
149/* Define to 1 if you have the declaration of `ether_ntohost', and to 0 if you
150   don't. */
151#define HAVE_DECL_ETHER_NTOHOST 1
152
153/* Define to 1 if you have the `ether_ntohost' function. */
154#define HAVE_ETHER_NTOHOST 1
155
156/* Define to 1 if you have the <fcntl.h> header file. */
157#define HAVE_FCNTL_H 1
158
159/* Define to 1 if you have the `getaddrinfo' function. */
160#define HAVE_GETADDRINFO 1
161
162/* Define to 1 if you have the `getnameinfo' function. */
163#define HAVE_GETNAMEINFO 1
164
165/* Define to 1 if you have the <inttypes.h> header file. */
166#define HAVE_INTTYPES_H 1
167
168/* Define to 1 if you have the `crypto' library (-lcrypto). */
169/* See Makefile */
170/* #undef HAVE_LIBCRYPTO */
171
172/* Define to 1 if you have the `rpc' library (-lrpc). */
173/* #undef HAVE_LIBRPC */
174
175/* Define to 1 if you have the `smi' library (-lsmi). */
176/* #undef HAVE_LIBSMI */
177
178/* Define to 1 if you have the <memory.h> header file. */
179#define HAVE_MEMORY_H 1
180
181/* Define to 1 if you have the <netdnet/dnetdb.h> header file. */
182/* #undef HAVE_NETDNET_DNETDB_H */
183
184/* Define to 1 if you have the <netinet/ether.h> header file. */
185/* #undef HAVE_NETINET_ETHER_H */
186
187/* Define to 1 if you have the <netinet/if_ether.h> header file. */
188#define HAVE_NETINET_IF_ETHER_H 1
189
190/* Define to 1 if you have the <net/pfvar.h> header file. */
191/* See Makefile */
192/* #undef HAVE_NET_PFVAR_H */
193
194/* Define to 1 if you have the <openssl/evp.h> header file. */
195/* See Makefile */
196/* #undef HAVE_OPENSSL_EVP_H 1 */
197
198/* Define to 1 if you have the `pcap_breakloop' function. */
199#define HAVE_PCAP_BREAKLOOP 1
200
201/* Define to 1 if you have the `pcap_dump_flush' function. */
202#define HAVE_PCAP_DUMP_FLUSH 1
203
204/* Define to 1 if you have the `pcap_findalldevs' function. */
205#define HAVE_PCAP_FINDALLDEVS 1
206
207/* Define to 1 if the system has the type `pcap_if_t'. */
208#define HAVE_PCAP_IF_T 1
209
210/* Define to 1 if you have the `pcap_lib_version' function. */
211#define HAVE_PCAP_LIB_VERSION 1
212
213/* Define to 1 if you have the `pfopen' function. */
214/* #undef HAVE_PFOPEN */
215
216/* Define to 1 if you have the <rpc/rpcent.h> header file. */
217#define HAVE_RPC_RPCENT_H 1
218
219/* Define to 1 if you have the `setlinebuf' function. */
220#define HAVE_SETLINEBUF 1
221
222/* Define to 1 if you have the `sigaction' function. */
223#define HAVE_SIGACTION 1
224
225/* Define to 1 if you have the `sigset' function. */
226/* #undef HAVE_SIGSET */
227
228/* Define to 1 if you have the <smi.h> header file. */
229/* #undef HAVE_SMI_H */
230
231/* Define to 1 if you have the `snprintf' function. */
232#define HAVE_SNPRINTF 1
233
234/* Define to 1 if you have the <stdint.h> header file. */
235#define HAVE_STDINT_H 1
236
237/* Define to 1 if you have the <stdlib.h> header file. */
238#define HAVE_STDLIB_H 1
239
240/* Define to 1 if you have the `strcasecmp' function. */
241#define HAVE_STRCASECMP 1
242
243/* Define to 1 if you have the `strdup' function. */
244#define HAVE_STRDUP 1
245
246/* Define to 1 if you have the `strftime' function. */
247#define HAVE_STRFTIME 1
248
249/* Define to 1 if you have the <strings.h> header file. */
250#define HAVE_STRINGS_H 1
251
252/* Define to 1 if you have the <string.h> header file. */
253#define HAVE_STRING_H 1
254
255/* Define to 1 if you have the `strlcat' function. */
256#define HAVE_STRLCAT 1
257
258/* Define to 1 if you have the `strlcpy' function. */
259#define HAVE_STRLCPY 1
260
261/* Define to 1 if you have the `strsep' function. */
262#define HAVE_STRSEP 1
263
264/* Define to 1 if the system has the type `struct ether_addr'. */
265/* #undef HAVE_STRUCT_ETHER_ADDR */
266
267/* Define to 1 if you have the <sys/bitypes.h> header file. */
268/* #undef HAVE_SYS_BITYPES_H */
269
270/* Define to 1 if you have the <sys/stat.h> header file. */
271#define HAVE_SYS_STAT_H 1
272
273/* Define to 1 if you have the <sys/types.h> header file. */
274#define HAVE_SYS_TYPES_H 1
275
276/* Define to 1 if you have the <unistd.h> header file. */
277#define HAVE_UNISTD_H 1
278
279/* Define to 1 if you have the `vfprintf' function. */
280#define HAVE_VFPRINTF 1
281
282/* Define to 1 if you have the `vsnprintf' function. */
283#define HAVE_VSNPRINTF 1
284
285/* define if your compiler has __attribute__ */
286#define HAVE___ATTRIBUTE__ 1
287
288/* Define to 1 if netinet/ether.h declares `ether_ntohost' */
289/* #undef NETINET_ETHER_H_DECLARES_ETHER_NTOHOST */
290
291/* Define to 1 if netinet/if_ether.h declares `ether_ntohost' */
292#define NETINET_IF_ETHER_H_DECLARES_ETHER_NTOHOST
293
294/* Define to the address where bug reports for this package should be sent. */
295#define PACKAGE_BUGREPORT ""
296
297/* Define to the full name of this package. */
298#define PACKAGE_NAME ""
299
300/* Define to the full name and version of this package. */
301#define PACKAGE_STRING ""
302
303/* Define to the one symbol short name of this package. */
304#define PACKAGE_TARNAME ""
305
306/* Define to the version of this package. */
307#define PACKAGE_VERSION ""
308
309/* Define as the return type of signal handlers (`int' or `void'). */
310#define RETSIGTYPE void
311
312/* The size of `char', as computed by sizeof. */
313#define SIZEOF_CHAR 1
314
315/* The size of `int', as computed by sizeof. */
316#define SIZEOF_INT 4
317
318/* The size of `long', as computed by sizeof. */
319/* XXX: This is wrong, but possibly unused */
320#define SIZEOF_LONG 4
321
322/* The size of `long long', as computed by sizeof. */
323#define SIZEOF_LONG_LONG 8
324
325/* The size of `short', as computed by sizeof. */
326#define SIZEOF_SHORT 2
327
328/* Define to 1 if you have the ANSI C header files. */
329#define STDC_HEADERS 1
330
331/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
332#define TIME_WITH_SYS_TIME 1
333
334/* Define as token for inline if inlining supported */
335#define inline inline
336
337/* Define to `short' if int16_t not defined. */
338/* #undef int16_t */
339
340/* Define to `int' if int32_t not defined. */
341/* #undef int32_t */
342
343/* Define to `long long' if int64_t not defined. */
344/* #undef int64_t */
345
346/* Define to `signed char' if int8_t not defined. */
347/* #undef int8_t */
348
349/* Define to `unsigned short' if u_int16_t not defined. */
350/* #undef u_int16_t */
351
352/* Define to `unsigned int' if u_int32_t not defined. */
353/* #undef u_int32_t */
354
355/* Define to `unsigned long long' if u_int64_t not defined. */
356/* #undef u_int64_t */
357
358/* Define to `unsigned char' if u_int8_t not defined. */
359/* #undef u_int8_t */
360