config.h revision 235426
175111Sfenner/* $FreeBSD: head/lib/libpcap/config.h 235426 2012-05-14 05:12:56Z delphij $ */
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
25235426Sdelphij/* define if you have vdag_set_device_info() */
26235426Sdelphij/* #undef HAVE_DAG_VDAG */
27235426Sdelphij
28146772Ssam/* Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
29146772Ssam   don't. */
30146772Ssam#define HAVE_DECL_ETHER_HOSTTON 1
31146772Ssam
32214539Sdim/* define if you have a /dev/dlpi */
33214539Sdim/* #undef HAVE_DEV_DLPI */
34214539Sdim
35190226Srpaulo/* if passive_req_t primitive exists */
36190226Srpaulo/* #undef HAVE_DLPI_PASSIVE */
37190226Srpaulo
38146772Ssam/* Define to 1 if you have the `ether_hostton' function. */
3975111Sfenner#define HAVE_ETHER_HOSTTON 1
4075111Sfenner
41190226Srpaulo/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
42190226Srpaulo#define HAVE_FSEEKO 1
43190226Srpaulo
44172681Smlaier/* on HP-UX 10.20 or later */
45172681Smlaier/* #undef HAVE_HPUX10_20_OR_LATER */
4675111Sfenner
47146772Ssam/* on HP-UX 9.x */
48146772Ssam/* #undef HAVE_HPUX9 */
4975111Sfenner
50146772Ssam/* if ppa_info_t_dl_module_id exists */
51146772Ssam/* #undef HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 */
5275111Sfenner
53146772Ssam/* Define to 1 if you have the <inttypes.h> header file. */
54146772Ssam#define HAVE_INTTYPES_H 1
55146772Ssam
56190226Srpaulo/* if libdlpi exists */
57190226Srpaulo/* #undef HAVE_LIBDLPI */
58190226Srpaulo
59214539Sdim/* if libnl exists */
60214539Sdim/* #undef HAVE_LIBNL */
61214539Sdim
62235426Sdelphij/* if libnl exists and is version 2.x */
63235426Sdelphij/* #undef HAVE_LIBNL_2_x */
64235426Sdelphij
65146772Ssam/* Define to 1 if you have the <limits.h> header file. */
6698529Sfenner#define HAVE_LIMITS_H 1
6798529Sfenner
68235426Sdelphij/* Define to 1 if you have the <linux/compiler.h> header file. */
69235426Sdelphij/* #undef HAVE_LINUX_COMPILER_H */
70235426Sdelphij
71235426Sdelphij/* Define to 1 if you have the <linux/ethtool.h> header file. */
72235426Sdelphij/* #undef HAVE_LINUX_ETHTOOL_H */
73235426Sdelphij
74235426Sdelphij/* Define to 1 if you have the <linux/if_packet.h> header file. */
75235426Sdelphij/* #undef HAVE_LINUX_IF_PACKET_H */
76235426Sdelphij
77235426Sdelphij/* Define to 1 if you have the <linux/net_tstamp.h> header file. */
78235426Sdelphij/* #undef HAVE_LINUX_NET_TSTAMP_H */
79235426Sdelphij
80190226Srpaulo/* if tp_vlan_tci exists */
81190226Srpaulo/* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
82190226Srpaulo
83235426Sdelphij/* Define to 1 if you have the <linux/types.h> header file. */
84235426Sdelphij/* #undef HAVE_LINUX_TYPES_H */
85235426Sdelphij
86214539Sdim/* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
87214539Sdim/* #undef HAVE_LINUX_USBDEVICE_FS_H */
88214539Sdim
89190226Srpaulo/* Define to 1 if you have the <linux/wireless.h> header file. */
90190226Srpaulo/* #undef HAVE_LINUX_WIRELESS_H */
91190226Srpaulo
92146772Ssam/* Define to 1 if you have the <memory.h> header file. */
93146772Ssam#define HAVE_MEMORY_H 1
94146772Ssam
95146772Ssam/* Define to 1 if you have the <netinet/ether.h> header file. */
96146772Ssam/* #undef HAVE_NETINET_ETHER_H */
97146772Ssam
98146772Ssam/* Define to 1 if you have the <netinet/if_ether.h> header file. */
9975111Sfenner#define HAVE_NETINET_IF_ETHER_H 1
10075111Sfenner
101235426Sdelphij/* Define to 1 if you have the <netpacket/if_packet.h> header file. */
102235426Sdelphij/* #undef HAVE_NETPACKET_IF_PACKET_H */
103235426Sdelphij
104235426Sdelphij/* Define to 1 if you have the <netpacket/packet.h> header file. */
105235426Sdelphij/* #undef HAVE_NETPACKET_PACKET_H */
106235426Sdelphij
107190226Srpaulo/* Define to 1 if you have the <net/if_media.h> header file. */
108190226Srpaulo#define HAVE_NET_IF_MEDIA_H 1
109190226Srpaulo
110172681Smlaier/* Define to 1 if you have the <net/pfvar.h> header file. */
111172681Smlaier/* See Makefile */
112172681Smlaier/* #undef HAVE_NET_PFVAR_H */
113172681Smlaier
114214539Sdim/* if there's an os_proto.h for this platform, to use additional prototypes */
115146772Ssam/* #undef HAVE_OS_PROTO_H */
116146772Ssam
117172681Smlaier/* Define to 1 if you have the <paths.h> header file. */
118172681Smlaier#define HAVE_PATHS_H 1
119172681Smlaier
120214539Sdim/* define if net/pfvar.h defines PF_NAT through PF_NORDR */
121214539Sdim#define HAVE_PF_NAT_THROUGH_PF_NORDR 1
122146772Ssam
123172681Smlaier/* define if you have a Septel API */
124172681Smlaier/* #undef HAVE_SEPTEL_API */
125172681Smlaier
126214539Sdim/* define if you have Myricom SNF API */
127214539Sdim/* #undef HAVE_SNF_API */
128214539Sdim
129146772Ssam/* Define to 1 if you have the `snprintf' function. */
130146772Ssam#define HAVE_SNPRINTF 1
131146772Ssam
132214539Sdim/* if struct sockaddr has the sa_len member */
133146772Ssam#define HAVE_SOCKADDR_SA_LEN 1
134146772Ssam
135146772Ssam/* if struct sockaddr_storage exists */
136146772Ssam#define HAVE_SOCKADDR_STORAGE 1
137214539Sdim
138190226Srpaulo/* define if socklen_t is defined */
139190226Srpaulo#define HAVE_SOCKLEN_T 1
140146772Ssam
141146772Ssam/* On solaris */
142146772Ssam/* #undef HAVE_SOLARIS */
143146772Ssam
144146772Ssam/* Define to 1 if you have the <stdint.h> header file. */
145146772Ssam#define HAVE_STDINT_H 1
146146772Ssam
147146772Ssam/* Define to 1 if you have the <stdlib.h> header file. */
148146772Ssam#define HAVE_STDLIB_H 1
149146772Ssam
150146772Ssam/* Define to 1 if you have the `strerror' function. */
151146772Ssam#define HAVE_STRERROR 1
152146772Ssam
153146772Ssam/* Define to 1 if you have the <strings.h> header file. */
154146772Ssam#define HAVE_STRINGS_H 1
155146772Ssam
156146772Ssam/* Define to 1 if you have the <string.h> header file. */
157146772Ssam#define HAVE_STRING_H 1
158146772Ssam
159146772Ssam/* Define to 1 if you have the `strlcpy' function. */
160146772Ssam#define HAVE_STRLCPY 1
161146772Ssam
162214539Sdim/* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
163214539Sdim/* #undef HAVE_STRUCT_BPF_TIMEVAL */
164214539Sdim
165172681Smlaier/* Define to 1 if the system has the type `struct ether_addr'. */
166172681Smlaier/* #undef HAVE_STRUCT_ETHER_ADDR */
167172681Smlaier
168214539Sdim/* Define to 1 if you have the <sys/bitypes.h> header file. */
169214539Sdim/* #undef HAVE_SYS_BITYPES_H */
170214539Sdim
171146772Ssam/* Define to 1 if you have the <sys/bufmod.h> header file. */
17275111Sfenner/* #undef HAVE_SYS_BUFMOD_H */
17375111Sfenner
174146772Ssam/* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
17575111Sfenner/* #undef HAVE_SYS_DLPI_EXT_H */
17675111Sfenner
177146772Ssam/* Define to 1 if you have the <sys/ioccom.h> header file. */
17875111Sfenner#define HAVE_SYS_IOCCOM_H 1
17975111Sfenner
180146772Ssam/* Define to 1 if you have the <sys/sockio.h> header file. */
18175111Sfenner#define HAVE_SYS_SOCKIO_H 1
18275111Sfenner
183146772Ssam/* Define to 1 if you have the <sys/stat.h> header file. */
184146772Ssam#define HAVE_SYS_STAT_H 1
18575111Sfenner
186146772Ssam/* Define to 1 if you have the <sys/types.h> header file. */
187146772Ssam#define HAVE_SYS_TYPES_H 1
188146772Ssam
189146772Ssam/* if if_packet.h has tpacket_stats defined */
190146772Ssam/* #undef HAVE_TPACKET_STATS */
191146772Ssam
192146772Ssam/* Define to 1 if you have the <unistd.h> header file. */
193146772Ssam#define HAVE_UNISTD_H 1
194146772Ssam
195214539Sdim/* if struct usbdevfs_ctrltransfer has bRequestType */
196214539Sdim/* #undef HAVE_USBDEVFS_CTRLTRANSFER_BREQUESTTYPE */
197214539Sdim
198146772Ssam/* define if version.h is generated in the build procedure */
199146772Ssam#define HAVE_VERSION_H 1
200146772Ssam
201146772Ssam/* Define to 1 if you have the `vsnprintf' function. */
202146772Ssam#define HAVE_VSNPRINTF 1
203146772Ssam
204190226Srpaulo/* define if the system supports zerocopy BPF */
205235426Sdelphij#define HAVE_ZEROCOPY_BPF 1
206190226Srpaulo
20775111Sfenner/* define if your compiler has __attribute__ */
20875111Sfenner#define HAVE___ATTRIBUTE__ 1
20975111Sfenner
210146772Ssam/* IPv6 */
211214539Sdim/* See Makefile */
212146772Ssam/* #undef INET6 */
21375111Sfenner
214146772Ssam/* if unaligned access fails */
215146772Ssam/* #undef LBL_ALIGN */
21675111Sfenner
217190226Srpaulo/* path for device for USB sniffing */
218190226Srpaulo/* #undef LINUX_USB_MON_DEV */
219190226Srpaulo
220146772Ssam/* Define to 1 if netinet/ether.h declares `ether_hostton' */
221146772Ssam/* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
22275111Sfenner
223146772Ssam/* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
224146772Ssam#define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON
225146772Ssam
22675111Sfenner/* do not use protochain */
22775111Sfenner/* #undef NO_PROTOCHAIN */
22875111Sfenner
229146772Ssam/* Define to the address where bug reports for this package should be sent. */
230146772Ssam#define PACKAGE_BUGREPORT ""
23175111Sfenner
232146772Ssam/* Define to the full name of this package. */
233146772Ssam#define PACKAGE_NAME ""
23498529Sfenner
235146772Ssam/* Define to the full name and version of this package. */
236146772Ssam#define PACKAGE_STRING ""
23798529Sfenner
238146772Ssam/* Define to the one symbol short name of this package. */
239146772Ssam#define PACKAGE_TARNAME ""
24075111Sfenner
241146772Ssam/* Define to the version of this package. */
242146772Ssam#define PACKAGE_VERSION ""
243146772Ssam
24475111Sfenner/* /dev/dlpi directory */
24575111Sfenner/* #undef PCAP_DEV_PREFIX */
24675111Sfenner
247190226Srpaulo/* target host supports Bluetooth sniffing */
248190226Srpaulo/* #undef PCAP_SUPPORT_BT */
249190226Srpaulo
250214539Sdim/* target host supports CAN sniffing */
251214539Sdim/* #undef PCAP_SUPPORT_CAN */
252214539Sdim
253235426Sdelphij/* target host supports netfilter sniffing */
254235426Sdelphij/* #undef PCAP_SUPPORT_NETFILTER */
255235426Sdelphij
256190226Srpaulo/* target host supports USB sniffing */
257190226Srpaulo/* #undef PCAP_SUPPORT_USB */
258190226Srpaulo
259190226Srpaulo/* include ACN support */
260190226Srpaulo/* #undef SITA */
261190226Srpaulo
262146772Ssam/* Define to 1 if you have the ANSI C header files. */
263146772Ssam#define STDC_HEADERS 1
26498529Sfenner
265146772Ssam/* Enable parser debugging */
266146772Ssam/* #undef YYDEBUG */
26798529Sfenner
268214539Sdim/* Number of bits in a file offset, on hosts where this is settable. */
269214539Sdim/* #undef _FILE_OFFSET_BITS */
270214539Sdim
271146772Ssam/* needed on HP-UX */
272146772Ssam/* #undef _HPUX_SOURCE */
273146772Ssam
274235426Sdelphij/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
275190226Srpaulo/* #undef _LARGEFILE_SOURCE */
276190226Srpaulo
277190226Srpaulo/* Define for large files, on AIX-style hosts. */
278190226Srpaulo/* #undef _LARGE_FILES */
279190226Srpaulo
28075111Sfenner/* define on AIX to get certain functions */
28175111Sfenner/* #undef _SUN */
28275111Sfenner
283214539Sdim/* to handle Ultrix compilers that don't support const in prototypes */
284214539Sdim/* #undef const */
285214539Sdim
286146772Ssam/* Define as token for inline if inlining supported */
287146772Ssam#define inline inline
28875111Sfenner
289214539Sdim/* Define to `short' if int16_t not defined. */
290214539Sdim/* #undef int16_t */
291214539Sdim
292214539Sdim/* Define to `int' if int32_t not defined. */
293214539Sdim/* #undef int32_t */
294214539Sdim
295214539Sdim/* Define to `long long' if int64_t not defined. */
296214539Sdim/* #undef int64_t */
297214539Sdim
298214539Sdim/* Define to `signed char' if int8_t not defined. */
299214539Sdim/* #undef int8_t */
300214539Sdim
30175111Sfenner/* on sinix */
30275111Sfenner/* #undef sinix */
30375111Sfenner
304214539Sdim/* Define to `unsigned short' if u_int16_t not defined. */
305146772Ssam/* #undef u_int16_t */
30675111Sfenner
307214539Sdim/* Define to `unsigned int' if u_int32_t not defined. */
308146772Ssam/* #undef u_int32_t */
30975111Sfenner
310214539Sdim/* Define to `unsigned long long' if u_int64_t not defined. */
311190226Srpaulo/* #undef u_int64_t */
312190226Srpaulo
313214539Sdim/* Define to `unsigned char' if u_int8_t not defined. */
314146772Ssam/* #undef u_int8_t */
315