Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

config.h
1 /* cmakeconfig.h.in */
2
3 #ifndef __CONFIG_H__
4 #define __CONFIG_H__
5
6 /* Note: You cannot use earlier #defines in later #cmakedefines (cmake 2.6.2). */
7
8 /* Name of package */
9 #define PACKAGE "wireshark"
10
11 #define VERSION_EXTRA ""
12
13 /* Version number of package */
14 #define VERSION "2.9.0-477-g68ec514b"
15 #define VERSION_MAJOR 2
16 #define VERSION_MINOR 9
17 #define VERSION_MICRO 0
18
19 #define VERSION_RELEASE "2.9"
20 #define VERSION_FLAVOR "Development Build"
21
22 /* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
23 /* Directory for data */
24 #define DATAFILE_DIR "/home/wireshark/builders/wireshark-master/ubuntu-16.04-x64/install/share/wireshark"
25
26 /* Build wsutil with SIMD optimization */
27 #define HAVE_SSE4_2 1
28
29 /* Directory where extcap hooks reside */
30 #define EXTCAP_DIR "/home/wireshark/builders/wireshark-master/ubuntu-16.04-x64/install/lib/wireshark/extcap"
31
32 /* Define to 1 if we want to enable plugins */
33 #define HAVE_PLUGINS 1
34
35 /* Define to 1 if we check hf conflict */
36 /* #undef ENABLE_CHECK_FILTER */
37
38 /* Link Wireshark libraries statically */
39 /* #undef ENABLE_STATIC */
40
41 /* Enable AirPcap */
42 /* #undef HAVE_AIRPCAP */
43
44 /* Define to 1 if you have the <alloca.h> header file. */
45 /* #undef HAVE_ALLOCA_H */
46
47 /* Define to 1 if you have the <arpa/inet.h> header file. */
48 #define HAVE_ARPA_INET_H 1
49
50 /* Define to 1 if you have the `bpf_image' function. */
51 #define HAVE_BPF_IMAGE 1
52
53 /* Define to use c-ares library */
54 #define HAVE_C_ARES 1
55
56 /* Define to 1 if you have the <fcntl.h> header file. */
57 #define HAVE_FCNTL_H 1
58
59 /* Define to use the MaxMind DB library */
60 #define HAVE_MAXMINDDB 1
61
62 /* Define to 1 if you have the <ifaddrs.h> header file. */
63 #define HAVE_IFADDRS_H 1
64
65 /* Define to 1 if you have the `getexecname' function. */
66 /* #undef HAVE_GETEXECNAME */
67
68 /* Define to 1 if you have the `getifaddrs' function. */
69 #define HAVE_GETIFADDRS 1
70
71 /* Define if LIBSSH support is enabled */
72 #define HAVE_LIBSSH 1
73
74 /* Define if JSONGLIB support is enabled */
75 /* #undef HAVE_JSONGLIB */
76
77 /* Define if LIBSSH has ssh_userauth_agent() function */
78 #define HAVE_SSH_USERAUTH_AGENT 1
79
80 /* Define if you have the 'dlget' function. */
81 /* #undef HAVE_DLGET */
82
83 /* Define if you have the 'getexecname' function. */
84 /* #undef HAVE_GETEXECNAME */
85
86 /* Define if you have the 'floorl' function. */
87 #define HAVE_FLOORL 1
88
89 /* Define if you have the 'lrint' function. */
90 /* #undef HAVE_LRINT */
91
92 /* Define to 1 if you have the getopt_long function. */
93 #define HAVE_GETOPT_LONG 1
94
95 /* Define to 1 if you have the <getopt.h> header file. */
96 #define HAVE_GETOPT_H 1
97
98 /* Define to 1 if you have the <grp.h> header file. */
99 #define HAVE_GRP_H 1
100
101 /* Define to use heimdal kerberos */
102 /* #undef HAVE_HEIMDAL_KERBEROS */
103
104 /* Define to 1 if you have the `inflatePrime' function. */
105 #define HAVE_INFLATEPRIME 1
106
107 /* Define to 1 if you have the `issetugid' function. */
108 /* #undef HAVE_ISSETUGID */
109
110 /* Define to use kerberos */
111 #define HAVE_KERBEROS 1
112
113 /* Define to use nghttp2 */
114 #define HAVE_NGHTTP2 1
115
116 /* Define to use the libcap library */
117 #define HAVE_LIBCAP 1
118
119 /* Define to use GnuTLS library */
120 #define HAVE_LIBGNUTLS 1
121
122 /* Enable libnl support */
123 #define HAVE_LIBNL 1
124
125 /* libnl version 1 */
126 /* #undef HAVE_LIBNL1 */
127
128 /* libnl version 2 */
129 /* #undef HAVE_LIBNL2 */
130
131 /* libnl version 3 */
132 #define HAVE_LIBNL3 1
133
134 /* Define to use libpcap library */
135 #define HAVE_LIBPCAP 1
136
137 /* Define to 1 if you have the `smi' library (-lsmi). */
138 #define HAVE_LIBSMI 1
139
140 /* Define to use zlib library */
141 #define HAVE_ZLIB 1
142
143 /* Define to use lz4 library */
144 #define HAVE_LZ4 1
145
146 /* Check for lz4frame */
147 #define HAVE_LZ4FRAME_H 1
148
149 /* Define to use snappy library */
150 #define HAVE_SNAPPY 1
151
152 /* Define to 1 if you have the <linux/sockios.h> header file. */
153 #define HAVE_LINUX_SOCKIOS_H 1
154
155 /* Define to 1 if you have the <linux/if_bonding.h> header file. */
156 #define HAVE_LINUX_IF_BONDING_H 1
157
158 /* Define to use Lua */
159 #define HAVE_LUA 1
160
161 /* Define to 1 if you have the <lua.h> header file. */
162 #define HAVE_LUA_H 1
163
164 /* Define to 1 if you have the <memory.h> header file. */
165 /* #undef HAVE_MEMORY_H */
166
167 /* Define to use MIT kerberos */
168 #define HAVE_MIT_KERBEROS 1
169
170 /* Define to 1 if you have the `mkstemps' function. */
171 #define HAVE_MKSTEMPS 1
172
173 /* Define to 1 if you have the `mmap' function. */
174 /* #undef HAVE_MMAP */
175
176 /* Define to 1 if you have the `mprotect' function. */
177 /* #undef HAVE_MPROTECT */
178
179 /* Define to 1 if you have the <netdb.h> header file. */
180 #define HAVE_NETDB_H 1
181
182 /* Define to 1 if you have the <netinet/in.h> header file. */
183 #define HAVE_NETINET_IN_H 1
184
185 /* nl80211.h is new enough */
186 #define HAVE_NL80211 1
187
188 /* SET_CHANNEL is supported */
189 #define HAVE_NL80211_CMD_SET_CHANNEL 1
190
191 /* SPLIT_WIPHY_DUMP is supported */
192 #define HAVE_NL80211_SPLIT_WIPHY_DUMP 1
193
194 /* VHT_CAPABILITY is supported */
195 #define HAVE_NL80211_VHT_CAPABILITY 1
196
197 /* Define to 1 if you have macOS frameworks */
198 /* #undef HAVE_MACOS_FRAMEWORKS */
199
200 /* Define to 1 if you have the macOS CFPropertyListCreateWithStream function */
201 /* #undef HAVE_CFPROPERTYLISTCREATEWITHSTREAM */
202
203 /* Define if pcap_breakloop is known */
204 #define HAVE_PCAP_BREAKLOOP 1
205
206 /* Define to 1 if you have the `pcap_create' function. */
207 #define HAVE_PCAP_CREATE 1
208
209 /* Define to 1 if the capture buffer size can be set. */
210 #define CAN_SET_CAPTURE_BUFFER_SIZE 1
211
212 /* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
213 #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
214
215 /* Define to 1 if you have the `pcap_datalink_val_to_description' function. */
216 #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
217
218 /* Define to 1 if you have the `pcap_datalink_val_to_name' function. */
219 #define HAVE_PCAP_DATALINK_VAL_TO_NAME 1
220
221 /* Define to 1 if you have the `pcap_findalldevs' function and a pcap.h that
222 declares pcap_if_t. */
223 #define HAVE_PCAP_FINDALLDEVS 1
224
225 /* Define to 1 if you have the `pcap_freecode' function. */
226 #define HAVE_PCAP_FREECODE 1
227
228 /* Define to 1 if you have the `pcap_free_datalinks' function. */
229 #define HAVE_PCAP_FREE_DATALINKS 1
230
231 /* Define to 1 if you have the `pcap_get_selectable_fd' function. */
232 #define HAVE_PCAP_GET_SELECTABLE_FD 1
233
234 /* Define to 1 if you have the `pcap_lib_version' function. */
235 #define HAVE_PCAP_LIB_VERSION 1
236
237 /* Define to 1 if you have the `pcap_list_datalinks' function. */
238 #define HAVE_PCAP_LIST_DATALINKS 1
239
240 /* Define to 1 if you have the `pcap_open' function. */
241 /* #undef HAVE_PCAP_OPEN */
242
243 /* Define to 1 if you have the `pcap_open_dead' function. */
244 #define HAVE_PCAP_OPEN_DEAD 1
245
246 /* Define to 1 if you have libpcap/WinPcap remote capturing support. */
247 /* #undef HAVE_PCAP_REMOTE */
248
249 /* Define to 1 if you have the `pcap_set_datalink' function. */
250 #define HAVE_PCAP_SET_DATALINK 1
251
252 /* Define to 1 if you have the `pcap_setsampling' function. */
253 /* #undef HAVE_PCAP_SETSAMPLING */
254
255 /* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
256 #define HAVE_PCAP_SET_TSTAMP_PRECISION 1
257
258 /* Define to 1 if you have the `pcap_set_tstamp_type' function. */
259 #define HAVE_PCAP_SET_TSTAMP_TYPE 1
260
261 /* Define to 1 if you have the <pwd.h> header file. */
262 #define HAVE_PWD_H 1
263
264 /* Define to 1 if you have the optreset variable */
265 /* #undef HAVE_OPTRESET */
266
267 /* Define if sa_len field exists in struct sockaddr */
268 /* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */
269
270 /* Define to 1 if you want to playing SBC by standalone BlueZ SBC library */
271 #define HAVE_SBC 1
272
273 /* Define to 1 if you have the SpanDSP library. */
274 #define HAVE_SPANDSP 1
275
276 /* Define to 1 if you have the bcg729 library. */
277 #define HAVE_BCG729 1
278
279 /* Define to 1 if you have the lixbml2 library. */
280 #define HAVE_LIBXML2 1
281
282 /* Define to 1 if you have the `setresgid' function. */
283 #define HAVE_SETRESGID 1
284
285 /* Define to 1 if you have the `setresuid' function. */
286 #define HAVE_SETRESUID 1
287
288 /* Define to 1 if you have the WinSparkle library */
289 /* #undef HAVE_SOFTWARE_UPDATE */
290
291 /* Define if you have the 'strptime' function. */
292 #define HAVE_STRPTIME 1
293
294 /* Define to 1 if `st_birthtime' is a member of `struct stat'. */
295 /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */
296
297 /* Define if st_flags field exists in struct stat */
298 /* #undef HAVE_STRUCT_STAT_ST_FLAGS */
299
300 /* Define to 1 if `__st_birthtime' is a member of `struct stat'. */
301 /* #undef HAVE_STRUCT_STAT___ST_BIRTHTIME */
302
303 /* Define to 1 if you have the <sys/ioctl.h> header file. */
304 #define HAVE_SYS_IOCTL_H 1
305
306 /* Define to 1 if you have the <sys/socket.h> header file. */
307 #define HAVE_SYS_SOCKET_H 1
308
309 /* Define to 1 if you have the <sys/sockio.h> header file. */
310 /* #undef HAVE_SYS_SOCKIO_H */
311
312 /* Define to 1 if you have the <sys/stat.h> header file. */
313 #define HAVE_SYS_STAT_H 1
314
315 /* Define to 1 if you have the <sys/time.h> header file. */
316 #define HAVE_SYS_TIME_H 1
317
318 /* Define to 1 if you have the <sys/types.h> header file. */
319 #define HAVE_SYS_TYPES_H 1
320
321 /* Define to 1 if you have the <sys/utsname.h> header file. */
322 #define HAVE_SYS_UTSNAME_H 1
323
324 /* Define to 1 if you have the <sys/wait.h> header file. */
325 #define HAVE_SYS_WAIT_H 1
326
327 /* Define if tm_zone field exists in struct tm */
328 #define HAVE_STRUCT_TM_TM_ZONE 1
329
330 /* Define if tzname array exists */
331 #define HAVE_TZNAME 1
332
333 /* Define to 1 if you have the <unistd.h> header file. */
334 #define HAVE_UNISTD_H 1
335
336 /* Name of package */
337 /* #undef PACKAGE */
338
339 /* Define to the address where bug reports for this package should be sent. */
340 /* #undef PACKAGE_BUGREPORT */
341
342 /* Define to the full name of this package. */
343 /* #undef PACKAGE_NAME */
344
345 /* Define to the full name and version of this package. */
346 /* #undef PACKAGE_STRING */
347
348 /* Define to the one symbol short name of this package. */
349 /* #undef PACKAGE_TARNAME */
350
351 /* Define to the version of this package. */
352 /* #undef PACKAGE_VERSION */
353
354 /* Support for pcapng */
355 #define PCAP_NG_DEFAULT 1
356
357 /* Define if we have QtMultimedia */
358 #define QT_MULTIMEDIA_LIB 1
359
360 /* Define if we have QtMacExtras */
361 /* #undef QT_MACEXTRAS_LIB */
362
363 /* Define if we have QtWinExtras */
364 /* #undef QT_WINEXTRAS_LIB */
365
366 /* Build androiddump with libpcap instead of wireshark stuff */
367 /* #undef ANDROIDDUMP_USE_LIBPCAP */
368
369 /* Large file support */
370 /* #undef _LARGEFILE_SOURCE */
371 /* #undef _LARGEFILE64_SOURCE */
372 /* #undef _LARGE_FILES */
373 /* #undef _FILE_OFFSET_BITS */
374
375 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
376 `char[]'. */
377 /* Note: not use in the code */
378 /* #undef YYTEXT_POINTER */
379
380 #if defined(_WIN32)
381 /*
382 * Make sure everyone is using the same API and that it's sufficient
383 * for our needs.
384 * This should match the following:
385 * - The <compatibility><application> section in image\wireshark.exe.manifest.in
386 * - The GetWindowsVersion parts of packaging\nsis\wireshark.nsi
387 * - The VersionNT parts of packaging\wix\Prerequisites.wxi
388 */
389 # if defined(NTDDI_VERSION)
390 # error NTDDI_VERSION already defined.
391 # endif
392 # define NTDDI_VERSION NTDDI_WIN7
393 # if defined(_WIN32_WINNT)
394 # error _WIN32_WINNT already defined.
395 # endif
396 # define _WIN32_WINNT _WIN32_WINNT_WIN7
397
398 /* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */
399 # ifndef WIN32
400 # define WIN32 1
401 # endif
402
403 # if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED)
404 typedef int ssize_t;
405 # endif
406
407 /*
408 * Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
409 */
410 # define YY_NO_UNISTD_H
411
412 # define strncasecmp strnicmp
413 # define popen _popen
414 # define pclose _pclose
415
416 # ifndef __STDC__
417 # define __STDC__ 0
418 # endif
419 /* Use Unicode in Windows runtime functions. */
420 # define UNICODE 1
421 # define _UNICODE 1
422
423 # define NEED_STRPTIME_H 1
424 #endif
425
426 #include <ws_diag_control.h>
427
428 #endif /* __CONFIG_H__ */