config.h revision 214539
1/* $FreeBSD: head/lib/libpcap/config.h 214539 2010-10-29 22:57:14Z dim $ */
2/* This is an edited copy of the config.h generated by configure. */
3
4/* config.h.  Generated from config.h.in by configure.  */
5/* config.h.in.  Generated from configure.in by autoheader.  */
6
7/* Enable optimizer debugging */
8/* #undef BDEBUG */
9
10/* define if you have a cloning BPF device */
11#define HAVE_CLONING_BPF 1
12
13/* define if you have the DAG API */
14/* #undef HAVE_DAG_API */
15
16/* define if you have dag_get_erf_types() */
17/* #undef HAVE_DAG_GET_ERF_TYPES */
18
19/* define if you have dag_get_stream_erf_types() */
20/* #undef HAVE_DAG_GET_STREAM_ERF_TYPES */
21
22/* define if you have streams capable DAG API */
23/* #undef HAVE_DAG_STREAMS_API */
24
25/* Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
26   don't. */
27#define HAVE_DECL_ETHER_HOSTTON 1
28
29/* define if you have a /dev/dlpi */
30/* #undef HAVE_DEV_DLPI */
31
32/* if passive_req_t primitive exists */
33/* #undef HAVE_DLPI_PASSIVE */
34
35/* Define to 1 if you have the `ether_hostton' function. */
36#define HAVE_ETHER_HOSTTON 1
37
38/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
39#define HAVE_FSEEKO 1
40
41/* on HP-UX 10.20 or later */
42/* #undef HAVE_HPUX10_20_OR_LATER */
43
44/* on HP-UX 9.x */
45/* #undef HAVE_HPUX9 */
46
47/* if ppa_info_t_dl_module_id exists */
48/* #undef HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 */
49
50/* Define to 1 if you have the <inttypes.h> header file. */
51#define HAVE_INTTYPES_H 1
52
53/* if libdlpi exists */
54/* #undef HAVE_LIBDLPI */
55
56/* if libnl exists */
57/* #undef HAVE_LIBNL */
58
59/* Define to 1 if you have the <limits.h> header file. */
60#define HAVE_LIMITS_H 1
61
62/* if tp_vlan_tci exists */
63/* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
64
65/* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
66/* #undef HAVE_LINUX_USBDEVICE_FS_H */
67
68/* Define to 1 if you have the <linux/wireless.h> header file. */
69/* #undef HAVE_LINUX_WIRELESS_H */
70
71/* Define to 1 if you have the <memory.h> header file. */
72#define HAVE_MEMORY_H 1
73
74/* Define to 1 if you have the <netinet/ether.h> header file. */
75/* #undef HAVE_NETINET_ETHER_H */
76
77/* Define to 1 if you have the <netinet/if_ether.h> header file. */
78#define HAVE_NETINET_IF_ETHER_H 1
79
80/* Define to 1 if you have the <net/if_media.h> header file. */
81#define HAVE_NET_IF_MEDIA_H 1
82
83/* Define to 1 if you have the <net/pfvar.h> header file. */
84/* See Makefile */
85/* #undef HAVE_NET_PFVAR_H */
86
87/* if there's an os_proto.h for this platform, to use additional prototypes */
88/* #undef HAVE_OS_PROTO_H */
89
90/* Define to 1 if you have the <paths.h> header file. */
91#define HAVE_PATHS_H 1
92
93/* define if net/pfvar.h defines PF_NAT through PF_NORDR */
94#define HAVE_PF_NAT_THROUGH_PF_NORDR 1
95
96/* define if you have a Septel API */
97/* #undef HAVE_SEPTEL_API */
98
99/* define if you have Myricom SNF API */
100/* #undef HAVE_SNF_API */
101
102/* Define to 1 if you have the `snprintf' function. */
103#define HAVE_SNPRINTF 1
104
105/* if struct sockaddr has the sa_len member */
106#define HAVE_SOCKADDR_SA_LEN 1
107
108/* if struct sockaddr_storage exists */
109#define HAVE_SOCKADDR_STORAGE 1
110
111/* define if socklen_t is defined */
112#define HAVE_SOCKLEN_T 1
113
114/* On solaris */
115/* #undef HAVE_SOLARIS */
116
117/* Define to 1 if you have the <stdint.h> header file. */
118#define HAVE_STDINT_H 1
119
120/* Define to 1 if you have the <stdlib.h> header file. */
121#define HAVE_STDLIB_H 1
122
123/* Define to 1 if you have the `strerror' function. */
124#define HAVE_STRERROR 1
125
126/* Define to 1 if you have the <strings.h> header file. */
127#define HAVE_STRINGS_H 1
128
129/* Define to 1 if you have the <string.h> header file. */
130#define HAVE_STRING_H 1
131
132/* Define to 1 if you have the `strlcpy' function. */
133#define HAVE_STRLCPY 1
134
135/* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
136/* #undef HAVE_STRUCT_BPF_TIMEVAL */
137
138/* Define to 1 if the system has the type `struct ether_addr'. */
139/* #undef HAVE_STRUCT_ETHER_ADDR */
140
141/* Define to 1 if you have the <sys/bitypes.h> header file. */
142/* #undef HAVE_SYS_BITYPES_H */
143
144/* Define to 1 if you have the <sys/bufmod.h> header file. */
145/* #undef HAVE_SYS_BUFMOD_H */
146
147/* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
148/* #undef HAVE_SYS_DLPI_EXT_H */
149
150/* Define to 1 if you have the <sys/ioccom.h> header file. */
151#define HAVE_SYS_IOCCOM_H 1
152
153/* Define to 1 if you have the <sys/sockio.h> header file. */
154#define HAVE_SYS_SOCKIO_H 1
155
156/* Define to 1 if you have the <sys/stat.h> header file. */
157#define HAVE_SYS_STAT_H 1
158
159/* Define to 1 if you have the <sys/types.h> header file. */
160#define HAVE_SYS_TYPES_H 1
161
162/* if if_packet.h has tpacket_stats defined */
163/* #undef HAVE_TPACKET_STATS */
164
165/* Define to 1 if you have the <unistd.h> header file. */
166#define HAVE_UNISTD_H 1
167
168/* if struct usbdevfs_ctrltransfer has bRequestType */
169/* #undef HAVE_USBDEVFS_CTRLTRANSFER_BREQUESTTYPE */
170
171/* define if version.h is generated in the build procedure */
172#define HAVE_VERSION_H 1
173
174/* Define to 1 if you have the `vsnprintf' function. */
175#define HAVE_VSNPRINTF 1
176
177/* define if the system supports zerocopy BPF */
178#define	HAVE_ZEROCOPY_BPF 1
179
180/* define if your compiler has __attribute__ */
181#define HAVE___ATTRIBUTE__ 1
182
183/* IPv6 */
184/* See Makefile */
185/* #undef INET6 */
186
187/* if unaligned access fails */
188/* #undef LBL_ALIGN */
189
190/* path for device for USB sniffing */
191/* #undef LINUX_USB_MON_DEV */
192
193/* Define to 1 if netinet/ether.h declares `ether_hostton' */
194/* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
195
196/* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
197#define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON
198
199/* do not use protochain */
200/* #undef NO_PROTOCHAIN */
201
202/* Define to the address where bug reports for this package should be sent. */
203#define PACKAGE_BUGREPORT ""
204
205/* Define to the full name of this package. */
206#define PACKAGE_NAME ""
207
208/* Define to the full name and version of this package. */
209#define PACKAGE_STRING ""
210
211/* Define to the one symbol short name of this package. */
212#define PACKAGE_TARNAME ""
213
214/* Define to the version of this package. */
215#define PACKAGE_VERSION ""
216
217/* /dev/dlpi directory */
218/* #undef PCAP_DEV_PREFIX */
219
220/* target host supports Bluetooth sniffing */
221/* #undef PCAP_SUPPORT_BT */
222
223/* target host supports CAN sniffing */
224/* #undef PCAP_SUPPORT_CAN */
225
226/* target host supports USB sniffing */
227/* #undef PCAP_SUPPORT_USB */
228
229/* include ACN support */
230/* #undef SITA */
231
232/* Define to 1 if you have the ANSI C header files. */
233#define STDC_HEADERS 1
234
235/* Enable parser debugging */
236/* #undef YYDEBUG */
237
238/* Number of bits in a file offset, on hosts where this is settable. */
239/* #undef _FILE_OFFSET_BITS */
240
241/* needed on HP-UX */
242/* #undef _HPUX_SOURCE */
243
244/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).  */
245/* #undef _LARGEFILE_SOURCE */
246
247/* Define for large files, on AIX-style hosts. */
248/* #undef _LARGE_FILES */
249
250/* define on AIX to get certain functions */
251/* #undef _SUN */
252
253/* to handle Ultrix compilers that don't support const in prototypes */
254/* #undef const */
255
256/* Define as token for inline if inlining supported */
257#define inline inline
258
259/* Define to `short' if int16_t not defined. */
260/* #undef int16_t */
261
262/* Define to `int' if int32_t not defined. */
263/* #undef int32_t */
264
265/* Define to `long long' if int64_t not defined. */
266/* #undef int64_t */
267
268/* Define to `signed char' if int8_t not defined. */
269/* #undef int8_t */
270
271/* on sinix */
272/* #undef sinix */
273
274/* Define to `unsigned short' if u_int16_t not defined. */
275/* #undef u_int16_t */
276
277/* Define to `unsigned int' if u_int32_t not defined. */
278/* #undef u_int32_t */
279
280/* Define to `unsigned long long' if u_int64_t not defined. */
281/* #undef u_int64_t */
282
283/* Define to `unsigned char' if u_int8_t not defined. */
284/* #undef u_int8_t */
285