/usr/include/wireshark/config.h is in libwireshark-dev 2.0.2+ga16e22e-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 | /* cmakeconfig.h.in */
/* Note: You cannot use earlier #defines in later #cmakedefines (cmake 2.6.2). */
/* Name of package */
#define PACKAGE "wireshark"
#define VERSION_EXTRA ""
/* Version number of package */
#define VERSION "2.0.2"
#define VERSION_MAJOR 2
#define VERSION_MINOR 0
#define VERSION_MICRO 2
#define VERSION_FLAVOR ""
/* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
/* Directory for data */
#define DATAFILE_DIR "/usr/share/wireshark"
/* Build wsutil with SIMD optimization */
#define HAVE_SSE4_2 1
/* Directory where extcap hooks reside */
#define EXTCAP_DIR "/usr/lib/x86_64-linux-gnu/wireshark/extcap/"
/* Define to 1 if we want to enable extcap */
#define HAVE_EXTCAP 1
/* Define to 1 if we want to enable plugins */
#define HAVE_PLUGINS 1
/* Link plugins statically into Wireshark */
/* #undef ENABLE_STATIC */
/* Enable AirPcap */
/* #undef HAVE_AIRPCAP */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <arpa/nameser.h> header file. */
#define HAVE_ARPA_NAMESER_H 1
/* Define to 1 if you have the `bpf_image' function. */
#define HAVE_BPF_IMAGE 1
/* Define to use c-ares library */
#define HAVE_C_ARES 1
/* Define to 1 if you have the `dladdr' function. */
#define HAVE_DLADDR 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to use GeoIP library */
#define HAVE_GEOIP 1
/* Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later) */
#define HAVE_GEOIP_V6 1
/* Define if you have the 'floorl' function. */
/* #undef HAVE_FLOORL */
/* Define to 1 if you have the `getaddrinfo' function. */
#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the `gethostbyname' function. */
#define HAVE_GETHOSTBYNAME 1
/* Define to 1 if you have the `gethostbyname2' function. */
#define HAVE_GETHOSTBYNAME2 1
/* Define to 1 if you have the getopt_long function. */
#define HAVE_GETOPT_LONG 1
/* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1
/* Define if GLib's printf functions support thousands grouping. */
/* #undef HAVE_GLIB_PRINTF_GROUPING */
/* Define to 1 if you have the `getprotobynumber' function. */
#define HAVE_GETPROTOBYNUMBER 1
/* Define to use GNU ADNS library */
/* #undef HAVE_GNU_ADNS */
/* Define to 1 if you have the <grp.h> header file. */
#define HAVE_GRP_H 1
/* Define to use heimdal kerberos */
/* #undef HAVE_HEIMDAL_KERBEROS */
/* Define to 1 if you have the `inet_aton' function. */
#define HAVE_INET_ATON 1
/* Define if inet_ntop() prototype exists */
#define HAVE_INET_NTOP_PROTO 1
/* Define to 1 if you have the `inflatePrime' function. */
#define HAVE_INFLATEPRIME 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `issetugid' function. */
/* #undef HAVE_ISSETUGID */
/* Define to use kerberos */
#define HAVE_KERBEROS 1
/* Define to use the libcap library */
#define HAVE_LIBCAP 1
/* Define to use libgcrypt */
#define HAVE_LIBGCRYPT 1
/* Define to use GnuTLS library */
#define HAVE_LIBGNUTLS 1
/* Enable libnl support */
#define HAVE_LIBNL 1
/* libnl version 1 */
/* #undef HAVE_LIBNL1 */
/* libnl version 2 */
/* #undef HAVE_LIBNL2 */
/* libnl version 3 */
#define HAVE_LIBNL3 1
/* Define to use libpcap library */
#define HAVE_LIBPCAP 1
/* Define to use libportaudio library */
#define HAVE_LIBPORTAUDIO 1
/* Define to 1 if you have the `smi' library (-lsmi). */
#define HAVE_LIBSMI 1
/* Define to use libz library */
#define HAVE_LIBZ 1
/* Define to 1 if you have the <linux/sockios.h> header file. */
#define HAVE_LINUX_SOCKIOS_H 1
/* Define to 1 if you have the <linux/if_bonding.h> header file. */
#define HAVE_LINUX_IF_BONDING_H 1
/* Define to use Lua */
#define HAVE_LUA 1
/* Define to 1 if you have the <lua.h> header file. */
#define HAVE_LUA_H 1
/* Define to 1 if you have the <memory.h> header file. */
/* #undef HAVE_MEMORY_H */
/* Define to use MIT kerberos */
#define HAVE_MIT_KERBEROS 1
/* Define to 1 if you have the `mkdtemp' function. */
#define HAVE_MKDTEMP 1
/* Define to 1 if you have the `mkstemp' function. */
#define HAVE_MKSTEMP 1
/* Define to 1 if you have the `mmap' function. */
/* #undef HAVE_MMAP */
/* Define to 1 if you have the `mprotect' function. */
/* #undef HAVE_MPROTECT */
/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* nl80211.h is new enough */
#define HAVE_NL80211 1
/* SET_CHANNEL is supported */
#define HAVE_NL80211_CMD_SET_CHANNEL 1
/* SPLIT_WIPHY_DUMP is supported */
#define HAVE_NL80211_SPLIT_WIPHY_DUMP 1
/* Define to 1 if you have the <Ntddndis.h> header file. */
/* #undef HAVE_NTDDNDIS_H */
/* Define to 1 if you have OS X frameworks */
/* #undef HAVE_OS_X_FRAMEWORKS */
/* Define to 1 if you have the OS X CFPropertyListCreateWithStream function */
/* #undef HAVE_CFPROPERTYLISTCREATEWITHSTREAM */
/* Define if pcap_breakloop is known */
#define HAVE_PCAP_BREAKLOOP 1
/* Define to 1 if you have the `pcap_create' function. */
#define HAVE_PCAP_CREATE 1
/* Define to 1 if the capture buffer size can be set. */
#define CAN_SET_CAPTURE_BUFFER_SIZE 1
/* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
/* Define to 1 if you have the `pcap_datalink_val_to_description' function. */
#define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
/* Define to 1 if you have the `pcap_datalink_val_to_name' function. */
#define HAVE_PCAP_DATALINK_VAL_TO_NAME 1
/* Define to 1 if you have the `pcap_findalldevs' function and a pcap.h that
declares pcap_if_t. */
#define HAVE_PCAP_FINDALLDEVS 1
/* Define to 1 if you have the `pcap_freecode' function. */
#define HAVE_PCAP_FREECODE 1
/* Define to 1 if you have the `pcap_free_datalinks' function. */
#define HAVE_PCAP_FREE_DATALINKS 1
/* Define to 1 if you have the `pcap_get_selectable_fd' function. */
#define HAVE_PCAP_GET_SELECTABLE_FD 1
/* Define to 1 if you have the `pcap_lib_version' function. */
#define HAVE_PCAP_LIB_VERSION 1
/* Define to 1 if you have the `pcap_list_datalinks' function. */
#define HAVE_PCAP_LIST_DATALINKS 1
/* Define to 1 if you have the `pcap_open' function. */
/* #undef HAVE_PCAP_OPEN */
/* Define to 1 if you have the `pcap_open_dead' function. */
#define HAVE_PCAP_OPEN_DEAD 1
/* Define to 1 if you have WinPcap remote capturing support and prefer to use
these new API features. */
/* #undef HAVE_PCAP_REMOTE */
/* Define to 1 if you have the `pcap_set_datalink' function. */
#define HAVE_PCAP_SET_DATALINK 1
/* Define to 1 if you have the `pcap_setsampling' function. */
/* #undef HAVE_PCAP_SETSAMPLING */
/* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
#define HAVE_PCAP_SET_TSTAMP_PRECISION 1
/* Define to 1 if you have the popcount function. */
/* #undef HAVE_POPCOUNT */
/* Define to 1 if you have the <portaudio.h> header file. */
#define HAVE_PORTAUDIO_H 1
/* Define to 1 if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1
/* Define to 1 if you have the optreset variable */
/* #undef HAVE_OPTRESET */
/* Define to 1 to enable remote capturing feature in WinPcap library */
/* #undef HAVE_REMOTE */
/* Define if sa_len field exists in struct sockaddr */
/* #undef HAVE_SA_LEN */
/* Define to 1 if you want to playing SBC by standalone BlueZ SBC library */
#define HAVE_SBC 1
/* Define to 1 if you have the `setresgid' function. */
#define HAVE_SETRESGID 1
/* Define to 1 if you have the `setresuid' function. */
#define HAVE_SETRESUID 1
/* Define to 1 if you have the WinSparkle library */
/* #undef HAVE_SOFTWARE_UPDATE */
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <strings.h> header file. */
/* #undef HAVE_STRINGS_H */
/* Define if you have the 'strptime' function. */
#define HAVE_STRPTIME 1
/* Define if st_flags field exists in struct stat */
/* #undef HAVE_ST_FLAGS */
/* Define to 1 if you have the `sysconf' function. */
#define HAVE_SYSCONF 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/sockio.h> header file. */
/* #undef HAVE_SYS_SOCKIO_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/utsname.h> header file. */
#define HAVE_SYS_UTSNAME_H 1
/* Define to 1 if you have the <sys/wait.h> header file. */
#define HAVE_SYS_WAIT_H 1
/* Define if tm_zone field exists in struct tm */
#define HAVE_TM_ZONE 1
/* Define if tzname array exists */
#define HAVE_TZNAME 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the <windows.h> header file. */
/* #undef HAVE_WINDOWS_H */
/* Define to 1 if you have the <winsock2.h> header file. */
/* #undef HAVE_WINSOCK2_H */
/* HTML viewer, e.g. mozilla */
#define HTML_VIEWER "/usr/bin/xdg-open"
/* Define if inet/v6defs.h needs to be included */
/* #undef NEED_INET_V6DEFS_H */
/* Name of package */
/* #undef PACKAGE */
/* Define to the address where bug reports for this package should be sent. */
/* #undef PACKAGE_BUGREPORT */
/* Define to the full name of this package. */
/* #undef PACKAGE_NAME */
/* Define to the full name and version of this package. */
/* #undef PACKAGE_STRING */
/* Define to the one symbol short name of this package. */
/* #undef PACKAGE_TARNAME */
/* Define to the version of this package. */
/* #undef PACKAGE_VERSION */
/* Support for pcap-ng */
#define PCAP_NG_DEFAULT 1
/* Plugin installation directory */
#define PLUGIN_INSTALL_DIR "/usr/lib/x86_64-linux-gnu/wireshark/plugins/2.0.2"
/* Define if we are using version of of the Portaudio library API */
/* #undef PORTAUDIO_API_1 */
/* Define if we have QtMultimedia */
#define QT_MULTIMEDIA_LIB 1
/* Define if we have QtMacExtras */
/* #undef QT_MACEXTRAS_LIB */
/* Define if we have QtWinExtras */
/* #undef QT_WINEXTRAS_LIB */
/* Support for packet editor */
#define WANT_PACKET_EDITOR 1
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* Build androiddump with libpcap instead of wireshark stuff */
/* #undef ANDROIDDUMP_USE_LIBPCAP */
/* Large file support */
/* #undef _LARGEFILE_SOURCE */
/* #undef _LARGEFILE64_SOURCE */
/* #undef _LARGE_FILES */
/* #undef _FILE_OFFSET_BITS */
/* Define WS_MSVC_NORETURN appropriately for declarations of routines that
never return (just like Charlie on the MTA).
Note that MSVC++ expects __declspec(noreturn) to precede the function
name and GCC, as far as I know, expects __attribute__((noreturn)) to
follow the function name, so we need two different flavors of
noreturn tag. */
#define WS_MSVC_NORETURN
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */
/* Note: not use in the code */
/* #undef YYTEXT_POINTER */
/* _U_ isn't needed for C++, simply don't name the variable.
However, we do need it for some headers that are shared between C and C++. */
#define _U_ __attribute__((unused))
/* We don't bother checking for IPv6 support; the checks done in the
autoconf script are relics of a bygone age, where IPv6 support in
OSes was sometimes present by default, sometimes provided by
third-party add-ons, and sometimes completely absent, and where the
particular flavor of IPv6 support mattered to us. We'll just wire it
on, unless and until that becomes an issue on platforms where people
use CMake. */
#define INET6 1
#if defined(_WIN32)
/* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */
# ifndef WIN32
# define WIN32 1
# endif
# if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED)
typedef int ssize_t;
# endif
/* FIXME: Detection doesn't work */
# define HAVE_NTDDNDIS_H 1
/* Visual C 9 (2008), Visual C 10 (2010), Visual C 11 (2012) and Visual C 12 (2013)
* need these prototypes
* XXX: Can we use MSC_VER >= 1500 ?? */
# if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 || _MSC_VER == 1800
# define NTDDI_VERSION NTDDI_WINXPSP3
# define _WIN32_WINNT _WIN32_WINNT_WINXP
# endif
/*
* Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
*/
# define YY_NO_UNISTD_H
# define strncasecmp strnicmp
# define popen _popen
# define pclose _pclose
# ifndef __STDC__
# define __STDC__ 0
# endif
/* Use Unicode in Windows runtime functions. */
# define UNICODE 1
# define _UNICODE 1
# define NEED_INET_V6DEFS_H 1
# define NEED_STRPTIME_H 1
#endif
|