config.h revision 214539
175111Sfenner/* $FreeBSD: head/lib/libpcap/config.h 214539 2010-10-29 22:57:14Z dim $ */
275111Sfenner/* This is an edited copy of the config.h generated by configure. */
375111Sfenner
4214539Sdim/* config.h.  Generated from config.h.in by configure.  */
5146772Ssam/* config.h.in.  Generated from configure.in by autoheader.  */
698529Sfenner
7146772Ssam/* Enable optimizer debugging */
8146772Ssam/* #undef BDEBUG */
9146772Ssam
10172681Smlaier/* define if you have a cloning BPF device */
11181690Sed#define HAVE_CLONING_BPF 1
12172681Smlaier
13146772Ssam/* define if you have the DAG API */
14146772Ssam/* #undef HAVE_DAG_API */
15146772Ssam
16172681Smlaier/* define if you have dag_get_erf_types() */
17172681Smlaier/* #undef HAVE_DAG_GET_ERF_TYPES */
18172681Smlaier
19214539Sdim/* define if you have dag_get_stream_erf_types() */
20214539Sdim/* #undef HAVE_DAG_GET_STREAM_ERF_TYPES */
21214539Sdim
22172681Smlaier/* define if you have streams capable DAG API */
23172681Smlaier/* #undef HAVE_DAG_STREAMS_API */
24172681Smlaier
25146772Ssam/* Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
26146772Ssam   don't. */
27146772Ssam#define HAVE_DECL_ETHER_HOSTTON 1
28146772Ssam
29214539Sdim/* define if you have a /dev/dlpi */
30214539Sdim/* #undef HAVE_DEV_DLPI */
31214539Sdim
32190226Srpaulo/* if passive_req_t primitive exists */
33190226Srpaulo/* #undef HAVE_DLPI_PASSIVE */
34190226Srpaulo
35146772Ssam/* Define to 1 if you have the `ether_hostton' function. */
3675111Sfenner#define HAVE_ETHER_HOSTTON 1
3775111Sfenner
38190226Srpaulo/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
39190226Srpaulo#define HAVE_FSEEKO 1
40190226Srpaulo
41172681Smlaier/* on HP-UX 10.20 or later */
42172681Smlaier/* #undef HAVE_HPUX10_20_OR_LATER */
4375111Sfenner
44146772Ssam/* on HP-UX 9.x */
45146772Ssam/* #undef HAVE_HPUX9 */
4675111Sfenner
47146772Ssam/* if ppa_info_t_dl_module_id exists */
48146772Ssam/* #undef HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 */
4975111Sfenner
50146772Ssam/* Define to 1 if you have the <inttypes.h> header file. */
51146772Ssam#define HAVE_INTTYPES_H 1
52146772Ssam
53190226Srpaulo/* if libdlpi exists */
54190226Srpaulo/* #undef HAVE_LIBDLPI */
55190226Srpaulo
56214539Sdim/* if libnl exists */
57214539Sdim/* #undef HAVE_LIBNL */
58214539Sdim
59146772Ssam/* Define to 1 if you have the <limits.h> header file. */
6098529Sfenner#define HAVE_LIMITS_H 1
6198529Sfenner
62190226Srpaulo/* if tp_vlan_tci exists */
63190226Srpaulo/* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
64190226Srpaulo
65214539Sdim/* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
66214539Sdim/* #undef HAVE_LINUX_USBDEVICE_FS_H */
67214539Sdim
68190226Srpaulo/* Define to 1 if you have the <linux/wireless.h> header file. */
69190226Srpaulo/* #undef HAVE_LINUX_WIRELESS_H */
70190226Srpaulo
71146772Ssam/* Define to 1 if you have the <memory.h> header file. */
72146772Ssam#define HAVE_MEMORY_H 1
73146772Ssam
74146772Ssam/* Define to 1 if you have the <netinet/ether.h> header file. */
75146772Ssam/* #undef HAVE_NETINET_ETHER_H */
76146772Ssam
77146772Ssam/* Define to 1 if you have the <netinet/if_ether.h> header file. */
7875111Sfenner#define HAVE_NETINET_IF_ETHER_H 1
7975111Sfenner
80190226Srpaulo/* Define to 1 if you have the <net/if_media.h> header file. */
81190226Srpaulo#define HAVE_NET_IF_MEDIA_H 1
82190226Srpaulo
83172681Smlaier/* Define to 1 if you have the <net/pfvar.h> header file. */
84172681Smlaier/* See Makefile */
85172681Smlaier/* #undef HAVE_NET_PFVAR_H */
86172681Smlaier
87214539Sdim/* if there's an os_proto.h for this platform, to use additional prototypes */
88146772Ssam/* #undef HAVE_OS_PROTO_H */
89146772Ssam
90172681Smlaier/* Define to 1 if you have the <paths.h> header file. */
91172681Smlaier#define HAVE_PATHS_H 1
92172681Smlaier
93214539Sdim/* define if net/pfvar.h defines PF_NAT through PF_NORDR */
94214539Sdim#define HAVE_PF_NAT_THROUGH_PF_NORDR 1
95146772Ssam
96172681Smlaier/* define if you have a Septel API */
97172681Smlaier/* #undef HAVE_SEPTEL_API */
98172681Smlaier
99214539Sdim/* define if you have Myricom SNF API */
100214539Sdim/* #undef HAVE_SNF_API */
101214539Sdim
102146772Ssam/* Define to 1 if you have the `snprintf' function. */
103146772Ssam#define HAVE_SNPRINTF 1
104146772Ssam
105214539Sdim/* if struct sockaddr has the sa_len member */
106146772Ssam#define HAVE_SOCKADDR_SA_LEN 1
107146772Ssam
108146772Ssam/* if struct sockaddr_storage exists */
109146772Ssam#define HAVE_SOCKADDR_STORAGE 1
110214539Sdim
111190226Srpaulo/* define if socklen_t is defined */
112190226Srpaulo#define HAVE_SOCKLEN_T 1
113146772Ssam
114146772Ssam/* On solaris */
115146772Ssam/* #undef HAVE_SOLARIS */
116146772Ssam
117146772Ssam/* Define to 1 if you have the <stdint.h> header file. */
118146772Ssam#define HAVE_STDINT_H 1
119146772Ssam
120146772Ssam/* Define to 1 if you have the <stdlib.h> header file. */
121146772Ssam#define HAVE_STDLIB_H 1
122146772Ssam
123146772Ssam/* Define to 1 if you have the `strerror' function. */
124146772Ssam#define HAVE_STRERROR 1
125146772Ssam
126146772Ssam/* Define to 1 if you have the <strings.h> header file. */
127146772Ssam#define HAVE_STRINGS_H 1
128146772Ssam
129146772Ssam/* Define to 1 if you have the <string.h> header file. */
130146772Ssam#define HAVE_STRING_H 1
131146772Ssam
132146772Ssam/* Define to 1 if you have the `strlcpy' function. */
133146772Ssam#define HAVE_STRLCPY 1
134146772Ssam
135214539Sdim/* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
136214539Sdim/* #undef HAVE_STRUCT_BPF_TIMEVAL */
137214539Sdim
138172681Smlaier/* Define to 1 if the system has the type `struct ether_addr'. */
139172681Smlaier/* #undef HAVE_STRUCT_ETHER_ADDR */
140172681Smlaier
141214539Sdim/* Define to 1 if you have the <sys/bitypes.h> header file. */
142214539Sdim/* #undef HAVE_SYS_BITYPES_H */
143214539Sdim
144146772Ssam/* Define to 1 if you have the <sys/bufmod.h> header file. */
14575111Sfenner/* #undef HAVE_SYS_BUFMOD_H */
14675111Sfenner
147146772Ssam/* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
14875111Sfenner/* #undef HAVE_SYS_DLPI_EXT_H */
14975111Sfenner
150146772Ssam/* Define to 1 if you have the <sys/ioccom.h> header file. */
15175111Sfenner#define HAVE_SYS_IOCCOM_H 1
15275111Sfenner
153146772Ssam/* Define to 1 if you have the <sys/sockio.h> header file. */
15475111Sfenner#define HAVE_SYS_SOCKIO_H 1
15575111Sfenner
156146772Ssam/* Define to 1 if you have the <sys/stat.h> header file. */
157146772Ssam#define HAVE_SYS_STAT_H 1
15875111Sfenner
159146772Ssam/* Define to 1 if you have the <sys/types.h> header file. */
160146772Ssam#define HAVE_SYS_TYPES_H 1
161146772Ssam
162146772Ssam/* if if_packet.h has tpacket_stats defined */
163146772Ssam/* #undef HAVE_TPACKET_STATS */
164146772Ssam
165146772Ssam/* Define to 1 if you have the <unistd.h> header file. */
166146772Ssam#define HAVE_UNISTD_H 1
167146772Ssam
168214539Sdim/* if struct usbdevfs_ctrltransfer has bRequestType */
169214539Sdim/* #undef HAVE_USBDEVFS_CTRLTRANSFER_BREQUESTTYPE */
170214539Sdim
171146772Ssam/* define if version.h is generated in the build procedure */
172146772Ssam#define HAVE_VERSION_H 1
173146772Ssam
174146772Ssam/* Define to 1 if you have the `vsnprintf' function. */
175146772Ssam#define HAVE_VSNPRINTF 1
176146772Ssam
177190226Srpaulo/* define if the system supports zerocopy BPF */
178190226Srpaulo#define	HAVE_ZEROCOPY_BPF 1
179190226Srpaulo
18075111Sfenner/* define if your compiler has __attribute__ */
18175111Sfenner#define HAVE___ATTRIBUTE__ 1
18275111Sfenner
183146772Ssam/* IPv6 */
184214539Sdim/* See Makefile */
185146772Ssam/* #undef INET6 */
18675111Sfenner
187146772Ssam/* if unaligned access fails */
188146772Ssam/* #undef LBL_ALIGN */
18975111Sfenner
190190226Srpaulo/* path for device for USB sniffing */
191190226Srpaulo/* #undef LINUX_USB_MON_DEV */
192190226Srpaulo
193146772Ssam/* Define to 1 if netinet/ether.h declares `ether_hostton' */
194146772Ssam/* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
19575111Sfenner
196146772Ssam/* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
197146772Ssam#define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON
198146772Ssam
19975111Sfenner/* do not use protochain */
20075111Sfenner/* #undef NO_PROTOCHAIN */
20175111Sfenner
202146772Ssam/* Define to the address where bug reports for this package should be sent. */
203146772Ssam#define PACKAGE_BUGREPORT ""
20475111Sfenner
205146772Ssam/* Define to the full name of this package. */
206146772Ssam#define PACKAGE_NAME ""
20798529Sfenner
208146772Ssam/* Define to the full name and version of this package. */
209146772Ssam#define PACKAGE_STRING ""
21098529Sfenner
211146772Ssam/* Define to the one symbol short name of this package. */
212146772Ssam#define PACKAGE_TARNAME ""
21375111Sfenner
214146772Ssam/* Define to the version of this package. */
215146772Ssam#define PACKAGE_VERSION ""
216146772Ssam
21775111Sfenner/* /dev/dlpi directory */
21875111Sfenner/* #undef PCAP_DEV_PREFIX */
21975111Sfenner
220190226Srpaulo/* target host supports Bluetooth sniffing */
221190226Srpaulo/* #undef PCAP_SUPPORT_BT */
222190226Srpaulo
223214539Sdim/* target host supports CAN sniffing */
224214539Sdim/* #undef PCAP_SUPPORT_CAN */
225214539Sdim
226190226Srpaulo/* target host supports USB sniffing */
227190226Srpaulo/* #undef PCAP_SUPPORT_USB */
228190226Srpaulo
229190226Srpaulo/* include ACN support */
230190226Srpaulo/* #undef SITA */
231190226Srpaulo
232146772Ssam/* Define to 1 if you have the ANSI C header files. */
233146772Ssam#define STDC_HEADERS 1
23498529Sfenner
235146772Ssam/* Enable parser debugging */
236146772Ssam/* #undef YYDEBUG */
23798529Sfenner
238214539Sdim/* Number of bits in a file offset, on hosts where this is settable. */
239214539Sdim/* #undef _FILE_OFFSET_BITS */
240214539Sdim
241146772Ssam/* needed on HP-UX */
242146772Ssam/* #undef _HPUX_SOURCE */
243146772Ssam
244190226Srpaulo/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).  */
245190226Srpaulo/* #undef _LARGEFILE_SOURCE */
246190226Srpaulo
247190226Srpaulo/* Define for large files, on AIX-style hosts. */
248190226Srpaulo/* #undef _LARGE_FILES */
249190226Srpaulo
25075111Sfenner/* define on AIX to get certain functions */
25175111Sfenner/* #undef _SUN */
25275111Sfenner
253214539Sdim/* to handle Ultrix compilers that don't support const in prototypes */
254214539Sdim/* #undef const */
255214539Sdim
256146772Ssam/* Define as token for inline if inlining supported */
257146772Ssam#define inline inline
25875111Sfenner
259214539Sdim/* Define to `short' if int16_t not defined. */
260214539Sdim/* #undef int16_t */
261214539Sdim
262214539Sdim/* Define to `int' if int32_t not defined. */
263214539Sdim/* #undef int32_t */
264214539Sdim
265214539Sdim/* Define to `long long' if int64_t not defined. */
266214539Sdim/* #undef int64_t */
267214539Sdim
268214539Sdim/* Define to `signed char' if int8_t not defined. */
269214539Sdim/* #undef int8_t */
270214539Sdim
27175111Sfenner/* on sinix */
27275111Sfenner/* #undef sinix */
27375111Sfenner
274214539Sdim/* Define to `unsigned short' if u_int16_t not defined. */
275146772Ssam/* #undef u_int16_t */
27675111Sfenner
277214539Sdim/* Define to `unsigned int' if u_int32_t not defined. */
278146772Ssam/* #undef u_int32_t */
27975111Sfenner
280214539Sdim/* Define to `unsigned long long' if u_int64_t not defined. */
281190226Srpaulo/* #undef u_int64_t */
282190226Srpaulo
283214539Sdim/* Define to `unsigned char' if u_int8_t not defined. */
284146772Ssam/* #undef u_int8_t */
285