xref: /freebsd/lib/libpcap/config.h (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
1 /* $FreeBSD$ */
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 if you have vdag_set_device_info() */
26 /* #undef HAVE_DAG_VDAG */
27 
28 /* Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
29    don't. */
30 #define HAVE_DECL_ETHER_HOSTTON 1
31 
32 /* define if you have a /dev/dlpi */
33 /* #undef HAVE_DEV_DLPI */
34 
35 /* if passive_req_t primitive exists */
36 /* #undef HAVE_DLPI_PASSIVE */
37 
38 /* Define to 1 if you have the `ether_hostton' function. */
39 #define HAVE_ETHER_HOSTTON 1
40 
41 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
42 #define HAVE_FSEEKO 1
43 
44 /* on HP-UX 10.20 or later */
45 /* #undef HAVE_HPUX10_20_OR_LATER */
46 
47 /* on HP-UX 9.x */
48 /* #undef HAVE_HPUX9 */
49 
50 /* if ppa_info_t_dl_module_id exists */
51 /* #undef HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 */
52 
53 /* Define to 1 if you have the <inttypes.h> header file. */
54 #define HAVE_INTTYPES_H 1
55 
56 /* if libdlpi exists */
57 /* #undef HAVE_LIBDLPI */
58 
59 /* if libnl exists */
60 /* #undef HAVE_LIBNL */
61 
62 /* if libnl exists and is version 2.x */
63 /* #undef HAVE_LIBNL_2_x */
64 
65 /* if libnl exists and is version 3.x */
66 /* #undef HAVE_LIBNL_3_x */
67 
68 /* libnl has NLE_FAILURE */
69 /* #undef HAVE_LIBNL_NLE */
70 
71 /* libnl has new-style socket api */
72 /* #undef HAVE_LIBNL_SOCKETS */
73 
74 /* Define to 1 if you have the <limits.h> header file. */
75 #define HAVE_LIMITS_H 1
76 
77 /* Define to 1 if you have the <linux/compiler.h> header file. */
78 /* #undef HAVE_LINUX_COMPILER_H */
79 
80 /* Define to 1 if you have the <linux/ethtool.h> header file. */
81 /* #undef HAVE_LINUX_ETHTOOL_H */
82 
83 /* Define to 1 if you have the <linux/if_packet.h> header file. */
84 /* #undef HAVE_LINUX_IF_PACKET_H */
85 
86 /* Define to 1 if you have the <linux/net_tstamp.h> header file. */
87 /* #undef HAVE_LINUX_NET_TSTAMP_H */
88 
89 /* if tp_vlan_tci exists */
90 /* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
91 
92 /* Define to 1 if you have the <linux/types.h> header file. */
93 /* #undef HAVE_LINUX_TYPES_H */
94 
95 /* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
96 /* #undef HAVE_LINUX_USBDEVICE_FS_H */
97 
98 /* Define to 1 if you have the <linux/wireless.h> header file. */
99 /* #undef HAVE_LINUX_WIRELESS_H */
100 
101 /* Define to 1 if you have the <memory.h> header file. */
102 #define HAVE_MEMORY_H 1
103 
104 /* Define to 1 if you have the <netinet/ether.h> header file. */
105 /* #undef HAVE_NETINET_ETHER_H */
106 
107 /* Define to 1 if you have the <netinet/if_ether.h> header file. */
108 #define HAVE_NETINET_IF_ETHER_H 1
109 
110 /* Define to 1 if you have the <netpacket/if_packet.h> header file. */
111 /* #undef HAVE_NETPACKET_IF_PACKET_H */
112 
113 /* Define to 1 if you have the <netpacket/packet.h> header file. */
114 /* #undef HAVE_NETPACKET_PACKET_H */
115 
116 /* Define to 1 if you have the <net/if_media.h> header file. */
117 #define HAVE_NET_IF_MEDIA_H 1
118 
119 /* Define to 1 if you have the <net/pfvar.h> header file. */
120 /* See Makefile */
121 /* #undef HAVE_NET_PFVAR_H */
122 
123 /* if there's an os_proto.h for this platform, to use additional prototypes */
124 /* #undef HAVE_OS_PROTO_H */
125 
126 /* Define to 1 if you have the <paths.h> header file. */
127 #define HAVE_PATHS_H 1
128 
129 /* define if net/pfvar.h defines PF_NAT through PF_NORDR */
130 #define HAVE_PF_NAT_THROUGH_PF_NORDR 1
131 
132 /* define if you have a Septel API */
133 /* #undef HAVE_SEPTEL_API */
134 
135 /* define if you have Myricom SNF API */
136 /* #undef HAVE_SNF_API */
137 
138 /* Define to 1 if you have the `snprintf' function. */
139 #define HAVE_SNPRINTF 1
140 
141 /* if struct sockaddr has the sa_len member */
142 #define HAVE_SOCKADDR_SA_LEN 1
143 
144 /* if struct sockaddr_storage exists */
145 #define HAVE_SOCKADDR_STORAGE 1
146 
147 /* define if socklen_t is defined */
148 #define HAVE_SOCKLEN_T 1
149 
150 /* On solaris */
151 /* #undef HAVE_SOLARIS */
152 
153 /* Define to 1 if you have the <stdint.h> header file. */
154 #define HAVE_STDINT_H 1
155 
156 /* Define to 1 if you have the <stdlib.h> header file. */
157 #define HAVE_STDLIB_H 1
158 
159 /* Define to 1 if you have the `strerror' function. */
160 #define HAVE_STRERROR 1
161 
162 /* Define to 1 if you have the <strings.h> header file. */
163 #define HAVE_STRINGS_H 1
164 
165 /* Define to 1 if you have the <string.h> header file. */
166 #define HAVE_STRING_H 1
167 
168 /* Define to 1 if you have the `strlcpy' function. */
169 #define HAVE_STRLCPY 1
170 
171 /* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
172 /* #undef HAVE_STRUCT_BPF_TIMEVAL */
173 
174 /* Define to 1 if the system has the type `struct ether_addr'. */
175 /* #undef HAVE_STRUCT_ETHER_ADDR */
176 
177 /* Define to 1 if you have the <sys/bitypes.h> header file. */
178 /* #undef HAVE_SYS_BITYPES_H */
179 
180 /* Define to 1 if you have the <sys/bufmod.h> header file. */
181 /* #undef HAVE_SYS_BUFMOD_H */
182 
183 /* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
184 /* #undef HAVE_SYS_DLPI_EXT_H */
185 
186 /* Define to 1 if you have the <sys/ioccom.h> header file. */
187 #define HAVE_SYS_IOCCOM_H 1
188 
189 /* Define to 1 if you have the <sys/sockio.h> header file. */
190 #define HAVE_SYS_SOCKIO_H 1
191 
192 /* Define to 1 if you have the <sys/stat.h> header file. */
193 #define HAVE_SYS_STAT_H 1
194 
195 /* Define to 1 if you have the <sys/types.h> header file. */
196 #define HAVE_SYS_TYPES_H 1
197 
198 /* if if_packet.h has tpacket_stats defined */
199 /* #undef HAVE_TPACKET_STATS */
200 
201 /* Define to 1 if you have the <unistd.h> header file. */
202 #define HAVE_UNISTD_H 1
203 
204 /* if struct usbdevfs_ctrltransfer has bRequestType */
205 /* #undef HAVE_USBDEVFS_CTRLTRANSFER_BREQUESTTYPE */
206 
207 /* define if version.h is generated in the build procedure */
208 #define HAVE_VERSION_H 1
209 
210 /* Define to 1 if you have the `vsnprintf' function. */
211 #define HAVE_VSNPRINTF 1
212 
213 /* define if the system supports zerocopy BPF */
214 #define HAVE_ZEROCOPY_BPF 1
215 
216 /* define if your compiler has __attribute__ */
217 #define HAVE___ATTRIBUTE__ 1
218 
219 /* IPv6 */
220 /* See Makefile */
221 /* #undef INET6 */
222 
223 /* if unaligned access fails */
224 /* #undef LBL_ALIGN */
225 
226 /* path for device for USB sniffing */
227 /* #undef LINUX_USB_MON_DEV */
228 
229 /* if we need a pcap_parse wrapper around yyparse */
230 #define NEED_YYPARSE_WRAPPER 1
231 
232 /* Define to 1 if netinet/ether.h declares `ether_hostton' */
233 /* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
234 
235 /* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
236 #define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON /**/
237 
238 /* do not use protochain */
239 /* #undef NO_PROTOCHAIN */
240 
241 /* Define to the address where bug reports for this package should be sent. */
242 #define PACKAGE_BUGREPORT ""
243 
244 /* Define to the full name of this package. */
245 #define PACKAGE_NAME ""
246 
247 /* Define to the full name and version of this package. */
248 #define PACKAGE_STRING ""
249 
250 /* Define to the one symbol short name of this package. */
251 #define PACKAGE_TARNAME ""
252 
253 /* Define to the home page for this package. */
254 #define PACKAGE_URL ""
255 
256 /* Define to the version of this package. */
257 #define PACKAGE_VERSION ""
258 
259 /* /dev/dlpi directory */
260 /* #undef PCAP_DEV_PREFIX */
261 
262 /* target host supports Bluetooth sniffing */
263 /* #undef PCAP_SUPPORT_BT */
264 
265 /* target host supports Bluetooth Monitor */
266 /* #undef PCAP_SUPPORT_BT_MONITOR */
267 
268 /* target host supports CAN sniffing */
269 /* #undef PCAP_SUPPORT_CAN */
270 
271 /* target host supports canusb */
272 /* #undef PCAP_SUPPORT_CANUSB */
273 
274 /* support D-Bus sniffing */
275 /* #undef PCAP_SUPPORT_DBUS */
276 
277 /* target host supports netfilter sniffing */
278 /* #undef PCAP_SUPPORT_NETFILTER */
279 
280 /* target host supports USB sniffing */
281 /* #undef PCAP_SUPPORT_USB */
282 
283 /* target host supports netmap */
284 #define PCAP_SUPPORT_NETMAP 1
285 
286 /* include ACN support */
287 /* #undef SITA */
288 
289 /* if struct sockaddr_hci has hci_channel member */
290 /* #undef SOCKADDR_HCI_HAS_HCI_CHANNEL */
291 
292 /* Define to 1 if you have the ANSI C header files. */
293 #define STDC_HEADERS 1
294 
295 /* Enable parser debugging */
296 /* #undef YYDEBUG */
297 
298 /* Enable large inode numbers on Mac OS X 10.5.  */
299 #ifndef _DARWIN_USE_64_BIT_INODE
300 # define _DARWIN_USE_64_BIT_INODE 1
301 #endif
302 
303 /* Number of bits in a file offset, on hosts where this is settable. */
304 /* #undef _FILE_OFFSET_BITS */
305 
306 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
307 /* #undef _LARGEFILE_SOURCE */
308 
309 /* Define for large files, on AIX-style hosts. */
310 /* #undef _LARGE_FILES */
311 
312 /* define on AIX to get certain functions */
313 /* #undef _SUN */
314 
315 /* define if your compiler allows __attribute__((format)) without a warning */
316 #define __ATTRIBUTE___FORMAT_OK 1
317 
318 /* to handle Ultrix compilers that don't support const in prototypes */
319 /* #undef const */
320 
321 /* Define as token for inline if inlining supported */
322 #define inline inline
323 
324 /* Define to `short' if int16_t not defined. */
325 /* #undef int16_t */
326 
327 /* Define to `int' if int32_t not defined. */
328 /* #undef int32_t */
329 
330 /* Define to `long long' if int64_t not defined. */
331 /* #undef int64_t */
332 
333 /* Define to `signed char' if int8_t not defined. */
334 /* #undef int8_t */
335 
336 /* on sinix */
337 /* #undef sinix */
338 
339 /* Define to `unsigned short' if u_int16_t not defined. */
340 /* #undef u_int16_t */
341 
342 /* Define to `unsigned int' if u_int32_t not defined. */
343 /* #undef u_int32_t */
344 
345 /* Define to `unsigned long long' if u_int64_t not defined. */
346 /* #undef u_int64_t */
347 
348 /* Define to `unsigned char' if u_int8_t not defined. */
349 /* #undef u_int8_t */
350