config.h revision 190226
175111Sfenner/* $FreeBSD: head/lib/libpcap/config.h 190226 2009-03-21 22:59:02Z rpaulo $ */
275111Sfenner/* This is an edited copy of the config.h generated by configure. */
375111Sfenner
4146772Ssam/* config.h.  Generated by configure.  */
5146772Ssam/* config.h.in.  Generated from configure.in by autoheader.  */
698529Sfenner/* Long story short: aclocal.m4 depends on autoconf 2.13
798529Sfenner * implementation details wrt "const"; newer versions
898529Sfenner * have different implementation details so for now we
998529Sfenner * put "const" here.  This may cause duplicate definitions
1098529Sfenner * in config.h but that should be OK since they're the same.
1198529Sfenner */
1298529Sfenner/* #undef const */
1398529Sfenner
14146772Ssam/* Enable optimizer debugging */
15146772Ssam/* #undef BDEBUG */
16146772Ssam
17172681Smlaier/* define if you have a cloning BPF device */
18181690Sed#define HAVE_CLONING_BPF 1
19172681Smlaier
20190226Srpaulo/* define if you have dag_get_stream_erf_types() */
21190226Srpaulo/* #undef HAVE_DAG_GET_STREAM_ERF_TYPES */
22190226Srpaulo
23146772Ssam/* define if you have the DAG API */
24146772Ssam/* #undef HAVE_DAG_API */
25146772Ssam
26172681Smlaier/* define if you have dag_get_erf_types() */
27172681Smlaier/* #undef HAVE_DAG_GET_ERF_TYPES */
28172681Smlaier
29172681Smlaier/* define if you have streams capable DAG API */
30172681Smlaier/* #undef HAVE_DAG_STREAMS_API */
31172681Smlaier
32146772Ssam/* Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
33146772Ssam   don't. */
34146772Ssam#define HAVE_DECL_ETHER_HOSTTON 1
35146772Ssam
36190226Srpaulo/* if passive_req_t primitive exists */
37190226Srpaulo/* #undef HAVE_DLPI_PASSIVE */
38190226Srpaulo
39146772Ssam/* define if you have a /dev/dlpi */
40146772Ssam/* #undef HAVE_DEV_DLPI */
41146772Ssam
42146772Ssam/* Define to 1 if you have the `ether_hostton' function. */
4375111Sfenner#define HAVE_ETHER_HOSTTON 1
4475111Sfenner
45190226Srpaulo/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
46190226Srpaulo#define HAVE_FSEEKO 1
47190226Srpaulo
48172681Smlaier/* on HP-UX 10.20 or later */
49172681Smlaier/* #undef HAVE_HPUX10_20_OR_LATER */
5075111Sfenner
51146772Ssam/* on HP-UX 9.x */
52146772Ssam/* #undef HAVE_HPUX9 */
5375111Sfenner
54146772Ssam/* if ppa_info_t_dl_module_id exists */
55146772Ssam/* #undef HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 */
5675111Sfenner
57146772Ssam/* Define to 1 if you have the <inttypes.h> header file. */
58146772Ssam#define HAVE_INTTYPES_H 1
59146772Ssam
60190226Srpaulo/* if libdlpi exists */
61190226Srpaulo/* #undef HAVE_LIBDLPI */
62190226Srpaulo
63146772Ssam/* Define to 1 if you have the <limits.h> header file. */
6498529Sfenner#define HAVE_LIMITS_H 1
6598529Sfenner
66190226Srpaulo/* if tp_vlan_tci exists */
67190226Srpaulo/* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
68190226Srpaulo
69190226Srpaulo/* Define to 1 if you have the <linux/wireless.h> header file. */
70190226Srpaulo/* #undef HAVE_LINUX_WIRELESS_H */
71190226Srpaulo
72146772Ssam/* Define to 1 if you have the <memory.h> header file. */
73146772Ssam#define HAVE_MEMORY_H 1
74146772Ssam
75146772Ssam/* Define to 1 if you have the <netinet/ether.h> header file. */
76146772Ssam/* #undef HAVE_NETINET_ETHER_H */
77146772Ssam
78146772Ssam/* Define to 1 if you have the <netinet/if_ether.h> header file. */
7975111Sfenner#define HAVE_NETINET_IF_ETHER_H 1
8075111Sfenner
81190226Srpaulo/* Define to 1 if you have the <net/if_media.h> header file. */
82190226Srpaulo#define HAVE_NET_IF_MEDIA_H 1
83190226Srpaulo
84172681Smlaier/* Define to 1 if you have the <net/pfvar.h> header file. */
85172681Smlaier/* See Makefile */
86172681Smlaier/* #undef HAVE_NET_PFVAR_H */
87172681Smlaier
88146772Ssam/* if there's an os_proto.h */
89146772Ssam/* #undef HAVE_OS_PROTO_H */
90146772Ssam
91172681Smlaier/* Define to 1 if you have the <paths.h> header file. */
92172681Smlaier#define HAVE_PATHS_H 1
93172681Smlaier
94146772Ssam/* define if you have a /proc/net/dev */
95146772Ssam/* #undef HAVE_PROC_NET_DEV */
96146772Ssam
97172681Smlaier/* define if you have a Septel API */
98172681Smlaier/* #undef HAVE_SEPTEL_API */
99172681Smlaier
100146772Ssam/* Define to 1 if you have the `snprintf' function. */
101146772Ssam#define HAVE_SNPRINTF 1
102146772Ssam
103146772Ssam/* if struct sockaddr has sa_len */
104146772Ssam#define HAVE_SOCKADDR_SA_LEN 1
105146772Ssam
106146772Ssam/* if struct sockaddr_storage exists */
107146772Ssam#define HAVE_SOCKADDR_STORAGE 1
108190226Srpaulo
109190226Srpaulo/* define if socklen_t is defined */
110190226Srpaulo#define HAVE_SOCKLEN_T 1
111146772Ssam
112146772Ssam/* On solaris */
113146772Ssam/* #undef HAVE_SOLARIS */
114146772Ssam
115146772Ssam/* Define to 1 if you have the <stdint.h> header file. */
116146772Ssam#define HAVE_STDINT_H 1
117146772Ssam
118146772Ssam/* Define to 1 if you have the <stdlib.h> header file. */
119146772Ssam#define HAVE_STDLIB_H 1
120146772Ssam
121146772Ssam/* Define to 1 if you have the `strerror' function. */
122146772Ssam#define HAVE_STRERROR 1
123146772Ssam
124146772Ssam/* Define to 1 if you have the <strings.h> header file. */
125146772Ssam#define HAVE_STRINGS_H 1
126146772Ssam
127146772Ssam/* Define to 1 if you have the <string.h> header file. */
128146772Ssam#define HAVE_STRING_H 1
129146772Ssam
130146772Ssam/* Define to 1 if you have the `strlcpy' function. */
131146772Ssam#define HAVE_STRLCPY 1
132146772Ssam
133172681Smlaier/* Define to 1 if the system has the type `struct ether_addr'. */
134172681Smlaier/* #undef HAVE_STRUCT_ETHER_ADDR */
135172681Smlaier
136146772Ssam/* Define to 1 if you have the <sys/bufmod.h> header file. */
13775111Sfenner/* #undef HAVE_SYS_BUFMOD_H */
13875111Sfenner
139146772Ssam/* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
14075111Sfenner/* #undef HAVE_SYS_DLPI_EXT_H */
14175111Sfenner
142146772Ssam/* Define to 1 if you have the <sys/ioccom.h> header file. */
14375111Sfenner#define HAVE_SYS_IOCCOM_H 1
14475111Sfenner
145146772Ssam/* Define to 1 if you have the <sys/sockio.h> header file. */
14675111Sfenner#define HAVE_SYS_SOCKIO_H 1
14775111Sfenner
148146772Ssam/* Define to 1 if you have the <sys/stat.h> header file. */
149146772Ssam#define HAVE_SYS_STAT_H 1
15075111Sfenner
151146772Ssam/* Define to 1 if you have the <sys/types.h> header file. */
152146772Ssam#define HAVE_SYS_TYPES_H 1
153146772Ssam
154146772Ssam/* if if_packet.h has tpacket_stats defined */
155146772Ssam/* #undef HAVE_TPACKET_STATS */
156146772Ssam
157146772Ssam/* Define to 1 if you have the <unistd.h> header file. */
158146772Ssam#define HAVE_UNISTD_H 1
159146772Ssam
160146772Ssam/* define if version.h is generated in the build procedure */
161146772Ssam#define HAVE_VERSION_H 1
162146772Ssam
163146772Ssam/* Define to 1 if you have the `vsnprintf' function. */
164146772Ssam#define HAVE_VSNPRINTF 1
165146772Ssam
166190226Srpaulo/* define if the system supports zerocopy BPF */
167190226Srpaulo#define	HAVE_ZEROCOPY_BPF 1
168190226Srpaulo
16975111Sfenner/* define if your compiler has __attribute__ */
17075111Sfenner#define HAVE___ATTRIBUTE__ 1
17175111Sfenner
172146772Ssam/* IPv6 */
173146772Ssam/* #undef INET6 */
17475111Sfenner
175146772Ssam/* if unaligned access fails */
176146772Ssam/* #undef LBL_ALIGN */
17775111Sfenner
178190226Srpaulo/* path for device for USB sniffing */
179190226Srpaulo/* #undef LINUX_USB_MON_DEV */
180190226Srpaulo
181146772Ssam/* Define to 1 if netinet/ether.h declares `ether_hostton' */
182146772Ssam/* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
18375111Sfenner
184146772Ssam/* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
185146772Ssam#define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON
186146772Ssam
18775111Sfenner/* do not use protochain */
18875111Sfenner/* #undef NO_PROTOCHAIN */
18975111Sfenner
190146772Ssam/* Define to the address where bug reports for this package should be sent. */
191146772Ssam#define PACKAGE_BUGREPORT ""
19275111Sfenner
193146772Ssam/* Define to the full name of this package. */
194146772Ssam#define PACKAGE_NAME ""
19598529Sfenner
196146772Ssam/* Define to the full name and version of this package. */
197146772Ssam#define PACKAGE_STRING ""
19898529Sfenner
199146772Ssam/* Define to the one symbol short name of this package. */
200146772Ssam#define PACKAGE_TARNAME ""
20175111Sfenner
202146772Ssam/* Define to the version of this package. */
203146772Ssam#define PACKAGE_VERSION ""
204146772Ssam
20575111Sfenner/* /dev/dlpi directory */
20675111Sfenner/* #undef PCAP_DEV_PREFIX */
20775111Sfenner
208190226Srpaulo/* target host supports Bluetooth sniffing */
209190226Srpaulo/* #undef PCAP_SUPPORT_BT */
210190226Srpaulo
211190226Srpaulo/* target host supports USB sniffing */
212190226Srpaulo/* #undef PCAP_SUPPORT_USB */
213190226Srpaulo
214190226Srpaulo/* include ACN support */
215190226Srpaulo/* #undef SITA */
216190226Srpaulo
217146772Ssam/* Define to 1 if you have the ANSI C header files. */
218146772Ssam#define STDC_HEADERS 1
21998529Sfenner
220146772Ssam/* Enable parser debugging */
221146772Ssam/* #undef YYDEBUG */
22298529Sfenner
223146772Ssam/* needed on HP-UX */
224146772Ssam/* #undef _HPUX_SOURCE */
225146772Ssam
226190226Srpaulo/* Number of bits in a file offset, on hosts where this is settable. */
227190226Srpaulo/* #undef _FILE_OFFSET_BITS */
228190226Srpaulo
229190226Srpaulo/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).  */
230190226Srpaulo/* #undef _LARGEFILE_SOURCE */
231190226Srpaulo
232190226Srpaulo/* Define for large files, on AIX-style hosts. */
233190226Srpaulo/* #undef _LARGE_FILES */
234190226Srpaulo
23575111Sfenner/* define on AIX to get certain functions */
23675111Sfenner/* #undef _SUN */
23775111Sfenner
238146772Ssam/* Define as token for inline if inlining supported */
239146772Ssam#define inline inline
24075111Sfenner
24175111Sfenner/* on sinix */
24275111Sfenner/* #undef sinix */
24375111Sfenner
244146772Ssam/* if we have u_int16_t */
245146772Ssam/* #undef u_int16_t */
24675111Sfenner
247146772Ssam/* if we have u_int32_t */
248146772Ssam/* #undef u_int32_t */
24975111Sfenner
250190226Srpaulo/* if we have u_int64_t */
251190226Srpaulo/* #undef u_int64_t */
252190226Srpaulo
253146772Ssam/* if we have u_int8_t */
254146772Ssam/* #undef u_int8_t */
255