]> The Tcpdump Group git mirrors - libpcap/blob - cmakeconfig.h.in
Make pcap_strerror() more thread-safe.
[libpcap] / cmakeconfig.h.in
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 if you have the AirPcap API */
19 #cmakedefine HAVE_AIRPCAP_API 1
20
21 /* Define to 1 if you have the `asprintf' function. */
22 #cmakedefine HAVE_ASPRINTF 1
23
24 /* Define to 1 if you have the <config/HaikuConfig.h> header file. */
25 #cmakedefine HAVE_CONFIG_HAIKUCONFIG_H 1
26
27 /* define if you have the DAG API */
28 #cmakedefine HAVE_DAG_API 1
29
30 /* define if you have dag_get_erf_types() */
31 #cmakedefine HAVE_DAG_GET_ERF_TYPES 1
32
33 /* define if you have dag_get_stream_erf_types() */
34 #cmakedefine HAVE_DAG_GET_STREAM_ERF_TYPES 1
35
36 /* define if you have large streams capable DAG API */
37 #cmakedefine HAVE_DAG_LARGE_STREAMS_API 1
38
39 /* define if you have vdag_set_device_info() */
40 #cmakedefine HAVE_DAG_VDAG 1
41
42 /* Define to 1 if you have the declaration of `ether_hostton' */
43 #cmakedefine HAVE_DECL_ETHER_HOSTTON 1
44
45 /* Define to 1 if `dl_module_id_1' is a member of `dl_hp_ppa_info_t'. */
46 #cmakedefine HAVE_DL_HP_PPA_INFO_T_DL_MODULE_ID_1 1
47
48 /* Define to 1 if the system has the type `dl_passive_req_t'. */
49 #cmakedefine HAVE_DL_PASSIVE_REQ_T 1
50
51 /* Define to 1 if you have the `ether_hostton' function. */
52 #cmakedefine HAVE_ETHER_HOSTTON 1
53
54 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
55 #cmakedefine HAVE_FSEEKO 1
56
57 /* Define to 1 if you have the `getspnam' function. */
58 #cmakedefine HAVE_GETSPNAM 1
59
60 /* Define to 1 if you have a GNU-style `strerror_r' function. */
61 #cmakedefine HAVE_GNU_STRERROR_R 1
62
63 /* on HP-UX 10.20 or later */
64 #cmakedefine HAVE_HPUX10_20_OR_LATER 1
65
66 /* Define to 1 if you have the <hurd.h> header file. */
67 #cmakedefine HAVE_HURD_H 1
68
69 /* Define to 1 if you have the <inttypes.h> header file. */
70 #cmakedefine HAVE_INTTYPES_H 1
71
72 /* if libdlpi exists */
73 #cmakedefine HAVE_LIBDLPI 1
74
75 /* if libnl exists */
76 #cmakedefine HAVE_LIBNL 1
77
78 /* Define to 1 if you have the <linux/compiler.h> header file. */
79 #cmakedefine HAVE_LINUX_COMPILER_H 1
80
81 /* define if we have the Linux getnetbyname_r() */
82 #cmakedefine HAVE_LINUX_GETNETBYNAME_R 1
83
84 /* define if we have the Linux getprotobyname_r() */
85 #cmakedefine HAVE_LINUX_GETPROTOBYNAME_R 1
86
87 /* Define to 1 if you have the <linux/net_tstamp.h> header file. */
88 #cmakedefine HAVE_LINUX_NET_TSTAMP_H 1
89
90 /* Define to 1 if you have the <linux/socket.h> header file. */
91 #cmakedefine HAVE_LINUX_SOCKET_H 1
92
93 /* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
94 #cmakedefine HAVE_LINUX_USBDEVICE_FS_H 1
95
96 /* Define to 1 if you have the <linux/wireless.h> header file. */
97 #cmakedefine HAVE_LINUX_WIRELESS_H 1
98
99 /* Define to 1 if you have the <memory.h> header file. */
100 #cmakedefine HAVE_MEMORY_H 1
101
102 /* Define to 1 if you have the <netpacket/packet.h> header file. */
103 #cmakedefine HAVE_NETPACKET_PACKET_H 1
104
105 /* Define to 1 if you have the <net/bpf.h> header file. */
106 #cmakedefine HAVE_NET_BPF_H 1
107
108 /* Define to 1 if you have the <net/if_media.h> header file. */
109 #cmakedefine HAVE_NET_IF_MEDIA_H 1
110
111 /* Use OpenSSL */
112 #cmakedefine HAVE_OPENSSL 1
113
114 /* if there's an os_proto.h for this platform, to use additional prototypes */
115 #cmakedefine HAVE_OS_PROTO_H 1
116
117 /* Define to 1 if Packet32 API (Npcap driver) is available */
118 #cmakedefine HAVE_PACKET32 1
119
120 /* Define to 1 if NPcap's version.h is available */
121 #cmakedefine HAVE_VERSION_H 1
122
123 /* Define to 1 if you have a POSIX-style `strerror_r' function. */
124 #cmakedefine HAVE_POSIX_STRERROR_R 1
125
126 /* define if you have the Septel API */
127 #cmakedefine HAVE_SEPTEL_API 1
128
129 /* define if you have the Myricom SNF API */
130 #cmakedefine HAVE_SNF_API 1
131
132 /* Define to 1 if you have the `snprintf' function. */
133 #cmakedefine HAVE_SNPRINTF 1
134
135 /* Define to 1 if the system has the type `socklen_t'. */
136 #cmakedefine HAVE_SOCKLEN_T 1
137
138 /* On solaris */
139 #cmakedefine HAVE_SOLARIS 1
140
141 /* target host supports Solaris "any" device */
142 #cmakedefine HAVE_SOLARIS_ANY_DEVICE 1
143
144 /* define if we have the Solaris getnetbyname_r() */
145 #cmakedefine HAVE_SOLARIS_GETNETBYNAME_R 1
146
147 /* define if we have the Solaris getprotobyname_r() */
148 #cmakedefine HAVE_SOLARIS_GETPROTOBYNAME_R 1
149
150 /* Define to 1 if you have the <stdint.h> header file. */
151 #cmakedefine HAVE_STDINT_H 1
152
153 /* Define to 1 if you have the <stdlib.h> header file. */
154 #cmakedefine HAVE_STDLIB_H 1
155
156 /* Define to 1 if you have the <strings.h> header file. */
157 #cmakedefine HAVE_STRINGS_H 1
158
159 /* Define to 1 if you have the <string.h> header file. */
160 #cmakedefine HAVE_STRING_H 1
161
162 /* Define to 1 if you have the `strlcat' function. */
163 #cmakedefine HAVE_STRLCAT 1
164
165 /* Define to 1 if you have the `strlcpy' function. */
166 #cmakedefine HAVE_STRLCPY 1
167
168 /* Define to 1 if you have the `strtok_r' function. */
169 #cmakedefine HAVE_STRTOK_R 1
170
171 /* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
172 #cmakedefine HAVE_STRUCT_BPF_TIMEVAL 1
173
174 /* Define to 1 if the system has the type `struct ether_addr'. */
175 #cmakedefine HAVE_STRUCT_ETHER_ADDR 1
176
177 /* Define to 1 if `msg_control' is a member of `struct msghdr'. */
178 #cmakedefine HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
179
180 /* Define to 1 if `msg_flags' is a member of `struct msghdr'. */
181 #cmakedefine HAVE_STRUCT_MSGHDR_MSG_FLAGS 1
182
183 /* Define to 1 if the system has the type `struct rte_ether_addr'. */
184 #cmakedefine HAVE_STRUCT_RTE_ETHER_ADDR 1
185
186 /* Define to 1 if `hci_channel' is a member of `struct sockaddr_hci'. */
187 #cmakedefine HAVE_STRUCT_SOCKADDR_HCI_HCI_CHANNEL 1
188
189 /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
190 #cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
191
192 /* Define to 1 if `tp_vlan_tci' is a member of `struct tpacket_auxdata'. */
193 #cmakedefine HAVE_STRUCT_TPACKET_AUXDATA_TP_VLAN_TCI 1
194
195 /* Define to 1 if `bRequestType' is a member of `struct
196 usbdevfs_ctrltransfer'. */
197 #cmakedefine HAVE_STRUCT_USBDEVFS_CTRLTRANSFER_BREQUESTTYPE 1
198
199 /* Define to 1 if you have the <sys/bufmod.h> header file. */
200 #cmakedefine HAVE_SYS_BUFMOD_H 1
201
202 /* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
203 #cmakedefine HAVE_SYS_DLPI_EXT_H 1
204
205 /* Define to 1 if you have the <sys/dlpi.h> header file. */
206 #cmakedefine HAVE_SYS_DLPI_H 1
207
208 /* Define to 1 if you have the <sys/ioccom.h> header file. */
209 #cmakedefine HAVE_SYS_IOCCOM_H 1
210
211 /* Define to 1 if you have the <sys/sockio.h> header file. */
212 #cmakedefine HAVE_SYS_SOCKIO_H 1
213
214 /* Define to 1 if you have the <sys/stat.h> header file. */
215 #cmakedefine HAVE_SYS_STAT_H 1
216
217 /* define if you have the TurboCap API */
218 #cmakedefine HAVE_TC_API 1
219
220 /* Define to 1 if you have the <unistd.h> header file. */
221 #cmakedefine HAVE_UNISTD_H 1
222
223 /* Define to 1 if you have the `vasprintf' function. */
224 #cmakedefine HAVE_VASPRINTF 1
225
226 /* Define to 1 if you have the `vsnprintf' function. */
227 #cmakedefine HAVE_VSNPRINTF 1
228
229 /* Define to 1 if you have the `vsyslog' function. */
230 #cmakedefine HAVE_VSYSLOG 1
231
232 /* Define to 1 if you have the `_wcserror_s' function. */
233 #cmakedefine HAVE__WCSERROR_S 1
234
235 /* define if __atomic_load_n is supported by the compiler */
236 #cmakedefine HAVE___ATOMIC_LOAD_N 1
237
238 /* define if __atomic_store_n is supported by the compiler */
239 #cmakedefine HAVE___ATOMIC_STORE_N 1
240
241 /* Define to 1 if you have the `PacketGetTimestampModes' function. */
242 #cmakedefine HAVE_PACKET_GET_TIMESTAMP_MODES 1
243
244 /* Define to 1 if you have the `PacketIsLoopbackAdapter' function. */
245 #cmakedefine HAVE_PACKET_IS_LOOPBACK_ADAPTER 1
246
247 /* IPv6 */
248 #cmakedefine INET6 1
249
250 /* Define to 1 if netinet/ether.h declares `ether_hostton' */
251 #cmakedefine NETINET_ETHER_H_DECLARES_ETHER_HOSTTON 1
252
253 /* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
254 #cmakedefine NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON 1
255
256 /* Define to 1 if net/ethernet.h declares `ether_hostton' */
257 #cmakedefine NET_ETHERNET_H_DECLARES_ETHER_HOSTTON 1
258
259 /* do not use protochain */
260 #cmakedefine NO_PROTOCHAIN 1
261
262 /* Define to the address where bug reports for this package should be sent. */
263 #cmakedefine PACKAGE_BUGREPORT 1
264
265 /* Define to the DLL-preferred version string of this package. */
266 #cmakedefine PACKAGE_VERSION_DLL @PACKAGE_VERSION_DLL@
267
268 /* Define to the full name of this package. */
269 #cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
270
271 /* Define to the full name and version of this package. */
272 #cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
273
274 /* Define to the one symbol short name of this package. */
275 #cmakedefine PACKAGE_TARNAME 1
276
277 /* Define to the home page for this package. */
278 #cmakedefine PACKAGE_URL 1
279
280 /* Define to the version of this package. */
281 #cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
282
283 /* target host supports Bluetooth sniffing */
284 #cmakedefine PCAP_SUPPORT_BT 1
285
286 /* target host supports Bluetooth Monitor */
287 #cmakedefine PCAP_SUPPORT_BT_MONITOR 1
288
289 /* support D-Bus sniffing */
290 #cmakedefine PCAP_SUPPORT_DBUS 1
291
292 /* target host supports DPDK */
293 #cmakedefine PCAP_SUPPORT_DPDK 1
294
295 /* target host supports Linux usbmon for USB sniffing */
296 #cmakedefine PCAP_SUPPORT_LINUX_USBMON 1
297
298 /* target host supports netfilter sniffing */
299 #cmakedefine PCAP_SUPPORT_NETFILTER 1
300
301 /* target host supports netmap */
302 #cmakedefine PCAP_SUPPORT_NETMAP 1
303
304 /* target host supports RDMA sniffing */
305 #cmakedefine PCAP_SUPPORT_RDMASNIFF 1
306
307 /* The size of `time_t', as computed by sizeof. */
308 #cmakedefine SIZEOF_TIME_T @SIZEOF_TIME_T@
309
310 /* The size of `void *', as computed by sizeof. */
311 #cmakedefine SIZEOF_VOID_P @SIZEOF_VOID_P@
312
313 /* Define to 1 if you have the ANSI C header files. */
314 #cmakedefine STDC_HEADERS 1
315
316 /* Define to 1 if strings.h declares `ffs' */
317 #cmakedefine STRINGS_H_DECLARES_FFS 1
318
319 /* Define to 1 if sys/ethernet.h declares `ether_hostton' */
320 #cmakedefine SYS_ETHERNET_H_DECLARES_ETHER_HOSTTON 1
321
322 /* Enable parser debugging */
323 #cmakedefine YYDEBUG 1
324
325 /* Enable large inode numbers on Mac OS X 10.5. */
326 #ifndef _DARWIN_USE_64_BIT_INODE
327 # define _DARWIN_USE_64_BIT_INODE 1
328 #endif
329
330 /* Number of bits in a file offset, on hosts where this is settable. */
331 #cmakedefine _FILE_OFFSET_BITS 1
332
333 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
334 #cmakedefine _LARGEFILE_SOURCE 1
335
336 /* Define for large files, on AIX-style hosts. */
337 #cmakedefine _LARGE_FILES 1