xref: /freebsd/lib/libpcap/config.h (revision 076ad2f836d5f49dc1375f1677335a48fe0d4b82)
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.ac 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_bonding.h> header file. */
84 /* #undef HAVE_LINUX_IF_BONDING_H */
85 
86 /* Define to 1 if you have the <linux/if_packet.h> header file. */
87 /* #undef HAVE_LINUX_IF_PACKET_H */
88 
89 /* Define to 1 if you have the <linux/net_tstamp.h> header file. */
90 /* #undef HAVE_LINUX_NET_TSTAMP_H */
91 
92 /* Define to 1 if you have the <linux/sockios.h> header file. */
93 /* #undef HAVE_LINUX_SOCKIOS_H */
94 
95 /* if tp_vlan_tci exists */
96 /* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
97 
98 /* Define to 1 if you have the <linux/types.h> header file. */
99 /* #undef HAVE_LINUX_TYPES_H */
100 
101 /* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
102 /* #undef HAVE_LINUX_USBDEVICE_FS_H */
103 
104 /* Define to 1 if you have the <linux/wireless.h> header file. */
105 /* #undef HAVE_LINUX_WIRELESS_H */
106 
107 /* Define to 1 if you have the <memory.h> header file. */
108 #define HAVE_MEMORY_H 1
109 
110 /* Define to 1 if you have the <netinet/ether.h> header file. */
111 /* #undef HAVE_NETINET_ETHER_H */
112 
113 /* Define to 1 if you have the <netinet/if_ether.h> header file. */
114 #define HAVE_NETINET_IF_ETHER_H 1
115 
116 /* Define to 1 if you have the <netpacket/if_packet.h> header file. */
117 /* #undef HAVE_NETPACKET_IF_PACKET_H */
118 
119 /* Define to 1 if you have the <netpacket/packet.h> header file. */
120 /* #undef HAVE_NETPACKET_PACKET_H */
121 
122 /* Define to 1 if you have the <net/if_media.h> header file. */
123 #define HAVE_NET_IF_MEDIA_H 1
124 
125 /* Define to 1 if you have the <net/pfvar.h> header file. */
126 /* See Makefile */
127 /* #undef HAVE_NET_PFVAR_H */
128 
129 /* if there's an os_proto.h for this platform, to use additional prototypes */
130 /* #undef HAVE_OS_PROTO_H */
131 
132 /* define if net/pfvar.h defines PF_NAT through PF_NORDR */
133 #define HAVE_PF_NAT_THROUGH_PF_NORDR 1
134 
135 /* define if you have the Septel API */
136 /* #undef HAVE_SEPTEL_API */
137 
138 /* define if you have the Myricom SNF API */
139 /* #undef HAVE_SNF_API */
140 
141 /* Define to 1 if you have the `snprintf' function. */
142 #define HAVE_SNPRINTF 1
143 
144 /* if struct sockaddr has the sa_len member */
145 #define HAVE_SOCKADDR_SA_LEN 1
146 
147 /* if struct sockaddr_storage exists */
148 #define HAVE_SOCKADDR_STORAGE 1
149 
150 /* define if socklen_t is defined */
151 #define HAVE_SOCKLEN_T 1
152 
153 /* On solaris */
154 /* #undef HAVE_SOLARIS */
155 
156 /* Define to 1 if you have the <stdint.h> header file. */
157 #define HAVE_STDINT_H 1
158 
159 /* Define to 1 if you have the <stdlib.h> header file. */
160 #define HAVE_STDLIB_H 1
161 
162 /* Define to 1 if you have the `strerror' function. */
163 #define HAVE_STRERROR 1
164 
165 /* Define to 1 if you have the <strings.h> header file. */
166 #define HAVE_STRINGS_H 1
167 
168 /* Define to 1 if you have the <string.h> header file. */
169 #define HAVE_STRING_H 1
170 
171 /* Define to 1 if you have the `strlcpy' function. */
172 #define HAVE_STRLCPY 1
173 
174 /* Define to 1 if you have the `strtok_r' function. */
175 #define HAVE_STRTOK_R 1
176 
177 /* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
178 /* #undef HAVE_STRUCT_BPF_TIMEVAL */
179 
180 /* Define to 1 if the system has the type `struct ether_addr'. */
181 /* #undef HAVE_STRUCT_ETHER_ADDR */
182 
183 /* Define to 1 if you have the <sys/bitypes.h> header file. */
184 /* #undef HAVE_SYS_BITYPES_H */
185 
186 /* Define to 1 if you have the <sys/bufmod.h> header file. */
187 /* #undef HAVE_SYS_BUFMOD_H */
188 
189 /* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
190 /* #undef HAVE_SYS_DLPI_EXT_H */
191 
192 /* Define to 1 if you have the <sys/ioccom.h> header file. */
193 #define HAVE_SYS_IOCCOM_H 1
194 
195 /* Define to 1 if you have the <sys/select.h> header file. */
196 #define HAVE_SYS_SELECT_H 1
197 
198 /* Define to 1 if you have the <sys/sockio.h> header file. */
199 #define HAVE_SYS_SOCKIO_H 1
200 
201 /* Define to 1 if you have the <sys/stat.h> header file. */
202 #define HAVE_SYS_STAT_H 1
203 
204 /* Define to 1 if you have the <sys/types.h> header file. */
205 #define HAVE_SYS_TYPES_H 1
206 
207 /* define if you have the TurboCap API */
208 /* #undef HAVE_TC_API */
209 
210 /* if if_packet.h has tpacket_stats defined */
211 /* #undef HAVE_TPACKET_STATS */
212 
213 /* Define to 1 if you have the <unistd.h> header file. */
214 #define HAVE_UNISTD_H 1
215 
216 /* if struct usbdevfs_ctrltransfer has bRequestType */
217 /* #undef HAVE_USBDEVFS_CTRLTRANSFER_BREQUESTTYPE */
218 
219 /* Define to 1 if you have the `vsnprintf' function. */
220 #define HAVE_VSNPRINTF 1
221 
222 /* define if the system supports zerocopy BPF */
223 #define HAVE_ZEROCOPY_BPF 1
224 
225 /* define if your compiler has __attribute__ */
226 #define HAVE___ATTRIBUTE__ 1
227 
228 /* IPv6 */
229 /* See Makefile */
230 /* #undef INET6 */
231 
232 /* if unaligned access fails */
233 /* #undef LBL_ALIGN */
234 
235 /* path for device for USB sniffing */
236 /* #undef LINUX_USB_MON_DEV */
237 
238 /* Define to 1 if netinet/ether.h declares `ether_hostton' */
239 /* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
240 
241 /* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
242 #define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON /**/
243 
244 /* do not use protochain */
245 /* #undef NO_PROTOCHAIN */
246 
247 /* Define to the address where bug reports for this package should be sent. */
248 #define PACKAGE_BUGREPORT ""
249 
250 /* Define to the full name of this package. */
251 #define PACKAGE_NAME ""
252 
253 /* Define to the full name and version of this package. */
254 #define PACKAGE_STRING ""
255 
256 /* Define to the one symbol short name of this package. */
257 #define PACKAGE_TARNAME ""
258 
259 /* Define to the home page for this package. */
260 #define PACKAGE_URL ""
261 
262 /* Define to the version of this package. */
263 #define PACKAGE_VERSION ""
264 
265 /* /dev/dlpi directory */
266 /* #undef PCAP_DEV_PREFIX */
267 
268 /* target host supports Bluetooth sniffing */
269 /* #undef PCAP_SUPPORT_BT */
270 
271 /* target host supports Bluetooth Monitor */
272 /* #undef PCAP_SUPPORT_BT_MONITOR */
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 /* use Linux packet ring capture if available */
281 #define PCAP_SUPPORT_PACKET_RING 1
282 
283 /* target host supports USB sniffing */
284 /* #undef PCAP_SUPPORT_USB */
285 
286 /* target host supports netmap */
287 #define PCAP_SUPPORT_NETMAP 1
288 
289 /* include ACN support */
290 /* #undef SITA */
291 
292 /* if struct sockaddr_hci has hci_channel member */
293 /* #undef SOCKADDR_HCI_HAS_HCI_CHANNEL */
294 
295 /* Define to 1 if you have the ANSI C header files. */
296 #define STDC_HEADERS 1
297 
298 /* Enable parser debugging */
299 /* #undef YYDEBUG */
300 
301 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
302    `char[]'. */
303 #define YYTEXT_POINTER 1
304 
305 /* Enable large inode numbers on Mac OS X 10.5.  */
306 #ifndef _DARWIN_USE_64_BIT_INODE
307 # define _DARWIN_USE_64_BIT_INODE 1
308 #endif
309 
310 /* Number of bits in a file offset, on hosts where this is settable. */
311 /* #undef _FILE_OFFSET_BITS */
312 
313 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
314 /* #undef _LARGEFILE_SOURCE */
315 
316 /* Define for large files, on AIX-style hosts. */
317 /* #undef _LARGE_FILES */
318 
319 /* define on AIX to get certain functions */
320 /* #undef _SUN */
321 
322 /* define if your compiler allows __attribute__((format)) without a warning */
323 #define __ATTRIBUTE___FORMAT_OK 1
324 
325 /* to handle Ultrix compilers that don't support const in prototypes */
326 /* #undef const */
327 
328 /* Define as token for inline if inlining supported */
329 #define inline inline
330 
331 /* Define to `short' if int16_t not defined. */
332 /* #undef int16_t */
333 
334 /* Define to `int' if int32_t not defined. */
335 /* #undef int32_t */
336 
337 /* Define to `long long' if int64_t not defined. */
338 /* #undef int64_t */
339 
340 /* Define to `signed char' if int8_t not defined. */
341 /* #undef int8_t */
342 
343 /* on sinix */
344 /* #undef sinix */
345 
346 /* Define to `unsigned short' if u_int16_t not defined. */
347 /* #undef u_int16_t */
348 
349 /* Define to `unsigned int' if u_int32_t not defined. */
350 /* #undef u_int32_t */
351 
352 /* Define to `unsigned long long' if u_int64_t not defined. */
353 /* #undef u_int64_t */
354 
355 /* Define to `unsigned char' if u_int8_t not defined. */
356 /* #undef u_int8_t */
357