xref: /freebsd/contrib/libpcap/cmakeconfig.h.in (revision 68d75eff68281c1b445e3010bb975eae07aac225)
1/* cmakeconfig.h.in */
2
3/* Define to 1 if arpa/inet.h declares `ether_hostton' */
4#cmakedefine ARPA_INET_H_DECLARES_ETHER_HOSTTON 1
5
6/* Enable optimizer debugging */
7#cmakedefine BDEBUG 1
8
9/* Define to 1 if remote packet capture is to be supported */
10#cmakedefine ENABLE_REMOTE 1
11
12/* define if we have the AIX getnetbyname_r() */
13#cmakedefine HAVE_AIX_GETNETBYNAME_R 1
14
15/* define if we have the AIX getprotobyname_r() */
16#cmakedefine HAVE_AIX_GETPROTOBYNAME_R 1
17
18/* Define to 1 if you have the `asprintf' function. */
19#cmakedefine HAVE_ASPRINTF 1
20
21/* define if you have the DAG API */
22#cmakedefine HAVE_DAG_API 1
23
24/* define if you have dag_get_erf_types() */
25#cmakedefine HAVE_DAG_GET_ERF_TYPES 1
26
27/* define if you have dag_get_stream_erf_types() */
28#cmakedefine HAVE_DAG_GET_STREAM_ERF_TYPES 1
29
30/* define if you have large streams capable DAG API */
31#cmakedefine HAVE_DAG_LARGE_STREAMS_API 1
32
33/* define if you have vdag_set_device_info() */
34#cmakedefine HAVE_DAG_VDAG 1
35
36/* Define to 1 if you have the declaration of `ether_hostton' */
37#cmakedefine HAVE_DECL_ETHER_HOSTTON 1
38
39/* Define to 1 if `dl_module_id_1' is a member of `dl_hp_ppa_info_t'. */
40#cmakedefine HAVE_DL_HP_PPA_INFO_T_DL_MODULE_ID_1 1
41
42/* Define to 1 if the system has the type `dl_passive_req_t'. */
43#cmakedefine HAVE_DL_PASSIVE_REQ_T 1
44
45/* Define to 1 if you have the `ether_hostton' function. */
46#cmakedefine HAVE_ETHER_HOSTTON 1
47
48/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
49#cmakedefine HAVE_FSEEKO 1
50
51/* Define to 1 if you have the `getspnam' function. */
52#cmakedefine HAVE_GETSPNAM 1
53
54/* Define to 1 if you have a GNU-style `strerror_r' function. */
55#cmakedefine HAVE_GNU_STRERROR_R 1
56
57/* on HP-UX 10.20 or later */
58#cmakedefine HAVE_HPUX10_20_OR_LATER 1
59
60/* on HP-UX 9.x */
61#cmakedefine HAVE_HPUX9 1
62
63/* Define to 1 if you have the <inttypes.h> header file. */
64#cmakedefine HAVE_INTTYPES_H 1
65
66/* if libdlpi exists */
67#cmakedefine HAVE_LIBDLPI 1
68
69/* if libnl exists */
70#cmakedefine HAVE_LIBNL 1
71
72/* if libnl exists and is version 2.x */
73#cmakedefine HAVE_LIBNL_2_x 1
74
75/* if libnl exists and is version 3.x */
76#cmakedefine HAVE_LIBNL_3_x 1
77
78/* libnl has NLE_FAILURE */
79#cmakedefine HAVE_LIBNL_NLE 1
80
81/* libnl has new-style socket api */
82#cmakedefine HAVE_LIBNL_SOCKETS 1
83
84/* Define to 1 if you have the <limits.h> header file. */
85#cmakedefine HAVE_LIMITS_H 1
86
87/* Define to 1 if you have the <linux/compiler.h> header file. */
88#cmakedefine HAVE_LINUX_COMPILER_H 1
89
90/* Define to 1 if you have the <linux/ethtool.h> header file. */
91#cmakedefine HAVE_LINUX_ETHTOOL_H 1
92
93/* define if we have the Linux getnetbyname_r() */
94#cmakedefine HAVE_LINUX_GETNETBYNAME_R 1
95
96/* define if we have the Linux getprotobyname_r() */
97#cmakedefine HAVE_LINUX_GETPROTOBYNAME_R 1
98
99/* Define to 1 if you have the <linux/if_bonding.h> header file. */
100#cmakedefine HAVE_LINUX_IF_BONDING_H 1
101
102/* Define to 1 if you have the <linux/net_tstamp.h> header file. */
103#cmakedefine HAVE_LINUX_NET_TSTAMP_H 1
104
105/* Define to 1 if you have the <linux/socket.h> header file. */
106#cmakedefine HAVE_LINUX_SOCKET_H 1
107
108/* Define to 1 if you have the <linux/sockios.h> header file. */
109#cmakedefine HAVE_LINUX_SOCKIOS_H 1
110
111/* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
112#cmakedefine HAVE_LINUX_USBDEVICE_FS_H 1
113
114/* Define to 1 if you have the <linux/wireless.h> header file. */
115#cmakedefine HAVE_LINUX_WIRELESS_H 1
116
117/* Define to 1 if you have the <memory.h> header file. */
118#cmakedefine HAVE_MEMORY_H 1
119
120/* Define to 1 if you have the <netpacket/packet.h> header file. */
121#cmakedefine HAVE_NETPACKET_PACKET_H 1
122
123/* Define to 1 if you have the <net/bpf.h> header file. */
124#cmakedefine HAVE_NET_BPF_H 1
125
126/* Define to 1 if you have the <net/enet.h> header file. */
127#cmakedefine HAVE_NET_ENET_H 1
128
129/* Define to 1 if you have the <net/if_media.h> header file. */
130#cmakedefine HAVE_NET_IF_MEDIA_H 1
131
132/* Define to 1 if you have the <net/nit.h> header file. */
133#cmakedefine HAVE_NET_NIT_H 1
134
135/* Define to 1 if you have the <net/pfilt.h> header file. */
136#cmakedefine HAVE_NET_PFILT_H 1
137
138/* Define to 1 if you have the <net/pfvar.h> header file. */
139#cmakedefine HAVE_NET_PFVAR_H 1
140
141/* Define to 1 if you have the <net/raw.h> header file. */
142#cmakedefine HAVE_NET_RAW_H 1
143
144/* if there's an os_proto.h for this platform, to use additional prototypes */
145#cmakedefine HAVE_OS_PROTO_H 1
146
147/* Define to 1 if Packet32 API (Npcap driver) is available */
148#cmakedefine HAVE_PACKET32 1
149
150/* Define to 1 if NPcap's version.h is available */
151#cmakedefine HAVE_VERSION_H 1
152
153/* Define to 1 if you have a POSIX-style `strerror_r' function. */
154#cmakedefine HAVE_POSIX_STRERROR_R 1
155
156/* define if net/pfvar.h defines PF_NAT through PF_NORDR */
157#cmakedefine HAVE_PF_NAT_THROUGH_PF_NORDR 1
158
159/* define if you have the Septel API */
160#cmakedefine HAVE_SEPTEL_API 1
161
162/* define if you have the Myricom SNF API */
163#cmakedefine HAVE_SNF_API 1
164
165/* Define to 1 if you have the `snprintf' function. */
166#cmakedefine HAVE_SNPRINTF 1
167
168/* Define to 1 if the system has the type `socklen_t'. */
169#cmakedefine HAVE_SOCKLEN_T 1
170
171/* On solaris */
172#cmakedefine HAVE_SOLARIS 1
173
174/* define if we have the Solaris/IRIX getnetbyname_r() */
175#cmakedefine HAVE_SOLARIS_IRIX_GETNETBYNAME_R 1
176
177/* define if we have the Solaris/IRIX getprotobyname_r() */
178#cmakedefine HAVE_SOLARIS_IRIX_GETPROTOBYNAME_R 1
179
180/* Define to 1 if you have the <stdint.h> header file. */
181#cmakedefine HAVE_STDINT_H 1
182
183/* Define to 1 if you have the <stdlib.h> header file. */
184#cmakedefine HAVE_STDLIB_H 1
185
186/* Define to 1 if you have the `strerror' function. */
187#cmakedefine HAVE_STRERROR 1
188
189/* Define to 1 if you have the `strerror_s' function. */
190#cmakedefine HAVE_STRERROR_S 1
191
192/* Define to 1 if you have the <strings.h> header file. */
193#cmakedefine HAVE_STRINGS_H 1
194
195/* Define to 1 if you have the <string.h> header file. */
196#cmakedefine HAVE_STRING_H 1
197
198/* Define to 1 if you have the `strlcat' function. */
199#cmakedefine HAVE_STRLCAT 1
200
201/* Define to 1 if you have the `strlcpy' function. */
202#cmakedefine HAVE_STRLCPY 1
203
204/* Define to 1 if you have the `strtok_r' function. */
205#cmakedefine HAVE_STRTOK_R 1
206
207/* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
208#cmakedefine HAVE_STRUCT_BPF_TIMEVAL 1
209
210/* Define to 1 if the system has the type `struct ether_addr'. */
211#cmakedefine HAVE_STRUCT_ETHER_ADDR 1
212
213/* Define to 1 if `msg_control' is a member of `struct msghdr'. */
214#cmakedefine HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
215
216/* Define to 1 if `msg_flags' is a member of `struct msghdr'. */
217#cmakedefine HAVE_STRUCT_MSGHDR_MSG_FLAGS 1
218
219/* Define to 1 if `hci_channel' is a member of `struct sockaddr_hci'. */
220#cmakedefine HAVE_STRUCT_SOCKADDR_HCI_HCI_CHANNEL 1
221
222/* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
223#cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
224
225/* Define to 1 if the system has the type `struct sockaddr_storage'. */
226#cmakedefine HAVE_STRUCT_SOCKADDR_STORAGE 1
227
228/* Define to 1 if `tp_vlan_tci' is a member of `struct tpacket_auxdata'. */
229#cmakedefine HAVE_STRUCT_TPACKET_AUXDATA_TP_VLAN_TCI 1
230
231/* Define to 1 if the system has the type `struct tpacket_stats'. */
232#cmakedefine HAVE_STRUCT_TPACKET_STATS 1
233
234/* Define to 1 if `bRequestType' is a member of `struct
235   usbdevfs_ctrltransfer'. */
236#cmakedefine HAVE_STRUCT_USBDEVFS_CTRLTRANSFER_BREQUESTTYPE 1
237
238/* Define to 1 if you have the <sys/bufmod.h> header file. */
239#cmakedefine HAVE_SYS_BUFMOD_H 1
240
241/* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
242#cmakedefine HAVE_SYS_DLPI_EXT_H 1
243
244/* Define to 1 if you have the <sys/dlpi.h> header file. */
245#cmakedefine HAVE_SYS_DLPI_H 1
246
247/* Define to 1 if you have the <sys/ioccom.h> header file. */
248#cmakedefine HAVE_SYS_IOCCOM_H 1
249
250/* Define to 1 if you have the <sys/net/nit.h> header file. */
251#cmakedefine HAVE_SYS_NET_NIT_H 1
252
253/* Define to 1 if you have the <sys/sockio.h> header file. */
254#cmakedefine HAVE_SYS_SOCKIO_H 1
255
256/* Define to 1 if you have the <sys/stat.h> header file. */
257#cmakedefine HAVE_SYS_STAT_H 1
258
259/* Define to 1 if you have the <sys/types.h> header file. */
260#cmakedefine HAVE_SYS_TYPES_H 1
261
262/* define if you have the TurboCap API */
263#cmakedefine HAVE_TC_API 1
264
265/* Define to 1 if you have the <unistd.h> header file. */
266#cmakedefine HAVE_UNISTD_H 1
267
268/* Define to 1 if you have the `vasprintf' function. */
269#cmakedefine HAVE_VASPRINTF 1
270
271/* Define to 1 if you have the `vsnprintf' function. */
272#cmakedefine HAVE_VSNPRINTF 1
273
274/* Define to 1 if you have the `vsyslog' function. */
275#undef HAVE_VSYSLOG
276
277/* Define to 1 if you have the `PacketIsLoopbackAdapter' function. */
278#cmakedefine HAVE_PACKET_IS_LOOPBACK_ADAPTER 1
279
280/* IPv6 */
281#cmakedefine INET6 1
282
283/* if unaligned access fails */
284#cmakedefine LBL_ALIGN 1
285
286/* path for device for USB sniffing */
287#cmakedefine LINUX_USB_MON_DEV "@LINUX_USB_MON_DEV@"
288
289/* Define to 1 if netinet/ether.h declares `ether_hostton' */
290#cmakedefine NETINET_ETHER_H_DECLARES_ETHER_HOSTTON 1
291
292/* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
293#cmakedefine NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON 1
294
295/* Define to 1 if net/ethernet.h declares `ether_hostton' */
296#cmakedefine NET_ETHERNET_H_DECLARES_ETHER_HOSTTON 1
297
298/* do not use protochain */
299#cmakedefine NO_PROTOCHAIN 1
300
301/* Define to the address where bug reports for this package should be sent. */
302#cmakedefine PACKAGE_BUGREPORT 1
303
304/* Define to the DLL-preferred version string of of this package. */
305#cmakedefine PACKAGE_VERSION_DLL @PACKAGE_VERSION_DLL@
306
307/* Define to the full name of this package. */
308#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
309
310/* Define to the full name and version of this package. */
311#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
312
313/* Define to the one symbol short name of this package. */
314#cmakedefine PACKAGE_TARNAME 1
315
316/* Define to the home page for this package. */
317#cmakedefine PACKAGE_URL 1
318
319/* Define to the version of this package. */
320#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
321
322/* target host supports Bluetooth sniffing */
323#cmakedefine PCAP_SUPPORT_BT 1
324
325/* target host supports Bluetooth Monitor */
326#cmakedefine PCAP_SUPPORT_BT_MONITOR 1
327
328/* support D-Bus sniffing */
329#cmakedefine PCAP_SUPPORT_DBUS 1
330
331/* target host supports netfilter sniffing */
332#cmakedefine PCAP_SUPPORT_NETFILTER 1
333
334/* target host supports netmap */
335#cmakedefine PCAP_SUPPORT_NETMAP 1
336
337/* use packet ring capture support on Linux if available */
338#cmakedefine PCAP_SUPPORT_PACKET_RING 1
339
340/* target host supports RDMA sniffing */
341#cmakedefine PCAP_SUPPORT_RDMASNIFF 1
342
343/* target host supports USB sniffing */
344#cmakedefine PCAP_SUPPORT_USB 1
345
346/* include ACN support */
347#cmakedefine SITA 1
348
349/* Define to 1 if you have the ANSI C header files. */
350#cmakedefine STDC_HEADERS 1
351
352/* Define to 1 if strings.h declares `ffs' */
353#cmakedefine STRINGS_H_DECLARES_FFS 1
354
355/* Define to 1 if sys/ethernet.h declares `ether_hostton' */
356#cmakedefine SYS_ETHERNET_H_DECLARES_ETHER_HOSTTON 1
357
358/* Enable parser debugging */
359#cmakedefine YYDEBUG 1
360
361/* Enable large inode numbers on Mac OS X 10.5.  */
362#ifndef _DARWIN_USE_64_BIT_INODE
363# define _DARWIN_USE_64_BIT_INODE 1
364#endif
365
366/* Number of bits in a file offset, on hosts where this is settable. */
367#cmakedefine _FILE_OFFSET_BITS 1
368
369/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
370#cmakedefine _LARGEFILE_SOURCE 1
371
372/* Define for large files, on AIX-style hosts. */
373#cmakedefine _LARGE_FILES 1
374
375/* define on AIX to get certain functions */
376#cmakedefine _SUN 1
377
378#if 0
379/* on sinix */
380#cmakedefine sinix 1
381#endif
382