diff --git a/.gitignore b/.gitignore index a60896e..e524d79 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ +.vscode/ build/ -version.txt \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 156803f..b36c30d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,10 +11,12 @@ include(Version) set(CMAKE_MACOSX_RPATH 0) -execute_process(COMMAND ../configure WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) +execute_process(COMMAND ../src/configure WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) execute_process(COMMAND make CFLAGS+=-DGIT_VERSION=\\"${GIT_VERSION}\\" WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) +execute_process(COMMAND cp tcpdump tcpdump_mesa WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) + # install the minidump tools to target binary dir -install(PROGRAMS ${CMAKE_BINARY_DIR}/tcpdump DESTINATION ./bin/tcpdump_mesa COMPONENT EXECUTABLE) +install(PROGRAMS ${CMAKE_BINARY_DIR}/tcpdump_mesa DESTINATION ./bin/ COMPONENT EXECUTABLE) include(Package) \ No newline at end of file diff --git a/cmake-build-debug/.cmake/api/v1/query/client-vscode/query.json b/cmake-build-debug/.cmake/api/v1/query/client-vscode/query.json new file mode 100644 index 0000000..7730820 --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/query/client-vscode/query.json @@ -0,0 +1 @@ +{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2}]} \ No newline at end of file diff --git a/cmake-build-debug/.cmake/api/v1/reply/cache-v2-d6be4d7a072d5438b4cc.json b/cmake-build-debug/.cmake/api/v1/reply/cache-v2-d6be4d7a072d5438b4cc.json new file mode 100644 index 0000000..5aa1f52 --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/cache-v2-d6be4d7a072d5438b4cc.json @@ -0,0 +1,1275 @@ +{ + "entries" : + [ + { + "name" : "CMAKE_ADDR2LINE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/addr2line" + }, + { + "name" : "CMAKE_AR", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ar" + }, + { + "name" : "CMAKE_BUILD_TYPE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "STRING", + "value" : "Debug" + }, + { + "name" : "CMAKE_CACHEFILE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "This is the directory where this CMakeCache.txt was created" + } + ], + "type" : "INTERNAL", + "value" : "/home/yangwei/tcpdump_mesa/cmake-build-debug" + }, + { + "name" : "CMAKE_CACHE_MAJOR_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Major version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "3" + }, + { + "name" : "CMAKE_CACHE_MINOR_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Minor version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "17" + }, + { + "name" : "CMAKE_CACHE_PATCH_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Patch version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "3" + }, + { + "name" : "CMAKE_COLOR_MAKEFILE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable/Disable color output during build." + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "CMAKE_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to CMake executable." + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/cmake3" + }, + { + "name" : "CMAKE_CPACK_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to cpack program executable." + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/cpack3" + }, + { + "name" : "CMAKE_CTEST_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to ctest program executable." + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/ctest3" + }, + { + "name" : "CMAKE_CXX_COMPILER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/g++" + }, + { + "name" : "CMAKE_CXX_COMPILER_AR", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "A wrapper around 'ar' adding the appropriate '--plugin' option for the GCC compiler" + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc-ar" + }, + { + "name" : "CMAKE_CXX_COMPILER_RANLIB", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "A wrapper around 'ranlib' adding the appropriate '--plugin' option for the GCC compiler" + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc-ranlib" + }, + { + "name" : "CMAKE_CXX_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_CXX_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "-g" + }, + { + "name" : "CMAKE_CXX_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "-Os -DNDEBUG" + }, + { + "name" : "CMAKE_CXX_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "-O2 -DNDEBUG" + }, + { + "name" : "CMAKE_CXX_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "-O2 -g -DNDEBUG" + }, + { + "name" : "CMAKE_C_COMPILER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc" + }, + { + "name" : "CMAKE_C_COMPILER_AR", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "A wrapper around 'ar' adding the appropriate '--plugin' option for the GCC compiler" + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc-ar" + }, + { + "name" : "CMAKE_C_COMPILER_RANLIB", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "A wrapper around 'ranlib' adding the appropriate '--plugin' option for the GCC compiler" + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc-ranlib" + }, + { + "name" : "CMAKE_C_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_C_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "-g" + }, + { + "name" : "CMAKE_C_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "-Os -DNDEBUG" + }, + { + "name" : "CMAKE_C_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "-O2 -DNDEBUG" + }, + { + "name" : "CMAKE_C_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "-O2 -g -DNDEBUG" + }, + { + "name" : "CMAKE_DLLTOOL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_DLLTOOL-NOTFOUND" + }, + { + "name" : "CMAKE_EDIT_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to cache edit program executable." + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/ccmake3" + }, + { + "name" : "CMAKE_EXECUTABLE_FORMAT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Executable file format" + } + ], + "type" : "INTERNAL", + "value" : "ELF" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXPORT_COMPILE_COMMANDS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "BOOL", + "value" : "TRUE" + }, + { + "name" : "CMAKE_EXTRA_GENERATOR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of external makefile project generator." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator." + } + ], + "type" : "INTERNAL", + "value" : "Unix Makefiles" + }, + { + "name" : "CMAKE_GENERATOR_INSTANCE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Generator instance identifier." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR_PLATFORM", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator platform." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR_TOOLSET", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator toolset." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_HOME_DIRECTORY", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Source directory with the top level CMakeLists.txt file for this project" + } + ], + "type" : "INTERNAL", + "value" : "/home/yangwei/tcpdump_mesa" + }, + { + "name" : "CMAKE_INSTALL_PREFIX", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Install path prefix, prepended onto install directories." + } + ], + "type" : "PATH", + "value" : "/usr/local" + }, + { + "name" : "CMAKE_INSTALL_SO_NO_EXE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Install .so files without execute permission." + } + ], + "type" : "INTERNAL", + "value" : "0" + }, + { + "name" : "CMAKE_LINKER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ld" + }, + { + "name" : "CMAKE_MAKE_PROGRAM", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gmake" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_NM", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/nm" + }, + { + "name" : "CMAKE_NUMBER_OF_MAKEFILES", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "number of local generators" + } + ], + "type" : "INTERNAL", + "value" : "1" + }, + { + "name" : "CMAKE_OBJCOPY", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/objcopy" + }, + { + "name" : "CMAKE_OBJDUMP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/objdump" + }, + { + "name" : "CMAKE_PLATFORM_INFO_INITIALIZED", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Platform information initialized" + } + ], + "type" : "INTERNAL", + "value" : "1" + }, + { + "name" : "CMAKE_PROJECT_DESCRIPTION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "" + }, + { + "name" : "CMAKE_PROJECT_HOMEPAGE_URL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "" + }, + { + "name" : "CMAKE_PROJECT_NAME", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "tcpdump_mesa" + }, + { + "name" : "CMAKE_RANLIB", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ranlib" + }, + { + "name" : "CMAKE_READELF", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/readelf" + }, + { + "name" : "CMAKE_ROOT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to CMake installation." + } + ], + "type" : "INTERNAL", + "value" : "/usr/share/cmake3" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SKIP_INSTALL_RPATH", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If set, runtime paths are not added when installing shared libraries, but are added when building." + } + ], + "type" : "BOOL", + "value" : "NO" + }, + { + "name" : "CMAKE_SKIP_RPATH", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If set, runtime paths are not added when using shared libraries." + } + ], + "type" : "BOOL", + "value" : "NO" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STRIP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/strip" + }, + { + "name" : "CMAKE_UNAME", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "uname command" + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/uname" + }, + { + "name" : "CMAKE_VERBOSE_MAKEFILE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make. This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo." + } + ], + "type" : "BOOL", + "value" : "FALSE" + }, + { + "name" : "CPACK_SOURCE_RPM", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable to build RPM source packages" + } + ], + "type" : "BOOL", + "value" : "OFF" + }, + { + "name" : "CPACK_SOURCE_TBZ2", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable to build TBZ2 source packages" + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "CPACK_SOURCE_TGZ", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable to build TGZ source packages" + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "CPACK_SOURCE_TXZ", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable to build TXZ source packages" + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "CPACK_SOURCE_TZ", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable to build TZ source packages" + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "CPACK_SOURCE_ZIP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable to build ZIP source packages" + } + ], + "type" : "BOOL", + "value" : "OFF" + }, + { + "name" : "DEFINE_GIT_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Set DEFINE_GIT_VERSION to TRUE or FALSE" + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "tcpdump_mesa_BINARY_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/home/yangwei/tcpdump_mesa/cmake-build-debug" + }, + { + "name" : "tcpdump_mesa_SOURCE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/home/yangwei/tcpdump_mesa" + } + ], + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } +} diff --git a/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-26d6a3e73bd6e837eafc.json b/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-26d6a3e73bd6e837eafc.json new file mode 100644 index 0000000..5350ff2 --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-26d6a3e73bd6e837eafc.json @@ -0,0 +1,43 @@ +{ + "configurations" : + [ + { + "directories" : + [ + { + "build" : ".", + "hasInstallRule" : true, + "minimumCMakeVersion" : + { + "string" : "2.8" + }, + "projectIndex" : 0, + "source" : "." + } + ], + "name" : "Debug", + "projects" : + [ + { + "directoryIndexes" : + [ + 0 + ], + "name" : "tcpdump_mesa" + } + ], + "targets" : [] + } + ], + "kind" : "codemodel", + "paths" : + { + "build" : "/home/yangwei/tcpdump_mesa/cmake-build-debug", + "source" : "/home/yangwei/tcpdump_mesa" + }, + "version" : + { + "major" : 2, + "minor" : 0 + } +} diff --git a/cmake-build-debug/.cmake/api/v1/reply/index-2020-09-28T06-04-53-0037.json b/cmake-build-debug/.cmake/api/v1/reply/index-2020-09-28T06-04-53-0037.json new file mode 100644 index 0000000..9e1074c --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/index-2020-09-28T06-04-53-0037.json @@ -0,0 +1,88 @@ +{ + "cmake" : + { + "generator" : + { + "multiConfig" : false, + "name" : "Unix Makefiles" + }, + "paths" : + { + "cmake" : "/usr/bin/cmake3", + "cpack" : "/usr/bin/cpack3", + "ctest" : "/usr/bin/ctest3", + "root" : "/usr/share/cmake3" + }, + "version" : + { + "isDirty" : false, + "major" : 3, + "minor" : 17, + "patch" : 3, + "string" : "3.17.3", + "suffix" : "" + } + }, + "objects" : + [ + { + "jsonFile" : "codemodel-v2-26d6a3e73bd6e837eafc.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + { + "jsonFile" : "cache-v2-d6be4d7a072d5438b4cc.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + } + ], + "reply" : + { + "client-vscode" : + { + "query.json" : + { + "requests" : + [ + { + "kind" : "cache", + "version" : 2 + }, + { + "kind" : "codemodel", + "version" : 2 + } + ], + "responses" : + [ + { + "jsonFile" : "cache-v2-d6be4d7a072d5438b4cc.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + { + "jsonFile" : "codemodel-v2-26d6a3e73bd6e837eafc.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 0 + } + } + ] + } + } + } +} diff --git a/cmake-build-debug/CMakeCache.txt b/cmake-build-debug/CMakeCache.txt new file mode 100644 index 0000000..19ce3e5 --- /dev/null +++ b/cmake-build-debug/CMakeCache.txt @@ -0,0 +1,400 @@ +# This is the CMakeCache file. +# For build in directory: /home/yangwei/tcpdump_mesa/cmake-build-debug +# It was generated by CMake: /usr/bin/cmake3 +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Path to a program. +CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line + +//Path to a program. +CMAKE_AR:FILEPATH=/usr/bin/ar + +//No help, variable specified on the command line. +CMAKE_BUILD_TYPE:STRING=Debug + +//Enable/Disable color output during build. +CMAKE_COLOR_MAKEFILE:BOOL=ON + +//No help, variable specified on the command line. +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib + +//Flags used by the CXX compiler during all build types. +CMAKE_CXX_FLAGS:STRING= + +//Flags used by the CXX compiler during DEBUG builds. +CMAKE_CXX_FLAGS_DEBUG:STRING=-g + +//Flags used by the CXX compiler during MINSIZEREL builds. +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the CXX compiler during RELEASE builds. +CMAKE_CXX_FLAGS_RELEASE:STRING=-O2 -DNDEBUG + +//Flags used by the CXX compiler during RELWITHDEBINFO builds. +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//No help, variable specified on the command line. +CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib + +//Flags used by the C compiler during all build types. +CMAKE_C_FLAGS:STRING= + +//Flags used by the C compiler during DEBUG builds. +CMAKE_C_FLAGS_DEBUG:STRING=-g + +//Flags used by the C compiler during MINSIZEREL builds. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the C compiler during RELEASE builds. +CMAKE_C_FLAGS_RELEASE:STRING=-O2 -DNDEBUG + +//Flags used by the C compiler during RELWITHDEBINFO builds. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//Path to a program. +CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND + +//Flags used by the linker during all build types. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during DEBUG builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during MINSIZEREL builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during RELEASE builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during RELWITHDEBINFO builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//No help, variable specified on the command line. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Path to a program. +CMAKE_LINKER:FILEPATH=/usr/bin/ld + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake + +//Flags used by the linker during the creation of modules during +// all build types. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of modules during +// DEBUG builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of modules during +// MINSIZEREL builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of modules during +// RELEASE builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of modules during +// RELWITHDEBINFO builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump + +//Value Computed by CMake +CMAKE_PROJECT_DESCRIPTION:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_HOMEPAGE_URL:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=tcpdump_mesa + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib + +//Path to a program. +CMAKE_READELF:FILEPATH=/usr/bin/readelf + +//Flags used by the linker during the creation of shared libraries +// during all build types. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of shared libraries +// during DEBUG builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of shared libraries +// during MINSIZEREL builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELEASE builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELWITHDEBINFO builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries +// during all build types. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of static libraries +// during DEBUG builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of static libraries +// during MINSIZEREL builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELEASE builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELWITHDEBINFO builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/usr/bin/strip + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//Enable to build RPM source packages +CPACK_SOURCE_RPM:BOOL=OFF + +//Enable to build TBZ2 source packages +CPACK_SOURCE_TBZ2:BOOL=ON + +//Enable to build TGZ source packages +CPACK_SOURCE_TGZ:BOOL=ON + +//Enable to build TXZ source packages +CPACK_SOURCE_TXZ:BOOL=ON + +//Enable to build TZ source packages +CPACK_SOURCE_TZ:BOOL=ON + +//Enable to build ZIP source packages +CPACK_SOURCE_ZIP:BOOL=OFF + +//Set DEFINE_GIT_VERSION to TRUE or FALSE +DEFINE_GIT_VERSION:BOOL=ON + +//Value Computed by CMake +tcpdump_mesa_BINARY_DIR:STATIC=/home/yangwei/tcpdump_mesa/cmake-build-debug + +//Value Computed by CMake +tcpdump_mesa_SOURCE_DIR:STATIC=/home/yangwei/tcpdump_mesa + + +######################## +# INTERNAL cache entries +######################## + +//ADVANCED property for variable: CMAKE_ADDR2LINE +CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/yangwei/tcpdump_mesa/cmake-build-debug +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=17 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake3 +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack3 +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest3 +//ADVANCED property for variable: CMAKE_CXX_COMPILER +CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR +CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB +CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS +CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG +CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL +CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE +CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO +CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER +CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER_AR +CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB +CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_DLLTOOL +CMAKE_DLLTOOL-ADVANCED:INTERNAL=1 +//Path to cache edit program executable. +CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake3 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS +CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//Generator instance identifier. +CMAKE_GENERATOR_INSTANCE:INTERNAL= +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/yangwei/tcpdump_mesa +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_READELF +CMAKE_READELF-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake3 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_RPM +CPACK_SOURCE_RPM-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_TBZ2 +CPACK_SOURCE_TBZ2-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_TGZ +CPACK_SOURCE_TGZ-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_TXZ +CPACK_SOURCE_TXZ-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_TZ +CPACK_SOURCE_TZ-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_ZIP +CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1 + diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CMakeCCompiler.cmake b/cmake-build-debug/CMakeFiles/3.17.3/CMakeCCompiler.cmake new file mode 100644 index 0000000..d7f667d --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.17.3/CMakeCCompiler.cmake @@ -0,0 +1,76 @@ +set(CMAKE_C_COMPILER "/usr/bin/gcc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "GNU") +set(CMAKE_C_COMPILER_VERSION "4.8.5") +set(CMAKE_C_COMPILER_VERSION_INTERNAL "") +set(CMAKE_C_COMPILER_WRAPPER "") +set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") +set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") +set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") +set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") +set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") + +set(CMAKE_C_PLATFORM_ID "Linux") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_COMPILER_FRONTEND_VARIANT "") +set(CMAKE_C_SIMULATE_VERSION "") + + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCC 1) +set(CMAKE_C_COMPILER_LOADED 1) +set(CMAKE_C_COMPILER_WORKS TRUE) +set(CMAKE_C_ABI_COMPILED TRUE) +set(CMAKE_COMPILER_IS_MINGW ) +set(CMAKE_COMPILER_IS_CYGWIN ) +if(CMAKE_COMPILER_IS_CYGWIN) + set(CYGWIN 1) + set(UNIX 1) +endif() + +set(CMAKE_C_COMPILER_ENV_VAR "CC") + +if(CMAKE_COMPILER_IS_MINGW) + set(MINGW 1) +endif() +set(CMAKE_C_COMPILER_ID_RUN 1) +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +set(CMAKE_C_SIZEOF_DATA_PTR "8") +set(CMAKE_C_COMPILER_ABI "ELF") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/opt/mrzcpd/include;/opt/MESA/include;/opt/MESA/include/MESA;/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include;/usr/local/include;/usr/include") +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/local/lib64;/usr/lib/gcc/x86_64-redhat-linux/4.8.5;/usr/lib64;/lib64;/opt/mrzcpd/lib;/opt/MESA/lib;/usr/local/lib;/usr/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CMakeCXXCompiler.cmake b/cmake-build-debug/CMakeFiles/3.17.3/CMakeCXXCompiler.cmake new file mode 100644 index 0000000..90a9152 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.17.3/CMakeCXXCompiler.cmake @@ -0,0 +1,88 @@ +set(CMAKE_CXX_COMPILER "/usr/bin/g++") +set(CMAKE_CXX_COMPILER_ARG1 "") +set(CMAKE_CXX_COMPILER_ID "GNU") +set(CMAKE_CXX_COMPILER_VERSION "4.8.5") +set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") +set(CMAKE_CXX_COMPILER_WRAPPER "") +set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98") +set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_template_template_parameters") +set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") +set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") +set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_template_template_parameters") +set(CMAKE_CXX17_COMPILE_FEATURES "") +set(CMAKE_CXX20_COMPILE_FEATURES "") + +set(CMAKE_CXX_PLATFORM_ID "Linux") +set(CMAKE_CXX_SIMULATE_ID "") +set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "") +set(CMAKE_CXX_SIMULATE_VERSION "") + + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCXX 1) +set(CMAKE_CXX_COMPILER_LOADED 1) +set(CMAKE_CXX_COMPILER_WORKS TRUE) +set(CMAKE_CXX_ABI_COMPILED TRUE) +set(CMAKE_COMPILER_IS_MINGW ) +set(CMAKE_COMPILER_IS_CYGWIN ) +if(CMAKE_COMPILER_IS_CYGWIN) + set(CYGWIN 1) + set(UNIX 1) +endif() + +set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") + +if(CMAKE_COMPILER_IS_MINGW) + set(MINGW 1) +endif() +set(CMAKE_CXX_COMPILER_ID_RUN 1) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP) +set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) + +foreach (lang C OBJC OBJCXX) + if (CMAKE_${lang}_COMPILER_ID_RUN) + foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) + list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) + endforeach() + endif() +endforeach() + +set(CMAKE_CXX_LINKER_PREFERENCE 30) +set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) + +# Save compiler ABI information. +set(CMAKE_CXX_SIZEOF_DATA_PTR "8") +set(CMAKE_CXX_COMPILER_ABI "ELF") +set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") + +if(CMAKE_CXX_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_CXX_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") +endif() + +if(CMAKE_CXX_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/opt/mrzcpd/include;/opt/MESA/include;/opt/MESA/include/MESA;/usr/include/c++/4.8.5;/usr/include/c++/4.8.5/x86_64-redhat-linux;/usr/include/c++/4.8.5/backward;/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include;/usr/local/include;/usr/include") +set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/local/lib64;/usr/lib/gcc/x86_64-redhat-linux/4.8.5;/usr/lib64;/lib64;/opt/mrzcpd/lib;/opt/MESA/lib;/usr/local/lib;/usr/lib") +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_C.bin b/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 0000000..f3b819d Binary files /dev/null and b/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_C.bin differ diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_CXX.bin b/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_CXX.bin new file mode 100755 index 0000000..25f2992 Binary files /dev/null and b/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_CXX.bin differ diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CMakeSystem.cmake b/cmake-build-debug/CMakeFiles/3.17.3/CMakeSystem.cmake new file mode 100644 index 0000000..eae8f4a --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.17.3/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Linux-3.10.0-693.el7.x86_64") +set(CMAKE_HOST_SYSTEM_NAME "Linux") +set(CMAKE_HOST_SYSTEM_VERSION "3.10.0-693.el7.x86_64") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Linux-3.10.0-693.el7.x86_64") +set(CMAKE_SYSTEM_NAME "Linux") +set(CMAKE_SYSTEM_VERSION "3.10.0-693.el7.x86_64") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/CMakeCCompilerId.c b/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 0000000..d884b50 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,671 @@ +#ifdef __cplusplus +# error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +# define ID_VOID_MAIN +#endif +#if defined(__CLASSIC_C__) +/* cv-qualifiers did not exist in K&R C */ +# define const +# define volatile +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# if defined(__GNUC__) +# define SIMULATE_ID "GNU" +# endif + /* __INTEL_COMPILER = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_C) +# define COMPILER_ID "SunPro" +# if __SUNPRO_C >= 0x5100 + /* __SUNPRO_C = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# endif + +#elif defined(__HP_cc) +# define COMPILER_ID "HP" + /* __HP_cc = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) + +#elif defined(__DECC) +# define COMPILER_ID "Compaq" + /* __DECC_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) + +#elif defined(__IBMC__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__ibmxl__) && defined(__clang__) +# define COMPILER_ID "XLClang" +# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) + + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 +# define COMPILER_ID "XL" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__ghs__) +# define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +# ifdef __GHS_VERSION_NUMBER +# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +# endif + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) +# define COMPILER_ID "ARMClang" + # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) +# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +# define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" +# if defined(__VER__) && defined(__ICCARM__) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__)) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) +# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# endif + +#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) +# define COMPILER_ID "SDCC" +# if defined(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) +# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) +# else + /* SDCC = VRP */ +# define COMPILER_VERSION_MAJOR DEC(SDCC/100) +# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) +# define COMPILER_VERSION_PATCH DEC(SDCC % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXE) || defined(__CRAYXC) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#elif defined(__INTEGRITY) +# if defined(INT_178B) +# define PLATFORM_ID "Integrity178" + +# else /* regular Integrity */ +# define PLATFORM_ID "Integrity" +# endif + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM64) +# define ARCHITECTURE_ID "ARM64" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# if defined(__ICCARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__ICCRX__) +# define ARCHITECTURE_ID "RX" + +# elif defined(__ICCRH850__) +# define ARCHITECTURE_ID "RH850" + +# elif defined(__ICCRL78__) +# define ARCHITECTURE_ID "RL78" + +# elif defined(__ICCRISCV__) +# define ARCHITECTURE_ID "RISCV" + +# elif defined(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# elif defined(__ICC430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__ICCV850__) +# define ARCHITECTURE_ID "V850" + +# elif defined(__ICC8051__) +# define ARCHITECTURE_ID "8051" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__ghs__) +# if defined(__PPC64__) +# define ARCHITECTURE_ID "PPC64" + +# elif defined(__ppc__) +# define ARCHITECTURE_ID "PPC" + +# elif defined(__ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__x86_64__) +# define ARCHITECTURE_ID "x64" + +# elif defined(__i386__) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number components. */ +#ifdef COMPILER_VERSION_MAJOR +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', + 'i','n','t','e','r','n','a','l','[', + COMPILER_VERSION_INTERNAL,']','\0'}; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + + +#if !defined(__STDC__) +# if (defined(_MSC_VER) && !defined(__clang__)) \ + || (defined(__ibmxl__) || defined(__IBMC__)) +# define C_DIALECT "90" +# else +# define C_DIALECT +# endif +#elif __STDC_VERSION__ >= 201000L +# define C_DIALECT "11" +#elif __STDC_VERSION__ >= 199901L +# define C_DIALECT "99" +#else +# define C_DIALECT "90" +#endif +const char* info_language_dialect_default = + "INFO" ":" "dialect_default[" C_DIALECT "]"; + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void main() {} +#else +# if defined(__CLASSIC_C__) +int main(argc, argv) int argc; char *argv[]; +# else +int main(int argc, char* argv[]) +# endif +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/a.out b/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/a.out new file mode 100755 index 0000000..c520a05 Binary files /dev/null and b/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/a.out differ diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/CMakeCXXCompilerId.cpp b/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/CMakeCXXCompilerId.cpp new file mode 100644 index 0000000..69cfdba --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/CMakeCXXCompilerId.cpp @@ -0,0 +1,660 @@ +/* This source file must have a .cpp extension so that all C++ compilers + recognize the extension without flags. Borland does not know .cxx for + example. */ +#ifndef __cplusplus +# error "A C compiler has been selected for C++." +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__COMO__) +# define COMPILER_ID "Comeau" + /* __COMO_VERSION__ = VRR */ +# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) +# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) + +#elif defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# if defined(__GNUC__) +# define SIMULATE_ID "GNU" +# endif + /* __INTEL_COMPILER = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_CC) +# define COMPILER_ID "SunPro" +# if __SUNPRO_CC >= 0x5100 + /* __SUNPRO_CC = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# endif + +#elif defined(__HP_aCC) +# define COMPILER_ID "HP" + /* __HP_aCC = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) + +#elif defined(__DECCXX) +# define COMPILER_ID "Compaq" + /* __DECCXX_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) + +#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__ibmxl__) && defined(__clang__) +# define COMPILER_ID "XLClang" +# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) + + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 +# define COMPILER_ID "XL" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__ghs__) +# define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +# ifdef __GHS_VERSION_NUMBER +# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +# endif + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) +# define COMPILER_ID "ARMClang" + # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) +# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__GNUC__) || defined(__GNUG__) +# define COMPILER_ID "GNU" +# if defined(__GNUC__) +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# else +# define COMPILER_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +# define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" +# if defined(__VER__) && defined(__ICCARM__) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__)) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) +# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXE) || defined(__CRAYXC) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#elif defined(__INTEGRITY) +# if defined(INT_178B) +# define PLATFORM_ID "Integrity178" + +# else /* regular Integrity */ +# define PLATFORM_ID "Integrity" +# endif + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM64) +# define ARCHITECTURE_ID "ARM64" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# if defined(__ICCARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__ICCRX__) +# define ARCHITECTURE_ID "RX" + +# elif defined(__ICCRH850__) +# define ARCHITECTURE_ID "RH850" + +# elif defined(__ICCRL78__) +# define ARCHITECTURE_ID "RL78" + +# elif defined(__ICCRISCV__) +# define ARCHITECTURE_ID "RISCV" + +# elif defined(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# elif defined(__ICC430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__ICCV850__) +# define ARCHITECTURE_ID "V850" + +# elif defined(__ICC8051__) +# define ARCHITECTURE_ID "8051" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__ghs__) +# if defined(__PPC64__) +# define ARCHITECTURE_ID "PPC64" + +# elif defined(__ppc__) +# define ARCHITECTURE_ID "PPC" + +# elif defined(__ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__x86_64__) +# define ARCHITECTURE_ID "x64" + +# elif defined(__i386__) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number components. */ +#ifdef COMPILER_VERSION_MAJOR +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', + 'i','n','t','e','r','n','a','l','[', + COMPILER_VERSION_INTERNAL,']','\0'}; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + + +#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L +# if defined(__INTEL_CXX11_MODE__) +# if defined(__cpp_aggregate_nsdmi) +# define CXX_STD 201402L +# else +# define CXX_STD 201103L +# endif +# else +# define CXX_STD 199711L +# endif +#elif defined(_MSC_VER) && defined(_MSVC_LANG) +# define CXX_STD _MSVC_LANG +#else +# define CXX_STD __cplusplus +#endif + +const char* info_language_dialect_default = "INFO" ":" "dialect_default[" +#if CXX_STD > 201703L + "20" +#elif CXX_STD >= 201703L + "17" +#elif CXX_STD >= 201402L + "14" +#elif CXX_STD >= 201103L + "11" +#else + "98" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +int main(int argc, char* argv[]) +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} diff --git a/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/a.out b/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/a.out new file mode 100755 index 0000000..001c1eb Binary files /dev/null and b/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/a.out differ diff --git a/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake b/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..35f8ff5 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.17 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yangwei/tcpdump_mesa") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yangwei/tcpdump_mesa/cmake-build-debug") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/cmake-build-debug/CMakeFiles/CMakeOutput.log b/cmake-build-debug/CMakeFiles/CMakeOutput.log new file mode 100644 index 0000000..cbc99d8 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/CMakeOutput.log @@ -0,0 +1,498 @@ +The system is: Linux - 3.10.0-693.el7.x86_64 - x86_64 +Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. +Compiler: /usr/bin/gcc +Build flags: +Id flags: + +The output was: +0 + + +Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" + +The C compiler identification is GNU, found in "/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/a.out" + +Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. +Compiler: /usr/bin/g++ +Build flags: +Id flags: + +The output was: +0 + + +Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" + +The CXX compiler identification is GNU, found in "/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/a.out" + +Determining if the C compiler works passed with the following output: +Change Dir: /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/gmake cmTC_b2495/fast && /usr/bin/gmake -f CMakeFiles/cmTC_b2495.dir/build.make CMakeFiles/cmTC_b2495.dir/build +gmake[1]: Entering directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_b2495.dir/testCCompiler.c.o +/usr/bin/gcc -o CMakeFiles/cmTC_b2495.dir/testCCompiler.c.o -c /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c +Linking C executable cmTC_b2495 +/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_b2495.dir/link.txt --verbose=1 +/usr/bin/gcc -rdynamic CMakeFiles/cmTC_b2495.dir/testCCompiler.c.o -o cmTC_b2495 +gmake[1]: Leaving directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' + + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/gmake cmTC_bb525/fast && /usr/bin/gmake -f CMakeFiles/cmTC_bb525.dir/build.make CMakeFiles/cmTC_bb525.dir/build +gmake[1]: Entering directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o +/usr/bin/gcc -v -o CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake3/Modules/CMakeCCompilerABI.c +Using built-in specs. +COLLECT_GCC=/usr/bin/gcc +Target: x86_64-redhat-linux +Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux +Thread model: posix +gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' + /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/cc1 -quiet -v /usr/share/cmake3/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccs0OxBl.s +GNU C (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-39) (x86_64-redhat-linux) + compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-39), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1 +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include-fixed" +ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../x86_64-redhat-linux/include" +#include "..." search starts here: +#include <...> search starts here: + /opt/mrzcpd/include + /opt/MESA/include + /opt/MESA/include/MESA/ + /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include + /usr/local/include + /usr/include +End of search list. +GNU C (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-39) (x86_64-redhat-linux) + compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-39), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1 +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +Compiler executable checksum: edd9a53947039836c859e437e8c9af72 +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' + as -v --64 -o CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o /tmp/ccs0OxBl.s +GNU assembler version 2.25.1 (x86_64-redhat-linux) using BFD version version 2.25.1-31.base.el7 +COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/ +LIBRARY_PATH=/usr/local/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/mrzcpd/lib/:/opt/MESA/lib/:/usr/local/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' +Linking C executable cmTC_bb525 +/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_bb525.dir/link.txt --verbose=1 +/usr/bin/gcc -v -rdynamic CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o -o cmTC_bb525 +Using built-in specs. +COLLECT_GCC=/usr/bin/gcc +COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper +Target: x86_64-redhat-linux +Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux +Thread model: posix +gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) +COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/ +LIBRARY_PATH=/usr/local/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/mrzcpd/lib/:/opt/MESA/lib/:/usr/local/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_bb525' '-mtune=generic' '-march=x86-64' + /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2 --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_bb525 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o -L/usr/local/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/mrzcpd/lib -L/opt/MESA/lib -L/usr/local/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o +gmake[1]: Leaving directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' + + + +Parsed C implicit include dir info from above output: rv=done + found start of include info + found start of implicit include info + add: [/opt/mrzcpd/include] + add: [/opt/MESA/include] + add: [/opt/MESA/include/MESA/] + add: [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include] + add: [/usr/local/include] + add: [/usr/include] + end of search list found + collapse include dir [/opt/mrzcpd/include] ==> [/opt/mrzcpd/include] + collapse include dir [/opt/MESA/include] ==> [/opt/MESA/include] + collapse include dir [/opt/MESA/include/MESA/] ==> [/opt/MESA/include/MESA] + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/opt/mrzcpd/include;/opt/MESA/include;/opt/MESA/include/MESA;/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include;/usr/local/include;/usr/include] + + +Parsed C implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/gmake cmTC_bb525/fast && /usr/bin/gmake -f CMakeFiles/cmTC_bb525.dir/build.make CMakeFiles/cmTC_bb525.dir/build] + ignore line: [gmake[1]: Entering directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp'] + ignore line: [Building C object CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/gcc -v -o CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake3/Modules/CMakeCCompilerABI.c] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/gcc] + ignore line: [Target: x86_64-redhat-linux] + ignore line: [Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c c++ objc obj-c++ java fortran ada go lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux] + ignore line: [Thread model: posix] + ignore line: [gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [ /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/cc1 -quiet -v /usr/share/cmake3/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccs0OxBl.s] + ignore line: [GNU C (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-39) (x86_64-redhat-linux)] + ignore line: [ compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-39) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include-fixed"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../x86_64-redhat-linux/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /opt/mrzcpd/include] + ignore line: [ /opt/MESA/include] + ignore line: [ /opt/MESA/include/MESA/] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-39) (x86_64-redhat-linux)] + ignore line: [ compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-39) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: edd9a53947039836c859e437e8c9af72] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o /tmp/ccs0OxBl.s] + ignore line: [GNU assembler version 2.25.1 (x86_64-redhat-linux) using BFD version version 2.25.1-31.base.el7 ] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/] + ignore line: [LIBRARY_PATH=/usr/local/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/mrzcpd/lib/:/opt/MESA/lib/:/usr/local/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [Linking C executable cmTC_bb525] + ignore line: [/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_bb525.dir/link.txt --verbose=1] + ignore line: [/usr/bin/gcc -v -rdynamic CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o -o cmTC_bb525 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/gcc] + ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper] + ignore line: [Target: x86_64-redhat-linux] + ignore line: [Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c c++ objc obj-c++ java fortran ada go lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux] + ignore line: [Thread model: posix] + ignore line: [gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/] + ignore line: [LIBRARY_PATH=/usr/local/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/mrzcpd/lib/:/opt/MESA/lib/:/usr/local/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_bb525' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2 --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_bb525 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o -L/usr/local/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/mrzcpd/lib -L/opt/MESA/lib -L/usr/local/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o] + arg [/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2] ==> ignore + arg [--build-id] ==> ignore + arg [--no-add-needed] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [-export-dynamic] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-o] ==> ignore + arg [cmTC_bb525] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o] ==> ignore + arg [-L/usr/local/lib/../lib64] ==> dir [/usr/local/lib/../lib64] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64] + arg [-L/lib/../lib64] ==> dir [/lib/../lib64] + arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] + arg [-L/opt/mrzcpd/lib] ==> dir [/opt/mrzcpd/lib] + arg [-L/opt/MESA/lib] ==> dir [/opt/MESA/lib] + arg [-L/usr/local/lib] ==> dir [/usr/local/lib] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..] + arg [CMakeFiles/cmTC_bb525.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [-lgcc] ==> lib [gcc] + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--no-as-needed] ==> ignore + arg [-lc] ==> lib [c] + arg [-lgcc] ==> lib [gcc] + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--no-as-needed] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o] ==> ignore + collapse library dir [/usr/local/lib/../lib64] ==> [/usr/local/lib64] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.8.5] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64] ==> [/usr/lib64] + collapse library dir [/lib/../lib64] ==> [/lib64] + collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] + collapse library dir [/opt/mrzcpd/lib] ==> [/opt/mrzcpd/lib] + collapse library dir [/opt/MESA/lib] ==> [/opt/MESA/lib] + collapse library dir [/usr/local/lib] ==> [/usr/local/lib] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..] ==> [/usr/lib] + implicit libs: [gcc;gcc_s;c;gcc;gcc_s] + implicit dirs: [/usr/local/lib64;/usr/lib/gcc/x86_64-redhat-linux/4.8.5;/usr/lib64;/lib64;/opt/mrzcpd/lib;/opt/MESA/lib;/usr/local/lib;/usr/lib] + implicit fwks: [] + + +Determining if the CXX compiler works passed with the following output: +Change Dir: /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/gmake cmTC_ace38/fast && /usr/bin/gmake -f CMakeFiles/cmTC_ace38.dir/build.make CMakeFiles/cmTC_ace38.dir/build +gmake[1]: Entering directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_ace38.dir/testCXXCompiler.cxx.o +/usr/bin/g++ -o CMakeFiles/cmTC_ace38.dir/testCXXCompiler.cxx.o -c /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp/testCXXCompiler.cxx +Linking CXX executable cmTC_ace38 +/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_ace38.dir/link.txt --verbose=1 +/usr/bin/g++ -rdynamic CMakeFiles/cmTC_ace38.dir/testCXXCompiler.cxx.o -o cmTC_ace38 +gmake[1]: Leaving directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' + + + +Detecting CXX compiler ABI info compiled with the following output: +Change Dir: /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/gmake cmTC_5939e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_5939e.dir/build.make CMakeFiles/cmTC_5939e.dir/build +gmake[1]: Entering directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o +/usr/bin/g++ -v -o CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake3/Modules/CMakeCXXCompilerABI.cpp +Using built-in specs. +COLLECT_GCC=/usr/bin/g++ +Target: x86_64-redhat-linux +Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux +Thread model: posix +gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake3/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccpVPyly.s +GNU C++ (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-39) (x86_64-redhat-linux) + compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-39), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1 +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include-fixed" +ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../x86_64-redhat-linux/include" +#include "..." search starts here: +#include <...> search starts here: + /opt/mrzcpd/include + /opt/MESA/include + /opt/MESA/include/MESA/ + /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5 + /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux + /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward + /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include + /usr/local/include + /usr/include +End of search list. +GNU C++ (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-39) (x86_64-redhat-linux) + compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-39), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1 +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +Compiler executable checksum: 0b3d22846f8ec00d42314b8d2d71514a +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + as -v --64 -o CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccpVPyly.s +GNU assembler version 2.25.1 (x86_64-redhat-linux) using BFD version version 2.25.1-31.base.el7 +COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/ +LIBRARY_PATH=/usr/local/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/mrzcpd/lib/:/opt/MESA/lib/:/usr/local/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' +Linking CXX executable cmTC_5939e +/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_5939e.dir/link.txt --verbose=1 +/usr/bin/g++ -v -rdynamic CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_5939e +Using built-in specs. +COLLECT_GCC=/usr/bin/g++ +COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper +Target: x86_64-redhat-linux +Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux +Thread model: posix +gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) +COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/ +LIBRARY_PATH=/usr/local/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/mrzcpd/lib/:/opt/MESA/lib/:/usr/local/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_5939e' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2 --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_5939e /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o -L/usr/local/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/mrzcpd/lib -L/opt/MESA/lib -L/usr/local/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o +gmake[1]: Leaving directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' + + + +Parsed CXX implicit include dir info from above output: rv=done + found start of include info + found start of implicit include info + add: [/opt/mrzcpd/include] + add: [/opt/MESA/include] + add: [/opt/MESA/include/MESA/] + add: [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5] + add: [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux] + add: [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward] + add: [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include] + add: [/usr/local/include] + add: [/usr/include] + end of search list found + collapse include dir [/opt/mrzcpd/include] ==> [/opt/mrzcpd/include] + collapse include dir [/opt/MESA/include] ==> [/opt/MESA/include] + collapse include dir [/opt/MESA/include/MESA/] ==> [/opt/MESA/include/MESA] + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5] ==> [/usr/include/c++/4.8.5] + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux] ==> [/usr/include/c++/4.8.5/x86_64-redhat-linux] + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward] ==> [/usr/include/c++/4.8.5/backward] + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/opt/mrzcpd/include;/opt/MESA/include;/opt/MESA/include/MESA;/usr/include/c++/4.8.5;/usr/include/c++/4.8.5/x86_64-redhat-linux;/usr/include/c++/4.8.5/backward;/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include;/usr/local/include;/usr/include] + + +Parsed CXX implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/gmake cmTC_5939e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_5939e.dir/build.make CMakeFiles/cmTC_5939e.dir/build] + ignore line: [gmake[1]: Entering directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp'] + ignore line: [Building CXX object CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/g++ -v -o CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake3/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/g++] + ignore line: [Target: x86_64-redhat-linux] + ignore line: [Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c c++ objc obj-c++ java fortran ada go lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux] + ignore line: [Thread model: posix] + ignore line: [gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [ /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake3/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccpVPyly.s] + ignore line: [GNU C++ (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-39) (x86_64-redhat-linux)] + ignore line: [ compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-39) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include-fixed"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../x86_64-redhat-linux/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /opt/mrzcpd/include] + ignore line: [ /opt/MESA/include] + ignore line: [ /opt/MESA/include/MESA/] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C++ (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-39) (x86_64-redhat-linux)] + ignore line: [ compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-39) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: 0b3d22846f8ec00d42314b8d2d71514a] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccpVPyly.s] + ignore line: [GNU assembler version 2.25.1 (x86_64-redhat-linux) using BFD version version 2.25.1-31.base.el7 ] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/] + ignore line: [LIBRARY_PATH=/usr/local/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/mrzcpd/lib/:/opt/MESA/lib/:/usr/local/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [Linking CXX executable cmTC_5939e] + ignore line: [/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_5939e.dir/link.txt --verbose=1] + ignore line: [/usr/bin/g++ -v -rdynamic CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_5939e ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/g++] + ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper] + ignore line: [Target: x86_64-redhat-linux] + ignore line: [Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c c++ objc obj-c++ java fortran ada go lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux] + ignore line: [Thread model: posix] + ignore line: [gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/] + ignore line: [LIBRARY_PATH=/usr/local/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/mrzcpd/lib/:/opt/MESA/lib/:/usr/local/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_5939e' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2 --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_5939e /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o -L/usr/local/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/mrzcpd/lib -L/opt/MESA/lib -L/usr/local/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o] + arg [/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2] ==> ignore + arg [--build-id] ==> ignore + arg [--no-add-needed] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [-export-dynamic] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-o] ==> ignore + arg [cmTC_5939e] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o] ==> ignore + arg [-L/usr/local/lib/../lib64] ==> dir [/usr/local/lib/../lib64] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64] + arg [-L/lib/../lib64] ==> dir [/lib/../lib64] + arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] + arg [-L/opt/mrzcpd/lib] ==> dir [/opt/mrzcpd/lib] + arg [-L/opt/MESA/lib] ==> dir [/opt/MESA/lib] + arg [-L/usr/local/lib] ==> dir [/usr/local/lib] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..] + arg [CMakeFiles/cmTC_5939e.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [-lstdc++] ==> lib [stdc++] + arg [-lm] ==> lib [m] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [-lc] ==> lib [c] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o] ==> ignore + collapse library dir [/usr/local/lib/../lib64] ==> [/usr/local/lib64] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.8.5] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64] ==> [/usr/lib64] + collapse library dir [/lib/../lib64] ==> [/lib64] + collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] + collapse library dir [/opt/mrzcpd/lib] ==> [/opt/mrzcpd/lib] + collapse library dir [/opt/MESA/lib] ==> [/opt/MESA/lib] + collapse library dir [/usr/local/lib] ==> [/usr/local/lib] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..] ==> [/usr/lib] + implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] + implicit dirs: [/usr/local/lib64;/usr/lib/gcc/x86_64-redhat-linux/4.8.5;/usr/lib64;/lib64;/opt/mrzcpd/lib;/opt/MESA/lib;/usr/local/lib;/usr/lib] + implicit fwks: [] + + + + +Detecting CXX [-std=c++1y] compiler features compiled with the following output: +Change Dir: /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/gmake cmTC_bb293/fast && /usr/bin/gmake -f CMakeFiles/cmTC_bb293.dir/build.make CMakeFiles/cmTC_bb293.dir/build +gmake[1]: Entering directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_bb293.dir/feature_tests.cxx.o +/usr/bin/g++ -std=c++1y -o CMakeFiles/cmTC_bb293.dir/feature_tests.cxx.o -c /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_bb293 +/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_bb293.dir/link.txt --verbose=1 +/usr/bin/g++ -rdynamic CMakeFiles/cmTC_bb293.dir/feature_tests.cxx.o -o cmTC_bb293 +gmake[1]: Leaving directory `/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/CMakeTmp' + + + + Feature record: CXX_FEATURE:1cxx_template_template_parameters + Feature record: CXX_FEATURE:1cxx_alias_templates + Feature record: CXX_FEATURE:1cxx_alignas + Feature record: CXX_FEATURE:1cxx_alignof + Feature record: CXX_FEATURE:1cxx_attributes + Feature record: CXX_FEATURE:1cxx_auto_type + Feature record: CXX_FEATURE:1cxx_constexpr + Feature record: CXX_FEATURE:1cxx_decltype + Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types + Feature record: CXX_FEATURE:1cxx_default_function_template_args + Feature record: CXX_FEATURE:1cxx_defaulted_functions + Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers + Feature record: CXX_FEATURE:1cxx_delegating_constructors + Feature record: CXX_FEATURE:1cxx_deleted_functions + Feature record: CXX_FEATURE:1cxx_enum_forward_declarations + Feature record: CXX_FEATURE:1cxx_explicit_conversions + Feature record: CXX_FEATURE:1cxx_extended_friend_declarations + Feature record: CXX_FEATURE:1cxx_extern_templates + Feature record: CXX_FEATURE:1cxx_final + Feature record: CXX_FEATURE:1cxx_func_identifier + Feature record: CXX_FEATURE:1cxx_generalized_initializers + Feature record: CXX_FEATURE:1cxx_inheriting_constructors + Feature record: CXX_FEATURE:1cxx_inline_namespaces + Feature record: CXX_FEATURE:1cxx_lambdas + Feature record: CXX_FEATURE:1cxx_local_type_template_args + Feature record: CXX_FEATURE:1cxx_long_long_type + Feature record: CXX_FEATURE:1cxx_noexcept + Feature record: CXX_FEATURE:1cxx_nonstatic_member_init + Feature record: CXX_FEATURE:1cxx_nullptr + Feature record: CXX_FEATURE:1cxx_override + Feature record: CXX_FEATURE:1cxx_range_for + Feature record: CXX_FEATURE:1cxx_raw_string_literals + Feature record: CXX_FEATURE:1cxx_reference_qualified_functions + Feature record: CXX_FEATURE:1cxx_right_angle_brackets + Feature record: CXX_FEATURE:1cxx_rvalue_references + Feature record: CXX_FEATURE:1cxx_sizeof_member + Feature record: CXX_FEATURE:1cxx_static_assert + Feature record: CXX_FEATURE:1cxx_strong_enums + Feature record: CXX_FEATURE:1cxx_thread_local + Feature record: CXX_FEATURE:1cxx_trailing_return_types + Feature record: CXX_FEATURE:1cxx_unicode_literals + Feature record: CXX_FEATURE:1cxx_uniform_initialization + Feature record: CXX_FEATURE:1cxx_unrestricted_unions + Feature record: CXX_FEATURE:1cxx_user_literals + Feature record: CXX_FEATURE:1cxx_variadic_macros + Feature record: CXX_FEATURE:1cxx_variadic_templates + Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers + Feature record: CXX_FEATURE:0cxx_attribute_deprecated + Feature record: CXX_FEATURE:0cxx_binary_literals + Feature record: CXX_FEATURE:0cxx_contextual_conversions + Feature record: CXX_FEATURE:0cxx_decltype_auto + Feature record: CXX_FEATURE:0cxx_digit_separators + Feature record: CXX_FEATURE:0cxx_generic_lambdas + Feature record: CXX_FEATURE:0cxx_lambda_init_captures + Feature record: CXX_FEATURE:0cxx_relaxed_constexpr + Feature record: CXX_FEATURE:0cxx_return_type_deduction + Feature record: CXX_FEATURE:0cxx_variable_templates diff --git a/cmake-build-debug/CMakeFiles/Makefile.cmake b/cmake-build-debug/CMakeFiles/Makefile.cmake new file mode 100644 index 0000000..29b8ec9 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/Makefile.cmake @@ -0,0 +1,129 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.17 + +# The generator used is: +set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") + +# The top level Makefile was generated from the following files: +set(CMAKE_MAKEFILE_DEPENDS + "CMakeCache.txt" + "../CMakeLists.txt" + "CMakeFiles/3.17.3/CMakeCCompiler.cmake" + "CMakeFiles/3.17.3/CMakeCXXCompiler.cmake" + "CMakeFiles/3.17.3/CMakeSystem.cmake" + "CMakeFiles/feature_tests.cxx" + "version.cmake" + "../cmake/Package.cmake" + "../cmake/Version.cmake" + "/usr/share/cmake3/Modules/CMakeCCompiler.cmake.in" + "/usr/share/cmake3/Modules/CMakeCCompilerABI.c" + "/usr/share/cmake3/Modules/CMakeCInformation.cmake" + "/usr/share/cmake3/Modules/CMakeCXXCompiler.cmake.in" + "/usr/share/cmake3/Modules/CMakeCXXCompilerABI.cpp" + "/usr/share/cmake3/Modules/CMakeCXXInformation.cmake" + "/usr/share/cmake3/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake" + "/usr/share/cmake3/Modules/CMakeCommonLanguageInclude.cmake" + "/usr/share/cmake3/Modules/CMakeCompilerIdDetection.cmake" + "/usr/share/cmake3/Modules/CMakeDetermineCCompiler.cmake" + "/usr/share/cmake3/Modules/CMakeDetermineCXXCompiler.cmake" + "/usr/share/cmake3/Modules/CMakeDetermineCompileFeatures.cmake" + "/usr/share/cmake3/Modules/CMakeDetermineCompiler.cmake" + "/usr/share/cmake3/Modules/CMakeDetermineCompilerABI.cmake" + "/usr/share/cmake3/Modules/CMakeDetermineCompilerId.cmake" + "/usr/share/cmake3/Modules/CMakeDetermineSystem.cmake" + "/usr/share/cmake3/Modules/CMakeFindBinUtils.cmake" + "/usr/share/cmake3/Modules/CMakeGenericSystem.cmake" + "/usr/share/cmake3/Modules/CMakeInitializeConfigs.cmake" + "/usr/share/cmake3/Modules/CMakeLanguageInformation.cmake" + "/usr/share/cmake3/Modules/CMakeParseImplicitIncludeInfo.cmake" + "/usr/share/cmake3/Modules/CMakeParseImplicitLinkInfo.cmake" + "/usr/share/cmake3/Modules/CMakeSystem.cmake.in" + "/usr/share/cmake3/Modules/CMakeSystemSpecificInformation.cmake" + "/usr/share/cmake3/Modules/CMakeSystemSpecificInitialize.cmake" + "/usr/share/cmake3/Modules/CMakeTestCCompiler.cmake" + "/usr/share/cmake3/Modules/CMakeTestCXXCompiler.cmake" + "/usr/share/cmake3/Modules/CMakeTestCompilerCommon.cmake" + "/usr/share/cmake3/Modules/CMakeUnixFindMake.cmake" + "/usr/share/cmake3/Modules/CPack.cmake" + "/usr/share/cmake3/Modules/CPackComponent.cmake" + "/usr/share/cmake3/Modules/Compiler/ADSP-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/ARMCC-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/ARMClang-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/AppleClang-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Borland-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Bruce-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + "/usr/share/cmake3/Modules/Compiler/Clang-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Clang-DetermineCompilerInternal.cmake" + "/usr/share/cmake3/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Compaq-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Cray-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Embarcadero-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Fujitsu-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/GHS-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/GNU-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/GNU-C.cmake" + "/usr/share/cmake3/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/GNU-CXX-FeatureTests.cmake" + "/usr/share/cmake3/Modules/Compiler/GNU-CXX.cmake" + "/usr/share/cmake3/Modules/Compiler/GNU-FindBinUtils.cmake" + "/usr/share/cmake3/Modules/Compiler/GNU.cmake" + "/usr/share/cmake3/Modules/Compiler/HP-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/HP-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/IAR-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake" + "/usr/share/cmake3/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake" + "/usr/share/cmake3/Modules/Compiler/Intel-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/MSVC-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/NVIDIA-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/PGI-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/PathScale-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/SCO-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/SDCC-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/SunPro-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/TI-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/Watcom-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/XL-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/XL-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/XLClang-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/zOS-C-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake" + "/usr/share/cmake3/Modules/Internal/CMakeCheckCompilerFlag.cmake" + "/usr/share/cmake3/Modules/Internal/FeatureTesting.cmake" + "/usr/share/cmake3/Modules/Platform/Linux-Determine-CXX.cmake" + "/usr/share/cmake3/Modules/Platform/Linux-GNU-C.cmake" + "/usr/share/cmake3/Modules/Platform/Linux-GNU-CXX.cmake" + "/usr/share/cmake3/Modules/Platform/Linux-GNU.cmake" + "/usr/share/cmake3/Modules/Platform/Linux.cmake" + "/usr/share/cmake3/Modules/Platform/UnixPaths.cmake" + "/usr/share/cmake3/Templates/CPackConfig.cmake.in" + ) + +# The corresponding makefile is: +set(CMAKE_MAKEFILE_OUTPUTS + "Makefile" + "CMakeFiles/cmake.check_cache" + ) + +# Byproducts of CMake generate step: +set(CMAKE_MAKEFILE_PRODUCTS + "CMakeFiles/3.17.3/CMakeSystem.cmake" + "CMakeFiles/3.17.3/CMakeCCompiler.cmake" + "CMakeFiles/3.17.3/CMakeCXXCompiler.cmake" + "CMakeFiles/3.17.3/CMakeCCompiler.cmake" + "CMakeFiles/3.17.3/CMakeCXXCompiler.cmake" + "CPackConfig.cmake" + "CPackSourceConfig.cmake" + "CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + ) diff --git a/cmake-build-debug/CMakeFiles/Makefile2 b/cmake-build-debug/CMakeFiles/Makefile2 new file mode 100644 index 0000000..608896e --- /dev/null +++ b/cmake-build-debug/CMakeFiles/Makefile2 @@ -0,0 +1,99 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.17 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Disable VCS-based implicit rules. +% : %,v + + +# Disable VCS-based implicit rules. +% : RCS/% + + +# Disable VCS-based implicit rules. +% : RCS/%,v + + +# Disable VCS-based implicit rules. +% : SCCS/s.% + + +# Disable VCS-based implicit rules. +% : s.% + + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake3 + +# The command to remove a file. +RM = /usr/bin/cmake3 -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/yangwei/tcpdump_mesa + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/yangwei/tcpdump_mesa/cmake-build-debug + +#============================================================================= +# Directory level rules for the build root directory + +# The main recursive "all" target. +all: + +.PHONY : all + +# The main recursive "preinstall" target. +preinstall: + +.PHONY : preinstall + +# The main recursive "clean" target. +clean: + +.PHONY : clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/cmake-build-debug/CMakeFiles/TargetDirectories.txt b/cmake-build-debug/CMakeFiles/TargetDirectories.txt new file mode 100644 index 0000000..023ef28 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,8 @@ +/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/install/strip.dir +/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/install/local.dir +/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/install.dir +/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/list_install_components.dir +/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/rebuild_cache.dir +/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/edit_cache.dir +/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/package_source.dir +/home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/package.dir diff --git a/cmake-build-debug/CMakeFiles/cmake.check_cache b/cmake-build-debug/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/cmake-build-debug/CMakeFiles/feature_tests.bin b/cmake-build-debug/CMakeFiles/feature_tests.bin new file mode 100755 index 0000000..0006d3c Binary files /dev/null and b/cmake-build-debug/CMakeFiles/feature_tests.bin differ diff --git a/cmake-build-debug/CMakeFiles/feature_tests.cxx b/cmake-build-debug/CMakeFiles/feature_tests.cxx new file mode 100644 index 0000000..ea528b4 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/feature_tests.cxx @@ -0,0 +1,405 @@ + + const char features[] = {"\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus +"1" +#else +"0" +#endif +"cxx_template_template_parameters\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alias_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alignas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alignof\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_attributes\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_auto_type\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_constexpr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_decltype\n" +"CXX_FEATURE:" +#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_decltype_incomplete_return_types\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_default_function_template_args\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_defaulted_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_defaulted_move_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_delegating_constructors\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_deleted_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_enum_forward_declarations\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_explicit_conversions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_extended_friend_declarations\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_extern_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_final\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_func_identifier\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_generalized_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_inheriting_constructors\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_inline_namespaces\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_lambdas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_local_type_template_args\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_long_long_type\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_noexcept\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_nonstatic_member_init\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_nullptr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_override\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_range_for\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_raw_string_literals\n" +"CXX_FEATURE:" +#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_reference_qualified_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_right_angle_brackets\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_rvalue_references\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_sizeof_member\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_static_assert\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_strong_enums\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_thread_local\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_trailing_return_types\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_unicode_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_uniform_initialization\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_unrestricted_unions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_user_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_variadic_macros\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_variadic_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_aggregate_default_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_attribute_deprecated\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_binary_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_contextual_conversions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_decltype_auto\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_digit_separators\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_generic_lambdas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_lambda_init_captures\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_relaxed_constexpr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_return_type_deduction\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_variable_templates\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/cmake-build-debug/CMakeFiles/progress.marks b/cmake-build-debug/CMakeFiles/progress.marks new file mode 100644 index 0000000..573541a --- /dev/null +++ b/cmake-build-debug/CMakeFiles/progress.marks @@ -0,0 +1 @@ +0 diff --git a/cmake-build-debug/CPackConfig.cmake b/cmake-build-debug/CPackConfig.cmake new file mode 100644 index 0000000..56b6778 --- /dev/null +++ b/cmake-build-debug/CPackConfig.cmake @@ -0,0 +1,94 @@ +# This file will be configured to contain variables for CPack. These variables +# should be set in the CMake list file of the project before CPack module is +# included. The list of available CPACK_xxx variables and their associated +# documentation may be obtained using +# cpack --help-variable-list +# +# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME) +# and some are specific to a generator +# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables +# usually begin with CPACK__xxxx. + + +set(CPACK_BUILD_SOURCE_DIRS "/home/yangwei/tcpdump_mesa") +set(CPACK_CMAKE_GENERATOR "Unix Makefiles") +set(CPACK_COMPONENTS_ALL "LIBRARY;HEADER;EXECUTABLE;PROFILE") +set(CPACK_COMPONENTS_ALL_SET_BY_USER "TRUE") +set(CPACK_COMPONENTS_GROUPING "ONE_PER_GROUP") +set(CPACK_COMPONENTS_IGNORE_GROUPS "1") +set(CPACK_COMPONENT_EXECUTABLE_GROUP "executable") +set(CPACK_COMPONENT_EXECUTABLE_REQUIRED "TRUE") +set(CPACK_COMPONENT_HEADER_DISPLAY_NAME "develop") +set(CPACK_COMPONENT_HEADER_GROUP "header") +set(CPACK_COMPONENT_HEADER_REQUIRED "TRUE") +set(CPACK_COMPONENT_LIBRARY_GROUP "executable") +set(CPACK_COMPONENT_PROFILE_GROUP "executable") +set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE") +set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE") +set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake3/Templates/CPack.GenericDescription.txt") +set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_SUMMARY "tcpdump_mesa built using CMake") +set(CPACK_GENERATOR "RPM") +set(CPACK_INSTALL_CMAKE_PROJECTS "/home/yangwei/tcpdump_mesa/cmake-build-debug;tcpdump_mesa;ALL;/") +set(CPACK_INSTALL_PREFIX "/opt/MESA/") +set(CPACK_MODULE_PATH "/home/yangwei/tcpdump_mesa/cmake") +set(CPACK_NSIS_DISPLAY_NAME "tcpdump_mesa 1.0.0.8a631fe") +set(CPACK_NSIS_INSTALLER_ICON_CODE "") +set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "") +set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES") +set(CPACK_NSIS_PACKAGE_NAME "tcpdump_mesa 1.0.0.8a631fe") +set(CPACK_NSIS_UNINSTALL_NAME "Uninstall") +set(CPACK_OUTPUT_CONFIG_FILE "/home/yangwei/tcpdump_mesa/cmake-build-debug/CPackConfig.cmake") +set(CPACK_PACKAGE_DEFAULT_LOCATION "/") +set(CPACK_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake3/Templates/CPack.GenericDescription.txt") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "tcpdump_mesa built using CMake") +set(CPACK_PACKAGE_FILE_NAME "tcpdump_mesa-1.0.0.8a631fe-Linux") +set(CPACK_PACKAGE_INSTALL_DIRECTORY "tcpdump_mesa 1.0.0.8a631fe") +set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "tcpdump_mesa 1.0.0.8a631fe") +set(CPACK_PACKAGE_NAME "tcpdump_mesa") +set(CPACK_PACKAGE_RELOCATABLE "true") +set(CPACK_PACKAGE_VECDOR "MESA") +set(CPACK_PACKAGE_VENDOR "Humanity") +set(CPACK_PACKAGE_VERSION "1.0.0.8a631fe") +set(CPACK_PACKAGE_VERSION_MAJOR "1") +set(CPACK_PACKAGE_VERSION_MINOR "0") +set(CPACK_PACKAGE_VERSION_PATCH "0.8a631fe") +set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/MESA/") +set(CPACK_RESOURCE_FILE_LICENSE "/usr/share/cmake3/Templates/CPack.GenericLicense.txt") +set(CPACK_RESOURCE_FILE_README "/usr/share/cmake3/Templates/CPack.GenericDescription.txt") +set(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake3/Templates/CPack.GenericWelcome.txt") +set(CPACK_RPM_CHANGELOG_FILE "/home/yangwei/tcpdump_mesa/cmake/changelog.txt") +set(CPACK_RPM_COMPONENT_INSTALL "ON") +set(CPACK_RPM_DEBUGINFO_PACKAGE "on") +set(CPACK_RPM_EXECUTABLE_DEBUGINFO_FILE_NAME "tcpdump_mesa-debug-debuginfo-1.0.0.8a631fe-x86_64...rpm") +set(CPACK_RPM_EXECUTABLE_FILE_NAME "tcpdump_mesa-debug-1.0.0.8a631fe-x86_64...rpm") +set(CPACK_RPM_EXECUTABLE_PACKAGE_NAME "tcpdump_mesa-debug") +set(CPACK_RPM_HEADER_DEBUGINFO_FILE_NAME "tcpdump_mesa-debug-devel-debuginfo-1.0.0.8a631fe-x86_64...rpm") +set(CPACK_RPM_HEADER_FILE_NAME "tcpdump_mesa-debug-devel-1.0.0.8a631fe-x86_64...rpm") +set(CPACK_RPM_HEADER_PACKAGE_CONFLICTS "tcpdump_mesa-debug-devel") +set(CPACK_RPM_HEADER_PACKAGE_NAME "tcpdump_mesa-debug-devel") +set(CPACK_RPM_PACKAGE_AUTOREQ "no") +set(CPACK_RPM_PACKAGE_AUTOREQPROV "no") +set(CPACK_RPM_PACKAGE_CONFLICTS "tcpdump_mesa-debug") +set(CPACK_RPM_PACKAGE_DEBUG "1") +set(CPACK_RPM_PACKAGE_RELEASE_LIBRARY "on") +set(CPACK_RPM_PACKAGE_VENDOR "MESA") +set(CPACK_SET_DESTDIR "OFF") +set(CPACK_SOURCE_GENERATOR "TBZ2;TGZ;TXZ;TZ") +set(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/yangwei/tcpdump_mesa/cmake-build-debug/CPackSourceConfig.cmake") +set(CPACK_SOURCE_RPM "OFF") +set(CPACK_SOURCE_TBZ2 "ON") +set(CPACK_SOURCE_TGZ "ON") +set(CPACK_SOURCE_TXZ "ON") +set(CPACK_SOURCE_TZ "ON") +set(CPACK_SOURCE_ZIP "OFF") +set(CPACK_SYSTEM_NAME "Linux") +set(CPACK_TOPLEVEL_TAG "Linux") +set(CPACK_WIX_SIZEOF_VOID_P "8") + +if(NOT CPACK_PROPERTIES_FILE) + set(CPACK_PROPERTIES_FILE "/home/yangwei/tcpdump_mesa/cmake-build-debug/CPackProperties.cmake") +endif() + +if(EXISTS ${CPACK_PROPERTIES_FILE}) + include(${CPACK_PROPERTIES_FILE}) +endif() diff --git a/cmake-build-debug/CPackSourceConfig.cmake b/cmake-build-debug/CPackSourceConfig.cmake new file mode 100644 index 0000000..e4c43ba --- /dev/null +++ b/cmake-build-debug/CPackSourceConfig.cmake @@ -0,0 +1,102 @@ +# This file will be configured to contain variables for CPack. These variables +# should be set in the CMake list file of the project before CPack module is +# included. The list of available CPACK_xxx variables and their associated +# documentation may be obtained using +# cpack --help-variable-list +# +# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME) +# and some are specific to a generator +# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables +# usually begin with CPACK__xxxx. + + +set(CPACK_BUILD_SOURCE_DIRS "/home/yangwei/tcpdump_mesa") +set(CPACK_CMAKE_GENERATOR "Unix Makefiles") +set(CPACK_COMPONENTS_ALL "LIBRARY;HEADER;EXECUTABLE;PROFILE") +set(CPACK_COMPONENTS_ALL_SET_BY_USER "TRUE") +set(CPACK_COMPONENTS_GROUPING "ONE_PER_GROUP") +set(CPACK_COMPONENTS_IGNORE_GROUPS "1") +set(CPACK_COMPONENT_EXECUTABLE_GROUP "executable") +set(CPACK_COMPONENT_EXECUTABLE_REQUIRED "TRUE") +set(CPACK_COMPONENT_HEADER_DISPLAY_NAME "develop") +set(CPACK_COMPONENT_HEADER_GROUP "header") +set(CPACK_COMPONENT_HEADER_REQUIRED "TRUE") +set(CPACK_COMPONENT_LIBRARY_GROUP "executable") +set(CPACK_COMPONENT_PROFILE_GROUP "executable") +set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE") +set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE") +set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake3/Templates/CPack.GenericDescription.txt") +set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_SUMMARY "tcpdump_mesa built using CMake") +set(CPACK_GENERATOR "TBZ2;TGZ;TXZ;TZ") +set(CPACK_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp\$;\\.#;/#") +set(CPACK_INSTALLED_DIRECTORIES "/home/yangwei/tcpdump_mesa;/") +set(CPACK_INSTALL_CMAKE_PROJECTS "") +set(CPACK_INSTALL_PREFIX "/opt/MESA/") +set(CPACK_MODULE_PATH "/home/yangwei/tcpdump_mesa/cmake") +set(CPACK_NSIS_DISPLAY_NAME "tcpdump_mesa 1.0.0.8a631fe") +set(CPACK_NSIS_INSTALLER_ICON_CODE "") +set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "") +set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES") +set(CPACK_NSIS_PACKAGE_NAME "tcpdump_mesa 1.0.0.8a631fe") +set(CPACK_NSIS_UNINSTALL_NAME "Uninstall") +set(CPACK_OUTPUT_CONFIG_FILE "/home/yangwei/tcpdump_mesa/cmake-build-debug/CPackConfig.cmake") +set(CPACK_PACKAGE_DEFAULT_LOCATION "/") +set(CPACK_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake3/Templates/CPack.GenericDescription.txt") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "tcpdump_mesa built using CMake") +set(CPACK_PACKAGE_FILE_NAME "tcpdump_mesa-1.0.0.8a631fe-Source") +set(CPACK_PACKAGE_INSTALL_DIRECTORY "tcpdump_mesa 1.0.0.8a631fe") +set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "tcpdump_mesa 1.0.0.8a631fe") +set(CPACK_PACKAGE_NAME "tcpdump_mesa") +set(CPACK_PACKAGE_RELOCATABLE "true") +set(CPACK_PACKAGE_VECDOR "MESA") +set(CPACK_PACKAGE_VENDOR "Humanity") +set(CPACK_PACKAGE_VERSION "1.0.0.8a631fe") +set(CPACK_PACKAGE_VERSION_MAJOR "1") +set(CPACK_PACKAGE_VERSION_MINOR "0") +set(CPACK_PACKAGE_VERSION_PATCH "0.8a631fe") +set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/MESA/") +set(CPACK_RESOURCE_FILE_LICENSE "/usr/share/cmake3/Templates/CPack.GenericLicense.txt") +set(CPACK_RESOURCE_FILE_README "/usr/share/cmake3/Templates/CPack.GenericDescription.txt") +set(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake3/Templates/CPack.GenericWelcome.txt") +set(CPACK_RPM_CHANGELOG_FILE "/home/yangwei/tcpdump_mesa/cmake/changelog.txt") +set(CPACK_RPM_COMPONENT_INSTALL "ON") +set(CPACK_RPM_DEBUGINFO_PACKAGE "on") +set(CPACK_RPM_EXECUTABLE_DEBUGINFO_FILE_NAME "tcpdump_mesa-debug-debuginfo-1.0.0.8a631fe-x86_64...rpm") +set(CPACK_RPM_EXECUTABLE_FILE_NAME "tcpdump_mesa-debug-1.0.0.8a631fe-x86_64...rpm") +set(CPACK_RPM_EXECUTABLE_PACKAGE_NAME "tcpdump_mesa-debug") +set(CPACK_RPM_HEADER_DEBUGINFO_FILE_NAME "tcpdump_mesa-debug-devel-debuginfo-1.0.0.8a631fe-x86_64...rpm") +set(CPACK_RPM_HEADER_FILE_NAME "tcpdump_mesa-debug-devel-1.0.0.8a631fe-x86_64...rpm") +set(CPACK_RPM_HEADER_PACKAGE_CONFLICTS "tcpdump_mesa-debug-devel") +set(CPACK_RPM_HEADER_PACKAGE_NAME "tcpdump_mesa-debug-devel") +set(CPACK_RPM_PACKAGE_AUTOREQ "no") +set(CPACK_RPM_PACKAGE_AUTOREQPROV "no") +set(CPACK_RPM_PACKAGE_CONFLICTS "tcpdump_mesa-debug") +set(CPACK_RPM_PACKAGE_DEBUG "1") +set(CPACK_RPM_PACKAGE_RELEASE_LIBRARY "on") +set(CPACK_RPM_PACKAGE_SOURCES "ON") +set(CPACK_RPM_PACKAGE_VENDOR "MESA") +set(CPACK_SET_DESTDIR "OFF") +set(CPACK_SOURCE_GENERATOR "TBZ2;TGZ;TXZ;TZ") +set(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp\$;\\.#;/#") +set(CPACK_SOURCE_INSTALLED_DIRECTORIES "/home/yangwei/tcpdump_mesa;/") +set(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/yangwei/tcpdump_mesa/cmake-build-debug/CPackSourceConfig.cmake") +set(CPACK_SOURCE_PACKAGE_FILE_NAME "tcpdump_mesa-1.0.0.8a631fe-Source") +set(CPACK_SOURCE_RPM "OFF") +set(CPACK_SOURCE_TBZ2 "ON") +set(CPACK_SOURCE_TGZ "ON") +set(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source") +set(CPACK_SOURCE_TXZ "ON") +set(CPACK_SOURCE_TZ "ON") +set(CPACK_SOURCE_ZIP "OFF") +set(CPACK_STRIP_FILES "") +set(CPACK_SYSTEM_NAME "Linux") +set(CPACK_TOPLEVEL_TAG "Linux-Source") +set(CPACK_WIX_SIZEOF_VOID_P "8") + +if(NOT CPACK_PROPERTIES_FILE) + set(CPACK_PROPERTIES_FILE "/home/yangwei/tcpdump_mesa/cmake-build-debug/CPackProperties.cmake") +endif() + +if(EXISTS ${CPACK_PROPERTIES_FILE}) + include(${CPACK_PROPERTIES_FILE}) +endif() diff --git a/cmake-build-debug/Makefile b/cmake-build-debug/Makefile new file mode 100644 index 0000000..5c4125a --- /dev/null +++ b/cmake-build-debug/Makefile @@ -0,0 +1,228 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.17 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Disable VCS-based implicit rules. +% : %,v + + +# Disable VCS-based implicit rules. +% : RCS/% + + +# Disable VCS-based implicit rules. +% : RCS/%,v + + +# Disable VCS-based implicit rules. +% : SCCS/s.% + + +# Disable VCS-based implicit rules. +% : s.% + + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake3 + +# The command to remove a file. +RM = /usr/bin/cmake3 -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/yangwei/tcpdump_mesa + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/yangwei/tcpdump_mesa/cmake-build-debug + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake3 -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake3 -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake3 -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake3 -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake3 -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake3 -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"EXECUTABLE\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components + +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake3 --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache + +.PHONY : rebuild_cache/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /usr/bin/ccmake3 -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache + +.PHONY : edit_cache/fast + +# Special rule for the target package_source +package_source: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..." + /usr/bin/cpack3 --config ./CPackSourceConfig.cmake /home/yangwei/tcpdump_mesa/cmake-build-debug/CPackSourceConfig.cmake +.PHONY : package_source + +# Special rule for the target package_source +package_source/fast: package_source + +.PHONY : package_source/fast + +# Special rule for the target package +package: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..." + /usr/bin/cpack3 --config ./CPackConfig.cmake +.PHONY : package + +# Special rule for the target package +package/fast: package + +.PHONY : package/fast + +# The main all target +all: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles/progress.marks + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start /home/yangwei/tcpdump_mesa/cmake-build-debug/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean +.PHONY : clean + +# The main clean target +clean/fast: clean + +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... package" + @echo "... package_source" + @echo "... rebuild_cache" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/cmake-build-debug/addrtoname.o b/cmake-build-debug/addrtoname.o new file mode 100644 index 0000000..bd4e306 Binary files /dev/null and b/cmake-build-debug/addrtoname.o differ diff --git a/cmake-build-debug/addrtostr.o b/cmake-build-debug/addrtostr.o new file mode 100644 index 0000000..dd1406b Binary files /dev/null and b/cmake-build-debug/addrtostr.o differ diff --git a/cmake-build-debug/af.o b/cmake-build-debug/af.o new file mode 100644 index 0000000..117c9e2 Binary files /dev/null and b/cmake-build-debug/af.o differ diff --git a/cmake-build-debug/ascii_strcasecmp.o b/cmake-build-debug/ascii_strcasecmp.o new file mode 100644 index 0000000..1dc442e Binary files /dev/null and b/cmake-build-debug/ascii_strcasecmp.o differ diff --git a/cmake-build-debug/autorevision.sh b/cmake-build-debug/autorevision.sh new file mode 100755 index 0000000..3baa179 --- /dev/null +++ b/cmake-build-debug/autorevision.sh @@ -0,0 +1,1268 @@ +#!/bin/sh + +# Copyright (c) 2012 - 2016 dak180 and contributors. See +# https://opensource.org/licenses/mit-license.php or the included +# COPYING.md for licence terms. +# +# autorevision - extracts metadata about the head version from your +# repository. + +# Usage message. +arUsage() { + cat > "/dev/stderr" << EOF +usage: autorevision {-t output-type | -s symbol} [-o cache-file [-f] ] [-V] + Options include: + -t output-type = specify output type + -s symbol = specify symbol output + -o cache-file = specify cache file location + -f = force the use of cache data + -U = check for untracked files in svn + -V = emit version and exit + -? = help message + +The following are valid output types: + clojure = clojure file + c = C/C++ file + h = Header for use with c/c++ + hpp = Alternate C++ header strings with namespace + ini = INI file + java = Java file + javaprop = Java properties file + js = javascript file + json = JSON file + lua = Lua file + m4 = m4 file + matlab = matlab file + octave = octave file + php = PHP file + pl = Perl file + py = Python file + rpm = rpm file + scheme = scheme file + sh = Bash sytax + swift = Swift file + tex = (La)TeX file + xcode = Header useful for populating info.plist files + cmake = CMake file + + +The following are valid symbols: + VCS_TYPE + VCS_BASENAME + VCS_UUID + VCS_NUM + VCS_DATE + VCS_BRANCH + VCS_TAG + VCS_TICK + VCS_EXTRA + VCS_FULL_HASH + VCS_SHORT_HASH + VCS_WC_MODIFIED + VCS_ACTION_STAMP +EOF + exit 1 +} + +# Config +ARVERSION="&&ARVERSION&&" +TARGETFILE="/dev/stdout" +while getopts ":t:o:s:VfU" OPTION; do + case "${OPTION}" in + t) + AFILETYPE="${OPTARG}" + ;; + o) + CACHEFILE="${OPTARG}" + ;; + f) + CACHEFORCE="1" + ;; + s) + VAROUT="${OPTARG}" + ;; + U) + UNTRACKEDFILES="1" + ;; + V) + echo "autorevision ${ARVERSION}" + exit 0 + ;; + ?) + # If an unknown flag is used (or -?): + arUsage + ;; + esac +done + +if [ ! -z "${VAROUT}" ] && [ ! -z "${AFILETYPE}" ]; then + # If both -s and -t are specified: + echo "error: Improper argument combination." 1>&2 + exit 1 +elif [ -z "${VAROUT}" ] && [ -z "${AFILETYPE}" ]; then + # If neither -s or -t are specified: + arUsage +elif [ -z "${CACHEFILE}" ] && [ "${CACHEFORCE}" = "1" ]; then + # If -f is specified without -o: + arUsage +elif [ ! -f "${CACHEFILE}" ] && [ "${CACHEFORCE}" = "1" ]; then + # If we are forced to use the cache but it does not exist. + echo "error: Cache forced but no cache found." 1>&2 + exit 1 +fi + +# Make sure that the path we are given is one we can source +# (dash, we are looking at you). +if [ ! -z "${CACHEFILE}" ] && ! echo "${CACHEFILE}" | grep -q '^\.*/'; then + CACHEFILE="./${CACHEFILE}" +fi + +GENERATED_HEADER="Generated by autorevision - do not hand-hack!" + +# Functions to extract data from different repo types. +# For git repos +# shellcheck disable=SC2039,SC2164,SC2155 +gitRepo() { + local oldPath="${PWD}" + + cd "$(git rev-parse --show-toplevel)" + + VCS_TYPE="git" + + VCS_BASENAME="$(basename "${PWD}")" + + VCS_UUID="$(git rev-list --max-parents=0 --date-order --reverse HEAD 2>/dev/null | sed -n 1p)" + if [ -z "${VCS_UUID}" ]; then + VCS_UUID="$(git rev-list --topo-order HEAD | tail -n 1)" + fi + + # Is the working copy clean? + test -z "$(git status --untracked-files=normal --porcelain)" + VCS_WC_MODIFIED="${?}" + + # Enumeration of changesets + VCS_NUM="$(git rev-list --count HEAD 2>/dev/null)" + if [ -z "${VCS_NUM}" ]; then + echo "warning: Counting the number of revisions may be slower due to an outdated git version less than 1.7.2.3. If something breaks, please update it." 1>&2 + VCS_NUM="$(git rev-list HEAD | wc -l)" + fi + + # This may be a git-svn remote. If so, report the Subversion revision. + if [ -z "$(git config svn-remote.svn.url 2>/dev/null)" ]; then + # The full revision hash + VCS_FULL_HASH="$(git rev-parse HEAD)" + + # The short hash + VCS_SHORT_HASH="$(echo "${VCS_FULL_HASH}" | cut -b 1-7)" + else + # The git-svn revision number + VCS_FULL_HASH="$(git svn find-rev HEAD)" + VCS_SHORT_HASH="${VCS_FULL_HASH}" + fi + + # Current branch + VCS_BRANCH="$(git rev-parse --symbolic-full-name --verify "$(git name-rev --name-only --no-undefined HEAD 2>/dev/null)" 2>/dev/null | sed -e 's:refs/heads/::' | sed -e 's:refs/::')" + + # Cache the description + local DESCRIPTION="$(git describe --long --tags 2>/dev/null)" + + # Current or last tag ancestor (empty if no tags) + VCS_TAG="$(echo "${DESCRIPTION}" | sed -e "s:-g${VCS_SHORT_HASH}\$::" -e 's:-[0-9]*$::')" + + # Distance to last tag or an alias of VCS_NUM if there is no tag + if [ ! -z "${DESCRIPTION}" ]; then + VCS_TICK="$(echo "${DESCRIPTION}" | sed -e "s:${VCS_TAG}-::" -e "s:-g${VCS_SHORT_HASH}::")" + else + VCS_TICK="${VCS_NUM}" + fi + + # Date of the current commit + VCS_DATE="$(TZ=UTC git show -s --date=iso-strict-local --pretty=format:%ad | sed -e 's|+00:00|Z|')" + if [ -z "${VCS_DATE}" ]; then + echo "warning: Action stamps require git version 2.7+." 1>&2 + VCS_DATE="$(git log -1 --pretty=format:%ci | sed -e 's: :T:' -e 's: ::' -e 's|+00:00|Z|')" + local ASdis="1" + fi + + # Action Stamp + if [ -z "${ASdis}" ]; then + VCS_ACTION_STAMP="${VCS_DATE}!$(git show -s --pretty=format:%cE)" + else + VCS_ACTION_STAMP="" + fi + + cd "${oldPath}" +} + +# For hg repos +# shellcheck disable=SC2039,SC2164 +hgRepo() { + local oldPath="${PWD}" + + cd "$(hg root)" + + VCS_TYPE="hg" + + VCS_BASENAME="$(basename "${PWD}")" + + VCS_UUID="$(hg log -r "0" -l 1 --template '{node}\n')" + + # Is the working copy clean? + test -z "$(hg status -duram)" + VCS_WC_MODIFIED="${?}" + + # Enumeration of changesets + VCS_NUM="$(hg id -n | tr -d '+')" + + # The full revision hash + VCS_FULL_HASH="$(hg log -r "${VCS_NUM}" -l 1 --template '{node}\n')" + + # The short hash + VCS_SHORT_HASH="$(hg id -i | tr -d '+')" + + # Current bookmark (bookmarks are roughly equivalent to git's branches) + # or branch if no bookmark + VCS_BRANCH="$(hg id -B | cut -d ' ' -f 1)" + # Fall back to the branch if there are no bookmarks + if [ -z "${VCS_BRANCH}" ]; then + VCS_BRANCH="$(hg id -b)" + fi + + # Current or last tag ancestor (excluding auto tags, empty if no tags) + VCS_TAG="$(hg log -r "${VCS_NUM}" -l 1 --template '{latesttag}\n' 2>/dev/null | sed -e 's:qtip::' -e 's:tip::' -e 's:qbase::' -e 's:qparent::' -e "s:$(hg --config 'extensions.color=' --config 'extensions.mq=' --color never qtop 2>/dev/null)::" | cut -d ' ' -f 1)" + + # Distance to last tag or an alias of VCS_NUM if there is no tag + if [ ! -z "${VCS_TAG}" ]; then + VCS_TICK="$(hg log -r "${VCS_NUM}" -l 1 --template '{latesttagdistance}\n' 2>/dev/null)" + else + VCS_TICK="${VCS_NUM}" + fi + + # Date of the current commit + VCS_DATE="$(hg log -r "${VCS_NUM}" -l 1 --template '{date|isodatesec}\n' 2>/dev/null | sed -e 's: :T:' -e 's: ::' -e 's|+00:00|Z|')" + + # Action Stamp + VCS_ACTION_STAMP="$(TZ=UTC hg log -r "${VCS_NUM}" -l 1 --template '{date|localdate|rfc3339date}\n' 2>/dev/null | sed -e 's|+00:00|Z|')!$(hg log -r "${VCS_NUM}" -l 1 --template '{author|email}\n' 2>/dev/null)" + + cd "${oldPath}" +} + +# For bzr repos +# shellcheck disable=SC2039,SC2164 +bzrRepo() { + local oldPath="${PWD}" + + cd "$(bzr root)" + + VCS_TYPE="bzr" + + VCS_BASENAME="$(basename "${PWD}")" + + # Currently unimplemented because more investigation is needed. + VCS_UUID="" + + # Is the working copy clean? + bzr version-info --custom --template='{clean}\n' | grep -q '1' + VCS_WC_MODIFIED="${?}" + + # Enumeration of changesets + VCS_NUM="$(bzr revno)" + + # The full revision hash + VCS_FULL_HASH="$(bzr version-info --custom --template='{revision_id}\n')" + + # The short hash + VCS_SHORT_HASH="${VCS_NUM}" + + # Nick of the current branch + VCS_BRANCH="$(bzr nick)" + + # Current or last tag ancestor (excluding auto tags, empty if no tags) + VCS_TAG="$(bzr tags --sort=time | sed '/?$/d' | tail -n1 | cut -d ' ' -f1)" + + # Distance to last tag or an alias of VCS_NUM if there is no tag + if [ ! -z "${VCS_TAG}" ]; then + VCS_TICK="$(bzr log --line -r "tag:${VCS_TAG}.." | tail -n +2 | wc -l | sed -e 's:^ *::')" + else + VCS_TICK="${VCS_NUM}" + fi + + # Date of the current commit + VCS_DATE="$(bzr version-info --custom --template='{date}\n' | sed -e 's: :T:' -e 's: ::')" + + # Action Stamp + # Currently unimplemented because more investigation is needed. + VCS_ACTION_STAMP="" + + cd "${oldPath}" +} + +# For svn repos +# shellcheck disable=SC2039,SC2164,SC2155 +svnRepo() { + local oldPath="${PWD}" + + VCS_TYPE="svn" + + case "${PWD}" in + /*trunk*|/*branches*|/*tags*) + local fn="${PWD}" + while [ "$(basename "${fn}")" != 'trunk' ] && [ "$(basename "${fn}")" != 'branches' ] && [ "$(basename "${fn}")" != 'tags' ] && [ "$(basename "${fn}")" != '/' ]; do + local fn="$(dirname "${fn}")" + done + local fn="$(dirname "${fn}")" + if [ "${fn}" = '/' ]; then + VCS_BASENAME="$(basename "${PWD}")" + else + VCS_BASENAME="$(basename "${fn}")" + fi + ;; + *) VCS_BASENAME="$(basename "${PWD}")" ;; + esac + + VCS_UUID="$(svn info --xml | sed -n -e 's:::' -e 's:::p')" + + # Cache svnversion output + local SVNVERSION="$(svnversion)" + + # Is the working copy clean? + echo "${SVNVERSION}" | grep -q "M" + case "${?}" in + 0) + VCS_WC_MODIFIED="1" + ;; + 1) + if [ ! -z "${UNTRACKEDFILES}" ]; then + # `svnversion` does not detect untracked files and `svn status` is really slow, so only run it if we really have to. + if [ -z "$(svn status)" ]; then + VCS_WC_MODIFIED="0" + else + VCS_WC_MODIFIED="1" + fi + else + VCS_WC_MODIFIED="0" + fi + ;; + esac + + # Enumeration of changesets + VCS_NUM="$(echo "${SVNVERSION}" | cut -d : -f 1 | sed -e 's:M::' -e 's:S::' -e 's:P::')" + + # The full revision hash + VCS_FULL_HASH="${SVNVERSION}" + + # The short hash + VCS_SHORT_HASH="${VCS_NUM}" + + # Current branch + case "${PWD}" in + /*trunk*|/*branches*|/*tags*) + local lastbase="" + local fn="${PWD}" + while : + do + base="$(basename "${fn}")" + if [ "${base}" = 'trunk' ]; then + VCS_BRANCH='trunk' + break + elif [ "${base}" = 'branches' ] || [ "${base}" = 'tags' ]; then + VCS_BRANCH="${lastbase}" + break + elif [ "${base}" = '/' ]; then + VCS_BRANCH="" + break + fi + local lastbase="${base}" + local fn="$(dirname "${fn}")" + done + ;; + *) VCS_BRANCH="" ;; + esac + + # Current or last tag ancestor (empty if no tags). But "current + # tag" can't be extracted reliably because Subversion doesn't + # have tags the way other VCSes do. + VCS_TAG="" + VCS_TICK="" + + # Date of the current commit + VCS_DATE="$(svn info --xml | sed -n -e 's:::' -e 's:::p')" + + # Action Stamp + VCS_ACTION_STAMP="${VCS_DATE}!$(svn log --xml -l 1 -r "${VCS_SHORT_HASH}" | sed -n -e 's:::' -e 's:::p')" + + cd "${oldPath}" +} + + +# Functions to output data in different formats. +# For bash output +shOutput() { + cat > "${TARGETFILE}" << EOF +# ${GENERATED_HEADER} + +VCS_TYPE="${VCS_TYPE}" +VCS_BASENAME="${VCS_BASENAME}" +VCS_UUID="${VCS_UUID}" +VCS_NUM="${VCS_NUM}" +VCS_DATE="${VCS_DATE}" +VCS_BRANCH="${VCS_BRANCH}" +VCS_TAG="${VCS_TAG}" +VCS_TICK="${VCS_TICK}" +VCS_EXTRA="${VCS_EXTRA}" + +VCS_ACTION_STAMP="${VCS_ACTION_STAMP}" +VCS_FULL_HASH="${VCS_FULL_HASH}" +VCS_SHORT_HASH="${VCS_SHORT_HASH}" + +VCS_WC_MODIFIED="${VCS_WC_MODIFIED}" + +# end +EOF +} + +# For source C output +cOutput() { + cat > "${TARGETFILE}" << EOF +/* ${GENERATED_HEADER} */ + +const char *VCS_TYPE = "${VCS_TYPE}"; +const char *VCS_BASENAME = "${VCS_BASENAME}"; +const char *VCS_UUID = "${VCS_UUID}"; +const int VCS_NUM = ${VCS_NUM}; +const char *VCS_DATE = "${VCS_DATE}"; +const char *VCS_BRANCH = "${VCS_BRANCH}"; +const char *VCS_TAG = "${VCS_TAG}"; +const int VCS_TICK = ${VCS_TICK}; +const char *VCS_EXTRA = "${VCS_EXTRA}"; + +const char *VCS_ACTION_STAMP = "${VCS_ACTION_STAMP}"; +const char *VCS_FULL_HASH = "${VCS_FULL_HASH}"; +const char *VCS_SHORT_HASH = "${VCS_SHORT_HASH}"; + +const int VCS_WC_MODIFIED = ${VCS_WC_MODIFIED}; + +/* end */ +EOF +} + +# For header output +hOutput() { + cat > "${TARGETFILE}" << EOF +/* ${GENERATED_HEADER} */ +#ifndef AUTOREVISION_H +#define AUTOREVISION_H + +#define VCS_TYPE "${VCS_TYPE}" +#define VCS_BASENAME "${VCS_BASENAME}" +#define VCS_UUID "${VCS_UUID}" +#define VCS_NUM ${VCS_NUM} +#define VCS_DATE "${VCS_DATE}" +#define VCS_BRANCH "${VCS_BRANCH}" +#define VCS_TAG "${VCS_TAG}" +#define VCS_TICK ${VCS_TICK} +#define VCS_EXTRA "${VCS_EXTRA}" + +#define VCS_ACTION_STAMP "${VCS_ACTION_STAMP}" +#define VCS_FULL_HASH "${VCS_FULL_HASH}" +#define VCS_SHORT_HASH "${VCS_SHORT_HASH}" + +#define VCS_WC_MODIFIED ${VCS_WC_MODIFIED} + +#endif + +/* end */ +EOF +} + +# A header output for use with xcode to populate info.plist strings +xcodeOutput() { + cat > "${TARGETFILE}" << EOF +/* ${GENERATED_HEADER} */ +#ifndef AUTOREVISION_H +#define AUTOREVISION_H + +#define VCS_TYPE ${VCS_TYPE} +#define VCS_BASENAME ${VCS_BASENAME} +#define VCS_UUID ${VCS_UUID} +#define VCS_NUM ${VCS_NUM} +#define VCS_DATE ${VCS_DATE} +#define VCS_BRANCH ${VCS_BRANCH} +#define VCS_TAG ${VCS_TAG} +#define VCS_TICK ${VCS_TICK} +#define VCS_EXTRA ${VCS_EXTRA} + +#define VCS_ACTION_STAMP ${VCS_ACTION_STAMP} +#define VCS_FULL_HASH ${VCS_FULL_HASH} +#define VCS_SHORT_HASH ${VCS_SHORT_HASH} + +#define VCS_WC_MODIFIED ${VCS_WC_MODIFIED} + +#endif + +/* end */ +EOF +} + +# For Swift output +swiftOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="false" ;; + 1) VCS_WC_MODIFIED="true" ;; + esac + # For values that may not exist depending on the type of repo we + # have read from, set them to `nil` when they are empty. + if [ -z "${VCS_UUID}" ]; then + VCS_UUID="nil" + else + VCS_UUID="\"${VCS_UUID}\"" + fi + if [ -z "${VCS_TAG}" ]; then + VCS_TAG="nil" + else + VCS_TAG="\"${VCS_TAG}\"" + fi + : "${VCS_TICK:="nil"}" + if [ -z "${VCS_EXTRA}" ]; then + VCS_EXTRA="nil" + else + VCS_EXTRA="\"${VCS_EXTRA}\"" + fi + if [ -z "${VCS_ACTION_STAMP}" ]; then + VCS_ACTION_STAMP="nil" + else + VCS_ACTION_STAMP="\"${VCS_ACTION_STAMP}\"" + fi + cat > "${TARGETFILE}" << EOF +/* ${GENERATED_HEADER} */ + +let VCS_TYPE = "${VCS_TYPE}" +let VCS_BASENAME = "${VCS_BASENAME}" +let VCS_UUID: String? = ${VCS_UUID} +let VCS_NUM: Int = ${VCS_NUM} +let VCS_DATE = "${VCS_DATE}" +let VCS_BRANCH: String = "${VCS_BRANCH}" +let VCS_TAG: String? = ${VCS_TAG} +let VCS_TICK: Int? = ${VCS_TICK} +let VCS_EXTRA: String? = ${VCS_EXTRA} + +let VCS_ACTION_STAMP: String? = ${VCS_ACTION_STAMP} +let VCS_FULL_HASH: String = "${VCS_FULL_HASH}" +let VCS_SHORT_HASH: String = "${VCS_SHORT_HASH}" + +let VCS_WC_MODIFIED: Bool = ${VCS_WC_MODIFIED} + +/* end */ +EOF +} + +# For Python output +pyOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="False" ;; + 1) VCS_WC_MODIFIED="True" ;; + esac + cat > "${TARGETFILE}" << EOF +# ${GENERATED_HEADER} + +VCS_TYPE = "${VCS_TYPE}" +VCS_BASENAME = "${VCS_BASENAME}" +VCS_UUID = "${VCS_UUID}" +VCS_NUM = ${VCS_NUM} +VCS_DATE = "${VCS_DATE}" +VCS_BRANCH = "${VCS_BRANCH}" +VCS_TAG = "${VCS_TAG}" +VCS_TICK = ${VCS_TICK} +VCS_EXTRA = "${VCS_EXTRA}" + +VCS_ACTION_STAMP = "${VCS_ACTION_STAMP}" +VCS_FULL_HASH = "${VCS_FULL_HASH}" +VCS_SHORT_HASH = "${VCS_SHORT_HASH}" + +VCS_WC_MODIFIED = ${VCS_WC_MODIFIED} + +# end +EOF +} + +# For Perl output +plOutput() { + cat << EOF +# ${GENERATED_HEADER} + +\$VCS_TYPE = '${VCS_TYPE}'; +\$VCS_BASENAME = '${VCS_BASENAME}'; +\$VCS_UUID = '${VCS_UUID}'; +\$VCS_NUM = ${VCS_NUM}; +\$VCS_DATE = '${VCS_DATE}'; +\$VCS_BRANCH = '${VCS_BRANCH}'; +\$VCS_TAG = '${VCS_TAG}'; +\$VCS_TICK = ${VCS_TICK}; +\$VCS_EXTRA = '${VCS_EXTRA}'; + +\$VCS_ACTION_STAMP = '${VCS_ACTION_STAMP}'; +\$VCS_FULL_HASH = '${VCS_FULL_HASH}'; +\$VCS_SHORT_HASH = '${VCS_SHORT_HASH}'; + +\$VCS_WC_MODIFIED = ${VCS_WC_MODIFIED}; + +# end +1; +EOF +} + +# For lua output +luaOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="false" ;; + 1) VCS_WC_MODIFIED="true" ;; + esac + cat > "${TARGETFILE}" << EOF +-- ${GENERATED_HEADER} + +VCS_TYPE = "${VCS_TYPE}" +VCS_BASENAME = "${VCS_BASENAME}" +VCS_UUID = "${VCS_UUID}" +VCS_NUM = ${VCS_NUM} +VCS_DATE = "${VCS_DATE}" +VCS_BRANCH = "${VCS_BRANCH}" +VCS_TAG = "${VCS_TAG}" +VCS_TICK = ${VCS_TICK} +VCS_EXTRA = "${VCS_EXTRA}" + +VCS_ACTION_STAMP = "${VCS_ACTION_STAMP}" +VCS_FULL_HASH = "${VCS_FULL_HASH}" +VCS_SHORT_HASH = "${VCS_SHORT_HASH}" + +VCS_WC_MODIFIED = ${VCS_WC_MODIFIED} + +-- end +EOF +} + +# For php output +phpOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="false" ;; + 1) VCS_WC_MODIFIED="true" ;; + esac + cat > "${TARGETFILE}" << EOF + "${VCS_TYPE}", + "VCS_BASENAME" => "${VCS_BASENAME}", + "VCS_UUID" => "${VCS_UUID}", + "VCS_NUM" => ${VCS_NUM}, + "VCS_DATE" => "${VCS_DATE}", + "VCS_BRANCH" => "${VCS_BRANCH}", + "VCS_TAG" => "${VCS_TAG}", + "VCS_TICK" => ${VCS_TICK}, + "VCS_EXTRA" => "${VCS_EXTRA}", + "VCS_ACTION_STAMP" => "${VCS_ACTION_STAMP}", + "VCS_FULL_HASH" => "${VCS_FULL_HASH}", + "VCS_SHORT_HASH" => "${VCS_SHORT_HASH}", + "VCS_WC_MODIFIED" => ${VCS_WC_MODIFIED} +); + +# end +?> +EOF +} + +# For ini output +iniOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="false" ;; + 1) VCS_WC_MODIFIED="true" ;; + esac + cat > "${TARGETFILE}" << EOF +; ${GENERATED_HEADER} +[VCS] +VCS_TYPE = "${VCS_TYPE}" +VCS_BASENAME = "${VCS_BASENAME}" +VCS_UUID = "${VCS_UUID}" +VCS_NUM = ${VCS_NUM} +VCS_DATE = "${VCS_DATE}" +VCS_BRANCH = "${VCS_BRANCH}" +VCS_TAG = "${VCS_TAG}" +VCS_TICK = ${VCS_TICK} +VCS_EXTRA = "${VCS_EXTRA}" +VCS_ACTION_STAMP = "${VCS_ACTION_STAMP}" +VCS_FULL_HASH = "${VCS_FULL_HASH}" +VCS_SHORT_HASH = "${VCS_SHORT_HASH}" +VCS_WC_MODIFIED = ${VCS_WC_MODIFIED} +; end +EOF +} + +# For javascript output +jsOutput() { + case "${VCS_WC_MODIFIED}" in + 1) VCS_WC_MODIFIED="true" ;; + 0) VCS_WC_MODIFIED="false" ;; + esac + cat > "${TARGETFILE}" << EOF +/** ${GENERATED_HEADER} */ + +var autorevision = { + VCS_TYPE: "${VCS_TYPE}", + VCS_BASENAME: "${VCS_BASENAME}", + VCS_UUID: "${VCS_UUID}", + VCS_NUM: ${VCS_NUM}, + VCS_DATE: "${VCS_DATE}", + VCS_BRANCH: "${VCS_BRANCH}", + VCS_TAG: "${VCS_TAG}", + VCS_TICK: ${VCS_TICK}, + VCS_EXTRA: "${VCS_EXTRA}", + + VCS_ACTION_STAMP: "${VCS_ACTION_STAMP}", + VCS_FULL_HASH: "${VCS_FULL_HASH}", + VCS_SHORT_HASH: "${VCS_SHORT_HASH}", + + VCS_WC_MODIFIED: ${VCS_WC_MODIFIED} +}; + +/** Node.js compatibility */ +if (typeof module !== 'undefined') { + module.exports = autorevision; +} + +/** end */ +EOF +} + +# For JSON output +jsonOutput() { + case "${VCS_WC_MODIFIED}" in + 1) VCS_WC_MODIFIED="true" ;; + 0) VCS_WC_MODIFIED="false" ;; + esac + cat > "${TARGETFILE}" << EOF +{ + "_comment": "${GENERATED_HEADER}", + "VCS_TYPE": "${VCS_TYPE}", + "VCS_BASENAME": "${VCS_BASENAME}", + "VCS_UUID": "${VCS_UUID}", + "VCS_NUM": ${VCS_NUM}, + "VCS_DATE": "${VCS_DATE}", + "VCS_BRANCH":"${VCS_BRANCH}", + "VCS_TAG": "${VCS_TAG}", + "VCS_TICK": ${VCS_TICK}, + "VCS_EXTRA": "${VCS_EXTRA}", + + "VCS_ACTION_STAMP": "${VCS_ACTION_STAMP}", + "VCS_FULL_HASH": "${VCS_FULL_HASH}", + "VCS_SHORT_HASH": "${VCS_SHORT_HASH}", + + "VCS_WC_MODIFIED": ${VCS_WC_MODIFIED} +} +EOF +} + +# For Java output +javaOutput() { + case "${VCS_WC_MODIFIED}" in + 1) VCS_WC_MODIFIED="true" ;; + 0) VCS_WC_MODIFIED="false" ;; + esac + cat > "${TARGETFILE}" << EOF +/* ${GENERATED_HEADER} */ + +public class autorevision { + public static final String VCS_TYPE = "${VCS_TYPE}"; + public static final String VCS_BASENAME = "${VCS_BASENAME}"; + public static final String VCS_UUID = "${VCS_UUID}"; + public static final long VCS_NUM = ${VCS_NUM}; + public static final String VCS_DATE = "${VCS_DATE}"; + public static final String VCS_BRANCH = "${VCS_BRANCH}"; + public static final String VCS_TAG = "${VCS_TAG}"; + public static final long VCS_TICK = ${VCS_TICK}; + public static final String VCS_EXTRA = "${VCS_EXTRA}"; + + public static final String VCS_ACTION_STAMP = "${VCS_ACTION_STAMP}"; + public static final String VCS_FULL_HASH = "${VCS_FULL_HASH}"; + public static final String VCS_SHORT_HASH = "${VCS_SHORT_HASH}"; + + public static final boolean VCS_WC_MODIFIED = ${VCS_WC_MODIFIED}; +} +EOF +} + +# For Java properties output +javapropOutput() { + case "${VCS_WC_MODIFIED}" in + 1) VCS_WC_MODIFIED="true" ;; + 0) VCS_WC_MODIFIED="false" ;; + esac + cat > "${TARGETFILE}" << EOF +# ${GENERATED_HEADER} + +VCS_TYPE=${VCS_TYPE} +VCS_BASENAME=${VCS_BASENAME} +VCS_UUID=${VCS_UUID} +VCS_NUM=${VCS_NUM} +VCS_DATE=${VCS_DATE} +VCS_BRANCH=${VCS_BRANCH} +VCS_TAG=${VCS_TAG} +VCS_TICK=${VCS_TICK} +VCS_EXTRA=${VCS_EXTRA} + +VCS_ACTION_STAMP=${VCS_ACTION_STAMP} +VCS_FULL_HASH=${VCS_FULL_HASH} +VCS_SHORT_HASH=${VCS_SHORT_HASH} + +VCS_WC_MODIFIED=${VCS_WC_MODIFIED} +EOF +} + +# For m4 output +m4Output() { + cat > "${TARGETFILE}" << EOF +dnl ${GENERATED_HEADER} +define(\`VCS_TYPE', \`${VCS_TYPE}')dnl +define(\`VCS_BASENAME', \`${VCS_BASENAME}')dnl +define(\`VCS_UUID', \`${VCS_UUID}')dnl +define(\`VCS_NUM', \`${VCS_NUM}')dnl +define(\`VCS_DATE', \`${VCS_DATE}')dnl +define(\`VCS_BRANCH', \`${VCS_BRANCH}')dnl +define(\`VCS_TAG', \`${VCS_TAG}')dnl +define(\`VCS_TICK', \`${VCS_TICK}')dnl +define(\`VCS_EXTRA', \`${VCS_EXTRA}')dnl +define(\`VCS_ACTIONSTAMP', \`${VCS_ACTION_STAMP}')dnl +define(\`VCS_FULLHASH', \`${VCS_FULL_HASH}')dnl +define(\`VCS_SHORTHASH', \`${VCS_SHORT_HASH}')dnl +define(\`VCS_WC_MODIFIED', \`${VCS_WC_MODIFIED}')dnl +EOF +} + +# For (La)TeX output +texOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="false" ;; + 1) VCS_WC_MODIFIED="true" ;; + esac + cat > "${TARGETFILE}" << EOF +% ${GENERATED_HEADER} +\def \vcsType {${VCS_TYPE}} +\def \vcsBasename {${VCS_BASENAME}} +\def \vcsUUID {${VCS_UUID}} +\def \vcsNum {${VCS_NUM}} +\def \vcsDate {${VCS_DATE}} +\def \vcsBranch {${VCS_BRANCH}} +\def \vcsTag {${VCS_TAG}} +\def \vcsTick {${VCS_TICK}} +\def \vcsExtra {${VCS_EXTRA}} +\def \vcsACTIONSTAMP {${VCS_ACTION_STAMP}} +\def \vcsFullHash {${VCS_FULL_HASH}} +\def \vcsShortHash {${VCS_SHORT_HASH}} +\def \vcsWCModified {${VCS_WC_MODIFIED}} +\endinput +EOF +} + +# For scheme output +schemeOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="#f" ;; + 1) VCS_WC_MODIFIED="#t" ;; + esac + cat > "${TARGETFILE}" << EOF +;; ${GENERATED_HEADER} +(define VCS_TYPE "${VCS_TYPE}") +(define VCS_BASENAME "${VCS_BASENAME}") +(define VCS_UUID "${VCS_UUID}") +(define VCS_NUM ${VCS_NUM}) +(define VCS_DATE "${VCS_DATE}") +(define VCS_BRANCH "${VCS_BRANCH}") +(define VCS_TAG "${VCS_TAG}") +(define VCS_TICK ${VCS_TICK}) +(define VCS_EXTRA "${VCS_EXTRA}") + +(define VCS_ACTION_STAMP "${VCS_ACTION_STAMP}") +(define VCS_FULL_HASH "${VCS_FULL_HASH}") +(define VCS_SHORT_HASH "${VCS_SHORT_HASH}") + +(define VCS_WC_MODIFIED ${VCS_WC_MODIFIED}) +;; end +EOF +} + +# For clojure output +clojureOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="false" ;; + 1) VCS_WC_MODIFIED="true" ;; + esac + cat > "${TARGETFILE}" << EOF +;; ${GENERATED_HEADER} +(def VCS_TYPE "${VCS_TYPE}") +(def VCS_BASENAME "${VCS_BASENAME}") +(def VCS_UUID "${VCS_UUID}") +(def VCS_NUM ${VCS_NUM}) +(def VCS_DATE "${VCS_DATE}") +(def VCS_BRANCH "${VCS_BRANCH}") +(def VCS_TAG "${VCS_TAG}") +(def VCS_TICK ${VCS_TICK}) +(def VCS_EXTRA "${VCS_EXTRA}") + +(def VCS_ACTION_STAMP "${VCS_ACTION_STAMP}") +(def VCS_FULL_HASH "${VCS_FULL_HASH}") +(def VCS_SHORT_HASH "${VCS_SHORT_HASH}") + +(def VCS_WC_MODIFIED ${VCS_WC_MODIFIED}) +;; end +EOF +} + +# For rpm spec file output +rpmOutput() { + cat > "${TARGETFILE}" << EOF +# ${GENERATED_HEADER} +$([ "${VCS_TYPE}" ] && echo "%define vcs_type ${VCS_TYPE}") +$([ "${VCS_BASENAME}" ] && echo "%define vcs_basename ${VCS_BASENAME}") +$([ "${VCS_UUID}" ] && echo "%define vcs_uuid ${VCS_UUID}") +$([ "${VCS_NUM}" ] && echo "%define vcs_num ${VCS_NUM}") +$([ "${VCS_DATE}" ] && echo "%define vcs_date ${VCS_DATE}") +$([ "${VCS_BRANCH}" ] && echo "%define vcs_branch ${VCS_BRANCH}") +$([ "${VCS_TAG}" ] && echo "%define vcs_tag ${VCS_TAG}") +$([ "${VCS_TICK}" ] && echo "%define vcs_tick ${VCS_TICK}") +$([ "${VCS_EXTRA}" ] && echo "%define vcs_extra ${VCS_EXTRA}") + +$([ "${VCS_ACTION_STAMP}" ] && echo "%define vcs_action_stamp ${VCS_ACTION_STAMP}") +$([ "${VCS_FULL_HASH}" ] && echo "%define vcs_full_hash ${VCS_FULL_HASH}") +$([ "${VCS_SHORT_HASH}" ] && echo "%define vcs_short_hash ${VCS_SHORT_HASH}") + +$([ "${VCS_WC_MODIFIED}" ] && echo "%define vcs_wc_modified ${VCS_WC_MODIFIED}") +# end +EOF +} + +# shellcheck disable=SC2155,SC2039 +hppOutput() { + local NAMESPACE="$(echo "${VCS_BASENAME}" | sed -e 's:_::g' | tr '[:lower:]' '[:upper:]')" + cat > "${TARGETFILE}" << EOF +/* ${GENERATED_HEADER} */ + +#ifndef ${NAMESPACE}_AUTOREVISION_H +#define ${NAMESPACE}_AUTOREVISION_H + +#include + +namespace $(echo "${NAMESPACE}" | tr '[:upper:]' '[:lower:]') +{ + const std::string VCS_TYPE = "${VCS_TYPE}"; + const std::string VCS_BASENAME = "${VCS_BASENAME}"; + const std::string VCS_UUID = "${VCS_UUID}"; + const int VCS_NUM = ${VCS_NUM}; + const std::string VCS_DATE = "${VCS_DATE}"; + const std::string VCS_BRANCH = "${VCS_BRANCH}"; + const std::string VCS_TAG = "${VCS_TAG}"; + const int VCS_TICK = ${VCS_TICK}; + const std::string VCS_EXTRA = "${VCS_EXTRA}"; + + const std::string VCS_ACTION_STAMP = "${VCS_ACTION_STAMP}"; + const std::string VCS_FULL_HASH = "${VCS_FULL_HASH}"; + const std::string VCS_SHORT_HASH = "${VCS_SHORT_HASH}"; + + const int VCS_WC_MODIFIED = ${VCS_WC_MODIFIED}; +} + +#endif + +/* end */ +EOF +} + +matlabOutput() { + case "${VCS_WC_MODIFIED}" in + 0) VCS_WC_MODIFIED="FALSE" ;; + 1) VCS_WC_MODIFIED="TRUE" ;; + esac + cat > "${TARGETFILE}" << EOF +% ${GENERATED_HEADER} + +VCS_TYPE = '${VCS_TYPE}'; +VCS_BASENAME = '${VCS_BASENAME}'; +VCS_UUID = '${VCS_UUID}'; +VCS_NUM = ${VCS_NUM}; +VCS_DATE = '${VCS_DATE}'; +VCS_BRANCH = '${VCS_BRANCH}'; +VCS_TAG = '${VCS_TAG}'; +VCS_TICK = ${VCS_TICK}; +VCS_EXTRA = '${VCS_EXTRA}'; + +VCS_ACTION_STAMP = '${VCS_ACTION_STAMP}'; +VCS_FULL_HASH = '${VCS_FULL_HASH}'; +VCS_SHORT_HASH = '${VCS_SHORT_HASH}'; + +VCS_WC_MODIFIED = ${VCS_WC_MODIFIED}; + +% end +EOF +} + +octaveOutput() { + cat > "${TARGETFILE}" << EOF +% ${GENERATED_HEADER} + +VCS_TYPE = '${VCS_TYPE}'; +VCS_BASENAME = '${VCS_BASENAME}'; +VCS_UUID = '${VCS_UUID}'; +VCS_NUM = ${VCS_NUM}; +VCS_DATE = '${VCS_DATE}'; +VCS_BRANCH = '${VCS_BRANCH}'; +VCS_TAG = '${VCS_TAG}'; +VCS_TICK = ${VCS_TICK}; +VCS_EXTRA = '${VCS_EXTRA}'; + +VCS_ACTION_STAMP = '${VCS_ACTION_STAMP}'; +VCS_FULL_HASH = '${VCS_FULL_HASH}'; +VCS_SHORT_HASH = '${VCS_SHORT_HASH}'; + +VCS_WC_MODIFIED = ${VCS_WC_MODIFIED}; + +% end +EOF +} + +cmakeOutput() { + cat > "${TARGETFILE}" << EOF +# ${GENERATED_HEADER} + +set(VCS_TYPE ${VCS_TYPE}) +set(VCS_BASENAME ${VCS_BASENAME}) +set(VCS_UUID ${VCS_UUID}) +set(VCS_NUM ${VCS_NUM}) +set(VCS_DATE ${VCS_DATE}) +set(VCS_BRANCH ${VCS_BRANCH}) +set(VCS_TAG ${VCS_TAG}) +set(VCS_TICK ${VCS_TICK}) +set(VCS_EXTRA ${VCS_EXTRA}) + +set(VCS_ACTION_STAMP ${VCS_ACTION_STAMP}) +set(VCS_FULL_HASH ${VCS_FULL_HASH}) +set(VCS_SHORT_HASH ${VCS_SHORT_HASH}) + +set(VCS_WC_MODIFIED ${VCS_WC_MODIFIED}) + +# end +EOF +} + + +# Helper functions +# Count path segments +# shellcheck disable=SC2039 +pathSegment() { + local pathz="${1}" + local depth="0" + + if [ ! -z "${pathz}" ]; then + # Continue until we are at / or there are no path separators left. + while [ ! "${pathz}" = "/" ] && [ ! "${pathz}" = "$(echo "${pathz}" | sed -e 's:/::')" ]; do + pathz="$(dirname "${pathz}")" + depth="$((depth+1))" + done + fi + echo "${depth}" +} + +# Largest of four numbers +# shellcheck disable=SC2039 +multiCompare() { + local larger="${1}" + local numA="${2}" + local numB="${3}" + local numC="${4}" + + [ "${numA}" -gt "${larger}" ] && larger="${numA}" + [ "${numB}" -gt "${larger}" ] && larger="${numB}" + [ "${numC}" -gt "${larger}" ] && larger="${numC}" + echo "${larger}" +} + +# Test for repositories +# shellcheck disable=SC2155,SC2039 +repoTest() { + REPONUM="0" + if [ ! -z "$(git rev-parse HEAD 2>/dev/null)" ]; then + local gitPath="$(git rev-parse --show-toplevel)" + local gitDepth="$(pathSegment "${gitPath}")" + REPONUM="$((REPONUM+1))" + else + local gitDepth="0" + fi + if [ ! -z "$(hg root 2>/dev/null)" ]; then + local hgPath="$(hg root 2>/dev/null)" + local hgDepth="$(pathSegment "${hgPath}")" + REPONUM="$((REPONUM+1))" + else + local hgDepth="0" + fi + if [ ! -z "$(bzr root 2>/dev/null)" ]; then + local bzrPath="$(bzr root 2>/dev/null)" + local bzrDepth="$(pathSegment "${bzrPath}")" + REPONUM="$((REPONUM+1))" + else + local bzrDepth="0" + fi + if [ ! -z "$(svn info 2>/dev/null)" ]; then + local stringz="" + local stringx="" + local svnPath="$(svn info --xml | sed -n -e "s:${stringz}::" -e "s:${stringx}::p")" + # An old enough svn will not be able give us a path; default + # to 1 for that case. + if [ -z "${svnPath}" ]; then + local svnDepth="1" + else + local svnDepth="$(pathSegment "${svnPath}")" + fi + REPONUM="$((REPONUM+1))" + else + local svnDepth="0" + fi + + # Do not do more work then we have to. + if [ "${REPONUM}" = "0" ]; then + return + fi + + # Figure out which repo is the deepest and use it. + local wonRepo="$(multiCompare "${gitDepth}" "${hgDepth}" "${bzrDepth}" "${svnDepth}")" + if [ "${wonRepo}" = "${gitDepth}" ]; then + gitRepo + elif [ "${wonRepo}" = "${hgDepth}" ]; then + hgRepo + elif [ "${wonRepo}" = "${bzrDepth}" ]; then + bzrRepo + elif [ "${wonRepo}" = "${svnDepth}" ]; then + svnRepo + fi +} + + + +# Detect which repos we are in and gather data. +# shellcheck source=/dev/null +if [ -f "${CACHEFILE}" ] && [ "${CACHEFORCE}" = "1" ]; then + # When requested only read from the cache to populate our symbols. + . "${CACHEFILE}" +else + # If a value is not set through the environment set VCS_EXTRA to nothing. + : "${VCS_EXTRA:=""}" + repoTest + + if [ -f "${CACHEFILE}" ] && [ "${REPONUM}" = "0" ]; then + # We are not in a repo; try to use a previously generated cache to populate our symbols. + . "${CACHEFILE}" + # Do not overwrite the cache if we know we are not going to write anything new. + CACHEFORCE="1" + elif [ "${REPONUM}" = "0" ]; then + echo "error: No repo or cache detected." 1>&2 + exit 1 + fi +fi + + +# -s output is handled here. +if [ ! -z "${VAROUT}" ]; then + if [ "${VAROUT}" = "VCS_TYPE" ]; then + echo "${VCS_TYPE}" + elif [ "${VAROUT}" = "VCS_BASENAME" ]; then + echo "${VCS_BASENAME}" + elif [ "${VAROUT}" = "VCS_NUM" ]; then + echo "${VCS_NUM}" + elif [ "${VAROUT}" = "VCS_DATE" ]; then + echo "${VCS_DATE}" + elif [ "${VAROUT}" = "VCS_BRANCH" ]; then + echo "${VCS_BRANCH}" + elif [ "${VAROUT}" = "VCS_TAG" ]; then + echo "${VCS_TAG}" + elif [ "${VAROUT}" = "VCS_TICK" ]; then + echo "${VCS_TICK}" + elif [ "${VAROUT}" = "VCS_FULL_HASH" ]; then + echo "${VCS_FULL_HASH}" + elif [ "${VAROUT}" = "VCS_SHORT_HASH" ]; then + echo "${VCS_SHORT_HASH}" + elif [ "${VAROUT}" = "VCS_WC_MODIFIED" ]; then + echo "${VCS_WC_MODIFIED}" + elif [ "${VAROUT}" = "VCS_ACTION_STAMP" ]; then + echo "${VCS_ACTION_STAMP}" + else + echo "error: Not a valid output symbol." 1>&2 + exit 1 + fi +fi + + +# Detect requested output type and use it. +if [ ! -z "${AFILETYPE}" ]; then + if [ "${AFILETYPE}" = "c" ]; then + cOutput + elif [ "${AFILETYPE}" = "h" ]; then + hOutput + elif [ "${AFILETYPE}" = "xcode" ]; then + xcodeOutput + elif [ "${AFILETYPE}" = "swift" ]; then + swiftOutput + elif [ "${AFILETYPE}" = "sh" ]; then + shOutput + elif [ "${AFILETYPE}" = "py" ] || [ "${AFILETYPE}" = "python" ]; then + pyOutput + elif [ "${AFILETYPE}" = "pl" ] || [ "${AFILETYPE}" = "perl" ]; then + plOutput + elif [ "${AFILETYPE}" = "lua" ]; then + luaOutput + elif [ "${AFILETYPE}" = "php" ]; then + phpOutput + elif [ "${AFILETYPE}" = "ini" ]; then + iniOutput + elif [ "${AFILETYPE}" = "js" ]; then + jsOutput + elif [ "${AFILETYPE}" = "json" ]; then + jsonOutput + elif [ "${AFILETYPE}" = "java" ]; then + javaOutput + elif [ "${AFILETYPE}" = "javaprop" ]; then + javapropOutput + elif [ "${AFILETYPE}" = "tex" ]; then + texOutput + elif [ "${AFILETYPE}" = "m4" ]; then + m4Output + elif [ "${AFILETYPE}" = "scheme" ]; then + schemeOutput + elif [ "${AFILETYPE}" = "clojure" ]; then + clojureOutput + elif [ "${AFILETYPE}" = "rpm" ]; then + rpmOutput + elif [ "${AFILETYPE}" = "hpp" ]; then + hppOutput + elif [ "${AFILETYPE}" = "matlab" ]; then + matlabOutput + elif [ "${AFILETYPE}" = "octave" ]; then + octaveOutput + elif [ "${AFILETYPE}" = "cmake" ]; then + cmakeOutput + else + echo "error: Not a valid output type." 1>&2 + exit 1 + fi +fi + + +# If requested, make a cache file. +if [ ! -z "${CACHEFILE}" ] && [ ! "${CACHEFORCE}" = "1" ]; then + TARGETFILE="${CACHEFILE}.tmp" + shOutput + + # Check to see if there have been any actual changes. + if [ ! -f "${CACHEFILE}" ]; then + mv -f "${CACHEFILE}.tmp" "${CACHEFILE}" + elif cmp -s "${CACHEFILE}.tmp" "${CACHEFILE}"; then + rm -f "${CACHEFILE}.tmp" + else + mv -f "${CACHEFILE}.tmp" "${CACHEFILE}" + fi +fi diff --git a/cmake-build-debug/changelog.txt b/cmake-build-debug/changelog.txt new file mode 100644 index 0000000..1eb4e2a --- /dev/null +++ b/cmake-build-debug/changelog.txt @@ -0,0 +1,55 @@ +* Mon Sep 28 2020 yangwei yangwei@iie.ac.cn + - hash: 8a631fe724c0d095e6942cd8d24062ef117005a3 + - commit: + - ✨feat: 使用cmake编译,并支æŒè‡ªåŠ¨ç‰ˆæœ¬å· + +* Fri Sep 25 2020 yangwei yangwei@iie.ac.cn + - hash: 6429a20dd485d4a44f2cfa1fb169fb80e35b90f2 + - commit: + - 🎈perf(tcpdump.c): + + - 优化greedy模å¼ï¼Œæ”¾å¼ƒä½¿ç”¨MESA_dump_seek_to_inneræ‹·è´å¹¶æž„造虚拟的MAC头,使用pcap_compile_nopcap构造DLT_RAW类型的bpf,并调用MESA_net_jump_to_layer_greedy找到最内层IP地å€ç›´æŽ¥ä½¿ç”¨cbpfè¿›è¡ŒåŒ¹é… + +* Tue Sep 22 2020 yangwei yangwei@iie.ac.cn + - hash: dd465b375a46ed892a69621fdcdac8657973e5db + - commit: + - 🔧build(configure): configureæ–‡ä»¶å¢žåŠ å¯æ‰§è¡Œæƒé™ + +* Tue Sep 22 2020 yangwei yangwei@iie.ac.cn + - hash: e60f527d0b99c7e2ce840e413a1599e38055a97a + - commit: + - ðŸŽci(gitignore): 增加gitignore文件 + +* Tue Dec 4 2018 æ¨å¨ yangwei@iie.ac.cn + - hash: 5427b568de89bcca1bc5a6dcd2a5cf724704a1c3 + - commit: + - Update tcpdump.c:835 查找到内层为IPv6时头部地å€é”™è¯¯çš„笔误 +* Tue Dec 4 2018 æ¨å¨ yangwei@iie.ac.cn + - hash: 13e7449232df740f18eb58336a29cc3ebd35304d + - commit: + - Update tcpdump.c:830 增加greedyæ•°æ®æ‹·è´è¶Šç•Œæ£€æŸ¥ +* Fri Nov 16 2018 lijia lijia01@iie.ac.cn + - hash: e3fca62644610e1fcaf5c36f411360ca4c868e6b + - commit: + - ä¿®å¤ip分片跳转BUG. + +* Fri Nov 16 2018 lijia lijia01@iie.ac.cn + - hash: e601cdb8cab0aca61280be33381c4fdc793d33cb + - commit: + - 完善过滤最内层数æ®åŒ…处ç†é€»è¾‘. + +* Thu Nov 15 2018 lijia lijia01@iie.ac.cn + - hash: 42956e1602c569841f15f37ea83faf9af3bd1b25 + - commit: + - 增加 -g傿•°, 并通过控制连接传输给sapp. + +* Wed Nov 14 2018 lijia lijia01@iie.ac.cn + - hash: ffef9008ed60102670127ae9ee024cbbd293abff + - commit: + - æ”¯æŒ -g傿•°, å¯ä»¥æŒ‰æœ€å†…层IP,PORT过滤, 支æŒBPF过滤规则. + +* Thu Oct 18 2018 lijia lijia01@iie.ac.cn + - hash: a6a34b3ba4b4f8bcf78456687240cace0641a66b + - commit: + - create project + diff --git a/cmake-build-debug/checksum.o b/cmake-build-debug/checksum.o new file mode 100644 index 0000000..889e96b Binary files /dev/null and b/cmake-build-debug/checksum.o differ diff --git a/cmake-build-debug/cmake_install.cmake b/cmake-build-debug/cmake_install.cmake new file mode 100644 index 0000000..627d4e4 --- /dev/null +++ b/cmake-build-debug/cmake_install.cmake @@ -0,0 +1,53 @@ +# Install script for directory: /home/yangwei/tcpdump_mesa + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/opt/MESA/") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Install shared libraries without execute permission? +if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) + set(CMAKE_INSTALL_SO_NO_EXE "0") +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xEXECUTABLEx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/./bin" TYPE PROGRAM FILES "/home/yangwei/tcpdump_mesa/cmake-build-debug/tcpdump_mesa") +endif() + +if(CMAKE_INSTALL_COMPONENT) + set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") +else() + set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") +endif() + +string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT + "${CMAKE_INSTALL_MANIFEST_FILES}") +file(WRITE "/home/yangwei/tcpdump_mesa/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/cmake-build-debug/config.h b/cmake-build-debug/config.h new file mode 100644 index 0000000..30c8b1d --- /dev/null +++ b/cmake-build-debug/config.h @@ -0,0 +1,395 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.in by autoheader. */ + +/* define if you want to build the possibly-buggy SMB printer */ +#define ENABLE_SMB 1 + +/* Define to 1 if you have the `alarm' function. */ +#define HAVE_ALARM 1 + +/* Define to 1 if you have the `bpf_dump' function. */ +#define HAVE_BPF_DUMP 1 + +/* capsicum support available */ +/* #undef HAVE_CAPSICUM */ + +/* Define to 1 if you have the `cap_enter' function. */ +/* #undef HAVE_CAP_ENTER */ + +/* Define to 1 if you have the `cap_ioctls_limit' function. */ +/* #undef HAVE_CAP_IOCTLS_LIMIT */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_CAP_NG_H */ + +/* Define to 1 if you have the `cap_rights_limit' function. */ +/* #undef HAVE_CAP_RIGHTS_LIMIT */ + +/* Define to 1 if you have the declaration of `ether_ntohost', and to 0 if you + don't. */ +#define HAVE_DECL_ETHER_NTOHOST 1 + +/* define if you have the dnet_htoa function */ +/* #undef HAVE_DNET_HTOA */ + +/* Define to 1 if you have the `ether_ntohost' function. */ +#define HAVE_ETHER_NTOHOST 1 + +/* Define to 1 if you have the `EVP_CIPHER_CTX_new' function. */ +#define HAVE_EVP_CIPHER_CTX_NEW 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `fork' function. */ +#define HAVE_FORK 1 + +/* Define to 1 if you have the `getopt_long' function. */ +#define HAVE_GETOPT_LONG 1 + +/* define if you have getrpcbynumber() */ +#define HAVE_GETRPCBYNUMBER 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the `cap-ng' library (-lcap-ng). */ +/* #undef HAVE_LIBCAP_NG */ + +/* Define to 1 if you have the `crypto' library (-lcrypto). */ +#define HAVE_LIBCRYPTO 1 + +/* Define to 1 if you have the `rpc' library (-lrpc). */ +/* #undef HAVE_LIBRPC */ + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETDNET_DNETDB_H */ + +/* define if you have a dnet_htoa declaration in */ +/* #undef HAVE_NETDNET_DNETDB_H_DNET_HTOA */ + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_ETHER_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IF_ETHER_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NET_IF_PFLOG_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NET_PFVAR_H */ + +/* Define to 1 if you have the `openat' function. */ +#define HAVE_OPENAT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_OPENSSL_EVP_H 1 + +/* define if the OS provides AF_INET6 and struct in6_addr */ +#define HAVE_OS_IPV6_SUPPORT 1 + +/* if there's an os_proto.h for this platform, to use additional prototypes */ +/* #undef HAVE_OS_PROTO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_PCAP_BLUETOOTH_H 1 + +/* Define to 1 if you have the `pcap_breakloop' function. */ +#define HAVE_PCAP_BREAKLOOP 1 + +/* Define to 1 if you have the `pcap_create' function. */ +#define HAVE_PCAP_CREATE 1 + +/* define if libpcap has pcap_datalink_name_to_val() */ +#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 + +/* define if libpcap has pcap_datalink_val_to_description() */ +#define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 + +/* define if libpcap has pcap_debug */ +/* #undef HAVE_PCAP_DEBUG */ + +/* Define to 1 if you have the `pcap_dump_flush' function. */ +#define HAVE_PCAP_DUMP_FLUSH 1 + +/* define if libpcap has pcap_dump_ftell() */ +#define HAVE_PCAP_DUMP_FTELL 1 + +/* Define to 1 if you have the `pcap_findalldevs' function. */ +#define HAVE_PCAP_FINDALLDEVS 1 + +/* Define to 1 if you have the `pcap_free_datalinks' function. */ +#define HAVE_PCAP_FREE_DATALINKS 1 + +/* Define to 1 if the system has the type `pcap_if_t'. */ +#define HAVE_PCAP_IF_T 1 + +/* Define to 1 if you have the `pcap_lib_version' function. */ +#define HAVE_PCAP_LIB_VERSION 1 + +/* define if libpcap has pcap_list_datalinks() */ +#define HAVE_PCAP_LIST_DATALINKS 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_PCAP_NFLOG_H 1 + +/* Define to 1 if you have the `pcap_setdirection' function. */ +#define HAVE_PCAP_SETDIRECTION 1 + +/* 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_set_immediate_mode' function. */ +#define HAVE_PCAP_SET_IMMEDIATE_MODE 1 + +/* Define to 1 if you have the `pcap_set_optimizer_debug' function. */ +/* #undef HAVE_PCAP_SET_OPTIMIZER_DEBUG */ + +/* Define to 1 if you have the `pcap_set_parser_debug' function. */ +/* #undef HAVE_PCAP_SET_PARSER_DEBUG */ + +/* 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 `pcap_set_tstamp_type' function. */ +#define HAVE_PCAP_SET_TSTAMP_TYPE 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_PCAP_USB_H 1 + +/* define if libpcap has pcap_version */ +/* #undef HAVE_PCAP_VERSION */ + +/* Define to 1 if you have the `pfopen' function. */ +/* #undef HAVE_PFOPEN */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_RPC_RPCENT_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_RPC_RPC_H 1 + +/* Define to 1 if you have the `setlinebuf' function. */ +#define HAVE_SETLINEBUF 1 + +/* Define to 1 if you have the `sigaction' function. */ +#define HAVE_SIGACTION 1 + +/* Define to 1 if you have the `sigset' function. */ +/* #undef HAVE_SIGSET */ + +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 + +/* if struct sockaddr has the sa_len member */ +/* #undef HAVE_SOCKADDR_SA_LEN */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the `strftime' function. */ +#define HAVE_STRFTIME 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strlcat' function. */ +/* #undef HAVE_STRLCAT */ + +/* Define to 1 if you have the `strlcpy' function. */ +/* #undef HAVE_STRLCPY */ + +/* Define to 1 if you have the `strsep' function. */ +#define HAVE_STRSEP 1 + +/* Define to 1 if the system has the type `struct ether_addr'. */ +/* #undef HAVE_STRUCT_ETHER_ADDR */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if the system has the type `uintptr_t'. */ +#define HAVE_UINTPTR_T 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the `vfork' function. */ +#define HAVE_VFORK 1 + +/* Define to 1 if you have the `vfprintf' function. */ +#define HAVE_VFPRINTF 1 + +/* Define to 1 if you have the `vsnprintf' function. */ +#define HAVE_VSNPRINTF 1 + +/* define if libpcap has yydebug */ +/* #undef HAVE_YYDEBUG */ + +/* define if your compiler has __attribute__ */ +#define HAVE___ATTRIBUTE__ 1 + +/* if unaligned access fails */ +/* #undef LBL_ALIGN */ + +/* Define to 1 if netinet/ether.h declares `ether_ntohost' */ +#define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ + +/* Define to 1 if netinet/if_ether.h declares `ether_ntohost' */ +/* #undef NETINET_IF_ETHER_H_DECLARES_ETHER_NTOHOST */ + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "" + +/* define if the platform doesn't define PRId64 */ +/* #undef PRId64 */ + +/* define if the platform doesn't define PRIo64 */ +/* #undef PRIo64 */ + +/* define if the platform doesn't define PRIx64 */ +/* #undef PRIu64 */ + +/* define if the platform doesn't define PRIu64 */ +/* #undef PRIx64 */ + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* return value of signal handlers */ +#define RETSIGVAL /**/ + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* define if you have ether_ntohost() and it works */ +#define USE_ETHER_NTOHOST 1 + +/* Define if you enable support for libsmi */ +/* #undef USE_LIBSMI */ + +/* define if should chroot when dropping privileges */ +/* #undef WITH_CHROOT */ + +/* define if should drop privileges by default */ +/* #undef WITH_USER */ + +/* get BSD semantics on Irix */ +/* #undef _BSD_SIGNALS */ + +/* define on AIX to get certain functions */ +/* #undef _SUN */ + +/* Define for Solaris 2.5.1 so the uint32_t typedef from , + , or is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT32_T */ + +/* Define for Solaris 2.5.1 so the uint64_t typedef from , + , or is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT64_T */ + +/* Define for Solaris 2.5.1 so the uint8_t typedef from , + , or is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT8_T */ + +/* define if your compiler allows __attribute__((format)) without a warning */ +#define __ATTRIBUTE___FORMAT_OK 1 + +/* define if your compiler allows __attribute__((format)) to be applied to + function pointers */ +#define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 + +/* define if your compiler allows __attribute__((noreturn)) to be applied to + function pointers */ +#define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 + +/* to handle Ultrix compilers that don't support const in prototypes */ +/* #undef const */ + +/* Define as token for inline if inlining supported */ +#define inline inline + +/* Define to the type of a signed integer type of width exactly 16 bits if + such a type exists and the standard includes do not define it. */ +/* #undef int16_t */ + +/* Define to the type of a signed integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +/* #undef int32_t */ + +/* Define to the type of a signed integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +/* #undef int64_t */ + +/* Define to the type of a signed integer type of width exactly 8 bits if such + a type exists and the standard includes do not define it. */ +/* #undef int8_t */ + +/* Define to `uint16_t' if u_int16_t not defined. */ +/* #undef u_int16_t */ + +/* Define to `uint32_t' if u_int32_t not defined. */ +/* #undef u_int32_t */ + +/* Define to `uint64_t' if u_int64_t not defined. */ +/* #undef u_int64_t */ + +/* Define to `uint8_t' if u_int8_t not defined. */ +/* #undef u_int8_t */ + +/* Define to the type of an unsigned integer type of width exactly 16 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint16_t */ + +/* Define to the type of an unsigned integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint32_t */ + +/* Define to the type of an unsigned integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint64_t */ + +/* Define to the type of an unsigned integer type of width exactly 8 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint8_t */ + +/* Define to the type of an unsigned integer type wide enough to hold a + pointer, if such a type exists, and if the system does not define it. */ +/* #undef uintptr_t */ diff --git a/cmake-build-debug/config.log b/cmake-build-debug/config.log new file mode 100644 index 0000000..258de38 --- /dev/null +++ b/cmake-build-debug/config.log @@ -0,0 +1,3998 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by configure, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ ../src/configure + +## --------- ## +## Platform. ## +## --------- ## + +hostname = localhost.localdomain +uname -m = x86_64 +uname -r = 3.10.0-693.el7.x86_64 +uname -s = Linux +uname -v = #1 SMP Tue Aug 22 21:09:27 UTC 2017 + +/usr/bin/uname -p = x86_64 +/bin/uname -X = unknown + +/bin/arch = x86_64 +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +/usr/bin/hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: /home/yangwei/.vscode-server/bin/e5e9e69aed6e1984f7499b7af85b3d05f9a6883a/bin +PATH: /home/yangwei/.vscode-server/bin/e5e9e69aed6e1984f7499b7af85b3d05f9a6883a/bin +PATH: /usr/lib64/qt-3.3/bin +PATH: /opt/mrzcpd/bin +PATH: /usr/local/bin +PATH: /usr/bin +PATH: /usr/local/sbin +PATH: /usr/sbin +PATH: /home/yangwei/.fzf/bin +PATH: /home/yangwei/.local/bin +PATH: /home/yangwei/bin +PATH: /home/yangwei/.local/bin +PATH: /home/yangwei/bin + + +## ----------- ## +## Core tests. ## +## ----------- ## + +configure:2403: checking build system type +configure:2417: result: x86_64-unknown-linux-gnu +configure:2437: checking host system type +configure:2450: result: x86_64-unknown-linux-gnu +configure:2591: checking for gcc +configure:2618: result: /usr/bin/gcc +configure:2847: checking for C compiler version +configure:2856: /usr/bin/gcc --version >&5 +gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) +Copyright (C) 2015 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +configure:2867: $? = 0 +configure:2856: /usr/bin/gcc -v >&5 +Using built-in specs. +COLLECT_GCC=/usr/bin/gcc +COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper +Target: x86_64-redhat-linux +Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux +Thread model: posix +gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) +configure:2867: $? = 0 +configure:2856: /usr/bin/gcc -V >&5 +gcc: error: unrecognized command line option '-V' +gcc: fatal error: no input files +compilation terminated. +configure:2867: $? = 4 +configure:2856: /usr/bin/gcc -qversion >&5 +gcc: error: unrecognized command line option '-qversion' +gcc: fatal error: no input files +compilation terminated. +configure:2867: $? = 4 +configure:2887: checking whether the C compiler works +configure:2909: /usr/bin/gcc conftest.c >&5 +configure:2913: $? = 0 +configure:2961: result: yes +configure:2964: checking for C compiler default output file name +configure:2966: result: a.out +configure:2972: checking for suffix of executables +configure:2979: /usr/bin/gcc -o conftest conftest.c >&5 +configure:2983: $? = 0 +configure:3005: result: +configure:3027: checking whether we are cross compiling +configure:3035: /usr/bin/gcc -o conftest conftest.c >&5 +configure:3039: $? = 0 +configure:3046: ./conftest +configure:3050: $? = 0 +configure:3065: result: no +configure:3070: checking for suffix of object files +configure:3092: /usr/bin/gcc -c conftest.c >&5 +configure:3096: $? = 0 +configure:3117: result: o +configure:3121: checking whether we are using the GNU C compiler +configure:3140: /usr/bin/gcc -c conftest.c >&5 +configure:3140: $? = 0 +configure:3149: result: yes +configure:3158: checking whether /usr/bin/gcc accepts -g +configure:3178: /usr/bin/gcc -c -g conftest.c >&5 +configure:3178: $? = 0 +configure:3219: result: yes +configure:3236: checking for /usr/bin/gcc option to accept ISO C89 +configure:3299: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:3299: $? = 0 +configure:3312: result: none needed +configure:3350: checking whether the compiler supports the -ffloat-store option +configure:3376: /usr/bin/gcc -c -g -O2 -Werror -ffloat-store conftest.c >&5 +configure:3376: $? = 0 +configure:3378: result: yes +configure:3518: checking for inline +configure:3554: /usr/bin/gcc -c -ffloat-store conftest.c >&5 +configure:3554: $? = 0 +configure:3569: result: inline +configure:3581: checking for __attribute__ +configure:3608: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:3608: $? = 0 +configure:3627: result: yes +configure:3632: checking whether __attribute__((unused)) can be used without warnings +configure:3655: /usr/bin/gcc -c -g -O2 -Werror conftest.c >&5 +configure:3655: $? = 0 +configure:3669: result: yes +configure:3673: checking whether __attribute__((noreturn)) can be applied to function pointers without warnings +configure:3697: /usr/bin/gcc -c -g -O2 -Werror conftest.c >&5 +configure:3697: $? = 0 +configure:3711: result: yes +configure:3715: checking whether __attribute__((format)) can be used without warnings +configure:3739: /usr/bin/gcc -c -g -O2 -Werror conftest.c >&5 +configure:3739: $? = 0 +configure:3753: result: yes +configure:3758: checking whether __attribute__((format)) can be applied to function pointers +configure:3780: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:3780: $? = 0 +configure:3793: result: yes +configure:3804: checking how to run the C preprocessor +configure:3835: /usr/bin/gcc -E conftest.c +configure:3835: $? = 0 +configure:3849: /usr/bin/gcc -E conftest.c +conftest.c:14:28: fatal error: ac_nonexistent.h: No such file or directory + #include + ^ +compilation terminated. +configure:3849: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| /* end confdefs.h. */ +| #include +configure:3874: result: /usr/bin/gcc -E +configure:3894: /usr/bin/gcc -E conftest.c +configure:3894: $? = 0 +configure:3908: /usr/bin/gcc -E conftest.c +conftest.c:14:28: fatal error: ac_nonexistent.h: No such file or directory + #include + ^ +compilation terminated. +configure:3908: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| /* end confdefs.h. */ +| #include +configure:3937: checking for grep that handles long lines and -e +configure:3995: result: /usr/bin/grep +configure:4000: checking for egrep +configure:4062: result: /usr/bin/grep -E +configure:4067: checking for ANSI C header files +configure:4087: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4087: $? = 0 +configure:4160: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:4160: $? = 0 +configure:4160: ./conftest +configure:4160: $? = 0 +configure:4171: result: yes +configure:4184: checking for sys/types.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4184: checking for sys/stat.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4184: checking for stdlib.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4184: checking for string.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4184: checking for memory.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4184: checking for strings.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4184: checking for inttypes.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4184: checking for stdint.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4184: checking for unistd.h +configure:4184: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4184: $? = 0 +configure:4184: result: yes +configure:4199: checking fcntl.h usability +configure:4199: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4199: $? = 0 +configure:4199: result: yes +configure:4199: checking fcntl.h presence +configure:4199: /usr/bin/gcc -E conftest.c +configure:4199: $? = 0 +configure:4199: result: yes +configure:4199: checking for fcntl.h +configure:4199: result: yes +configure:4199: checking rpc/rpc.h usability +configure:4199: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4199: $? = 0 +configure:4199: result: yes +configure:4199: checking rpc/rpc.h presence +configure:4199: /usr/bin/gcc -E conftest.c +configure:4199: $? = 0 +configure:4199: result: yes +configure:4199: checking for rpc/rpc.h +configure:4199: result: yes +configure:4199: checking rpc/rpcent.h usability +configure:4199: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c:59:24: fatal error: rpc/rpcent.h: No such file or directory + #include + ^ +compilation terminated. +configure:4199: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:4199: result: no +configure:4199: checking rpc/rpcent.h presence +configure:4199: /usr/bin/gcc -E conftest.c +conftest.c:26:24: fatal error: rpc/rpcent.h: No such file or directory + #include + ^ +compilation terminated. +configure:4199: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| /* end confdefs.h. */ +| #include +configure:4199: result: no +configure:4199: checking for rpc/rpcent.h +configure:4199: result: no +configure:4199: checking netdnet/dnetdb.h usability +configure:4199: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c:59:28: fatal error: netdnet/dnetdb.h: No such file or directory + #include + ^ +compilation terminated. +configure:4199: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:4199: result: no +configure:4199: checking netdnet/dnetdb.h presence +configure:4199: /usr/bin/gcc -E conftest.c +conftest.c:26:28: fatal error: netdnet/dnetdb.h: No such file or directory + #include + ^ +compilation terminated. +configure:4199: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| /* end confdefs.h. */ +| #include +configure:4199: result: no +configure:4199: checking for netdnet/dnetdb.h +configure:4199: result: no +configure:4211: checking for net/pfvar.h +configure:4211: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c:30:23: fatal error: net/pfvar.h: No such file or directory + #include + ^ +compilation terminated. +configure:4211: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| /* end confdefs.h. */ +| #include +| #include +| #include +| +| #include +configure:4211: result: no +configure:4247: checking for netinet/if_ether.h +configure:4247: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4247: $? = 0 +configure:4247: result: yes +configure:4290: checking whether time.h and sys/time.h may both be included +configure:4310: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:4310: $? = 0 +configure:4317: result: yes +configure:4370: checking smi.h usability +configure:4370: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c:61:17: fatal error: smi.h: No such file or directory + #include + ^ +compilation terminated. +configure:4370: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:4370: result: no +configure:4370: checking smi.h presence +configure:4370: /usr/bin/gcc -E conftest.c +conftest.c:28:17: fatal error: smi.h: No such file or directory + #include + ^ +compilation terminated. +configure:4370: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| /* end confdefs.h. */ +| #include +configure:4370: result: no +configure:4370: checking for smi.h +configure:4370: result: no +configure:4489: checking whether to enable the possibly-buggy SMB printer +configure:4499: result: yes +configure:4501: WARNING: The SMB printer may have exploitable buffer overflows!!! +configure:4519: checking whether to drop root privileges by default +configure:4530: result: no +configure:4540: checking whether to chroot +configure:4551: result: no +configure:4580: checking for cap_enter +configure:4580: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccnD3Pkk.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:63: undefined reference to `cap_enter' +collect2: error: ld returned 1 exit status +configure:4580: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| /* end confdefs.h. */ +| /* Define cap_enter to an innocuous variant, in case declares cap_enter. +| For example, HP-UX 11i declares gettimeofday. */ +| #define cap_enter innocuous_cap_enter +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char cap_enter (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef cap_enter +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char cap_enter (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_cap_enter || defined __stub___cap_enter +| choke me +| #endif +| +| int +| main () +| { +| return cap_enter (); +| ; +| return 0; +| } +configure:4580: result: no +configure:4580: checking for cap_rights_limit +configure:4580: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccLJmBhl.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:63: undefined reference to `cap_rights_limit' +collect2: error: ld returned 1 exit status +configure:4580: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| /* end confdefs.h. */ +| /* Define cap_rights_limit to an innocuous variant, in case declares cap_rights_limit. +| For example, HP-UX 11i declares gettimeofday. */ +| #define cap_rights_limit innocuous_cap_rights_limit +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char cap_rights_limit (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef cap_rights_limit +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char cap_rights_limit (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_cap_rights_limit || defined __stub___cap_rights_limit +| choke me +| #endif +| +| int +| main () +| { +| return cap_rights_limit (); +| ; +| return 0; +| } +configure:4580: result: no +configure:4580: checking for cap_ioctls_limit +configure:4580: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccFsQqyo.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:63: undefined reference to `cap_ioctls_limit' +collect2: error: ld returned 1 exit status +configure:4580: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| /* end confdefs.h. */ +| /* Define cap_ioctls_limit to an innocuous variant, in case declares cap_ioctls_limit. +| For example, HP-UX 11i declares gettimeofday. */ +| #define cap_ioctls_limit innocuous_cap_ioctls_limit +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char cap_ioctls_limit (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef cap_ioctls_limit +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char cap_ioctls_limit (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_cap_ioctls_limit || defined __stub___cap_ioctls_limit +| choke me +| #endif +| +| int +| main () +| { +| return cap_ioctls_limit (); +| ; +| return 0; +| } +configure:4580: result: no +configure:4580: checking for openat +configure:4580: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:4580: $? = 0 +configure:4580: result: yes +configure:4592: checking whether to sandbox using capsicum +configure:4601: result: no +configure:4615: checking for library containing gethostbyname +configure:4646: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:4646: $? = 0 +configure:4663: result: none required +configure:4716: checking for library containing socket +configure:4747: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:4747: $? = 0 +configure:4764: result: none required +configure:4814: checking for library containing putmsg +configure:4845: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cczWLhvy.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:41: warning: warning: putmsg is not implemented and will always fail +configure:4845: $? = 0 +configure:4862: result: none required +configure:4878: checking whether the operating system supports IPv6 +configure:4900: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'foo': +conftest.c:40:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] + memset(addr, 0, sizeof (struct in6_addr)); + ^ +configure:4900: $? = 0 +configure:4902: result: yes +configure:4924: checking ipv6 stack type +configure:5042: result: linux-glibc +configure:5062: checking for dnet_htoa declaration in netdnet/dnetdb.h +conftest.c:31:28: fatal error: netdnet/dnetdb.h: No such file or directory + #include + ^ +compilation terminated. +configure:5081: result: no +configure:5089: checking for vfprintf +configure:5089: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +conftest.c:54:6: warning: conflicting types for built-in function 'vfprintf' [enabled by default] + char vfprintf (); + ^ +configure:5089: $? = 0 +configure:5089: result: yes +configure:5102: checking for strlcat +configure:5102: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccBdxVpJ.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:66: undefined reference to `strlcat' +collect2: error: ld returned 1 exit status +configure:5102: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| /* end confdefs.h. */ +| /* Define strlcat to an innocuous variant, in case declares strlcat. +| For example, HP-UX 11i declares gettimeofday. */ +| #define strlcat innocuous_strlcat +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char strlcat (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef strlcat +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char strlcat (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_strlcat || defined __stub___strlcat +| choke me +| #endif +| +| int +| main () +| { +| return strlcat (); +| ; +| return 0; +| } +configure:5102: result: no +configure:5115: checking for strlcpy +configure:5115: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccvcmjDK.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:66: undefined reference to `strlcpy' +collect2: error: ld returned 1 exit status +configure:5115: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| /* end confdefs.h. */ +| /* Define strlcpy to an innocuous variant, in case declares strlcpy. +| For example, HP-UX 11i declares gettimeofday. */ +| #define strlcpy innocuous_strlcpy +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char strlcpy (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef strlcpy +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char strlcpy (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_strlcpy || defined __stub___strlcpy +| choke me +| #endif +| +| int +| main () +| { +| return strlcpy (); +| ; +| return 0; +| } +configure:5115: result: no +configure:5128: checking for strdup +configure:5128: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +conftest.c:55:6: warning: conflicting types for built-in function 'strdup' [enabled by default] + char strdup (); + ^ +configure:5128: $? = 0 +configure:5128: result: yes +configure:5141: checking for strsep +configure:5141: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:5141: $? = 0 +configure:5141: result: yes +configure:5154: checking for getopt_long +configure:5154: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:5154: $? = 0 +configure:5154: result: yes +configure:5171: checking for fork +configure:5171: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +conftest.c:58:6: warning: conflicting types for built-in function 'fork' [enabled by default] + char fork (); + ^ +configure:5171: $? = 0 +configure:5171: result: yes +configure:5171: checking for vfork +configure:5171: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:5171: $? = 0 +configure:5171: result: yes +configure:5171: checking for strftime +configure:5171: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +conftest.c:60:6: warning: conflicting types for built-in function 'strftime' [enabled by default] + char strftime (); + ^ +configure:5171: $? = 0 +configure:5171: result: yes +configure:5183: checking for setlinebuf +configure:5183: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:5183: $? = 0 +configure:5183: result: yes +configure:5183: checking for alarm +configure:5183: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:5183: $? = 0 +configure:5183: result: yes +configure:5197: checking for vsnprintf +configure:5197: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +conftest.c:63:6: warning: conflicting types for built-in function 'vsnprintf' [enabled by default] + char vsnprintf (); + ^ +configure:5197: $? = 0 +configure:5197: result: yes +configure:5197: checking for snprintf +configure:5197: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +conftest.c:64:6: warning: conflicting types for built-in function 'snprintf' [enabled by default] + char snprintf (); + ^ +configure:5197: $? = 0 +configure:5197: result: yes +configure:5218: checking return type of signal handlers +configure:5236: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:48:1: error: void value not ignored as it ought to be + return *(signal (0, 0)) (0) == 1; + ^ +configure:5236: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| /* end confdefs.h. */ +| #include +| #include +| +| int +| main () +| { +| return *(signal (0, 0)) (0) == 1; +| ; +| return 0; +| } +configure:5243: result: void +configure:5271: checking for sigaction +configure:5271: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:5271: $? = 0 +configure:5271: result: yes +configure:5296: checking for library containing dnet_htoa +configure:5327: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccq66Bo9.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:56: undefined reference to `dnet_htoa' +collect2: error: ld returned 1 exit status +configure:5327: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| /* end confdefs.h. */ +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char dnet_htoa (); +| int +| main () +| { +| return dnet_htoa (); +| ; +| return 0; +| } +configure:5327: /usr/bin/gcc -o conftest -g -O2 conftest.c -ldnet >&5 +/usr/bin/ld: cannot find -ldnet +collect2: error: ld returned 1 exit status +configure:5327: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| /* end confdefs.h. */ +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char dnet_htoa (); +| int +| main () +| { +| return dnet_htoa (); +| ; +| return 0; +| } +configure:5344: result: no +configure:5355: checking for main in -lrpc +configure:5374: /usr/bin/gcc -o conftest -g -O2 conftest.c -lrpc >&5 +/usr/bin/ld: cannot find -lrpc +collect2: error: ld returned 1 exit status +configure:5374: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| /* end confdefs.h. */ +| +| +| int +| main () +| { +| return main (); +| ; +| return 0; +| } +configure:5383: result: no +configure:5394: checking for library containing getrpcbynumber +configure:5425: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5 +configure:5425: $? = 0 +configure:5442: result: none required +configure:5476: checking for local pcap library +configure:5504: result: not found +configure:5556: checking for pcap-config +configure:5574: found /usr/local/bin/pcap-config +configure:5586: result: /usr/local/bin/pcap-config +configure:5801: checking for pcap_loop +configure:5801: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:5801: $? = 0 +configure:5801: result: yes +configure:5836: checking for ether_ntohost +configure:5836: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:5836: $? = 0 +configure:5836: result: yes +configure:5842: checking for buggy ether_ntohost +configure:5870: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +conftest.c: In function 'main': +conftest.c:60:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] + exit(0); + ^ +configure:5870: $? = 0 +configure:5870: ./conftest +configure:5870: $? = 0 +configure:5880: result: no +configure:5900: checking whether ether_ntohost is declared +configure:5900: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:66:10: error: 'ether_ntohost' undeclared (first use in this function) + (void) ether_ntohost; + ^ +conftest.c:66:10: note: each undeclared identifier is reported only once for each function it appears in +configure:5900: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| /* end confdefs.h. */ +| +| #include +| #include +| #include +| #include +| struct mbuf; +| struct rtentry; +| #include +| #include +| +| +| int +| main () +| { +| #ifndef ether_ntohost +| #ifdef __cplusplus +| (void) ether_ntohost; +| #else +| (void) ether_ntohost; +| #endif +| #endif +| +| ; +| return 0; +| } +configure:5900: result: no +configure:5929: checking netinet/ether.h usability +configure:5929: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:5929: $? = 0 +configure:5929: result: yes +configure:5929: checking netinet/ether.h presence +configure:5929: /usr/bin/gcc -E conftest.c +configure:5929: $? = 0 +configure:5929: result: yes +configure:5929: checking for netinet/ether.h +configure:5929: result: yes +configure:5947: checking whether ether_ntohost is declared +configure:5947: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:5947: $? = 0 +configure:5947: result: yes +configure:6000: checking for dlpi_walk in -ldlpi +configure:6025: /usr/bin/gcc -o conftest -g -O2 conftest.c -ldlpi -L/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +/usr/bin/ld: cannot find -ldlpi +collect2: error: ld returned 1 exit status +configure:6025: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| /* end confdefs.h. */ +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char dlpi_walk (); +| int +| main () +| { +| return dlpi_walk (); +| ; +| return 0; +| } +configure:6034: result: no +configure:6041: checking for pcap_list_datalinks +configure:6041: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6041: $? = 0 +configure:6041: result: yes +configure:6049: checking for pcap_free_datalinks +configure:6049: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6049: $? = 0 +configure:6049: result: yes +configure:6072: checking for pcap_set_datalink +configure:6072: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6072: $? = 0 +configure:6072: result: yes +configure:6081: checking for pcap_datalink_name_to_val +configure:6081: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6081: $? = 0 +configure:6081: result: yes +configure:6087: checking for pcap_datalink_val_to_description +configure:6087: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6087: $? = 0 +configure:6087: result: yes +configure:6118: checking for pcap_breakloop +configure:6118: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6118: $? = 0 +configure:6118: result: yes +configure:6128: checking for pcap_dump_ftell +configure:6128: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6128: $? = 0 +configure:6128: result: yes +configure:6152: checking for pcap_create +configure:6152: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6152: $? = 0 +configure:6152: result: yes +configure:6168: checking for pcap_set_tstamp_type +configure:6168: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6168: $? = 0 +configure:6168: result: yes +configure:6183: checking for pcap_set_tstamp_precision +configure:6183: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6183: $? = 0 +configure:6183: result: yes +configure:6201: checking for pcap_findalldevs +configure:6201: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6201: $? = 0 +configure:6201: result: yes +configure:6201: checking for pcap_dump_flush +configure:6201: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6201: $? = 0 +configure:6201: result: yes +configure:6201: checking for pcap_lib_version +configure:6201: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6201: $? = 0 +configure:6201: result: yes +configure:6201: checking for pcap_setdirection +configure:6201: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6201: $? = 0 +configure:6201: result: yes +configure:6201: checking for pcap_set_immediate_mode +configure:6201: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6201: $? = 0 +configure:6201: result: yes +configure:6213: checking for pcap_if_t +configure:6213: /usr/bin/gcc -c -g -O2 -I/usr/local/include -I../src conftest.c >&5 +configure:6213: $? = 0 +configure:6213: /usr/bin/gcc -c -g -O2 -I/usr/local/include -I../src conftest.c >&5 +conftest.c: In function 'main': +conftest.c:71:24: error: expected expression before ')' token + if (sizeof ((pcap_if_t))) + ^ +configure:6213: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| /* end confdefs.h. */ +| #include +| +| int +| main () +| { +| if (sizeof ((pcap_if_t))) +| return 0; +| ; +| return 0; +| } +configure:6213: result: yes +configure:6269: checking for pcap_set_parser_debug +configure:6269: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +/tmp/cc9tyGwc.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:101: undefined reference to `pcap_set_parser_debug' +collect2: error: ld returned 1 exit status +configure:6269: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| /* end confdefs.h. */ +| /* Define pcap_set_parser_debug to an innocuous variant, in case declares pcap_set_parser_debug. +| For example, HP-UX 11i declares gettimeofday. */ +| #define pcap_set_parser_debug innocuous_pcap_set_parser_debug +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char pcap_set_parser_debug (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef pcap_set_parser_debug +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char pcap_set_parser_debug (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_pcap_set_parser_debug || defined __stub___pcap_set_parser_debug +| choke me +| #endif +| +| int +| main () +| { +| return pcap_set_parser_debug (); +| ; +| return 0; +| } +configure:6269: result: no +configure:6283: checking whether pcap_debug is defined by libpcap +configure:6300: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +/tmp/cc1p0PRe.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:78: undefined reference to `pcap_debug' +collect2: error: ld returned 1 exit status +configure:6300: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| /* end confdefs.h. */ +| +| int +| main () +| { +| +| extern int pcap_debug; +| +| return pcap_debug; +| +| ; +| return 0; +| } +configure:6314: result: no +configure:6319: checking whether yydebug is defined by libpcap +configure:6336: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +/tmp/ccJHfWhh.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:78: undefined reference to `yydebug' +collect2: error: ld returned 1 exit status +configure:6336: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| /* end confdefs.h. */ +| +| int +| main () +| { +| +| extern int yydebug; +| +| return yydebug; +| +| ; +| return 0; +| } +configure:6350: result: no +configure:6357: checking for pcap_set_optimizer_debug +configure:6357: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +/tmp/ccd4hPKj.o: In function `main': +/home/yangwei/tcpdump_mesa/cmake-build-debug/conftest.c:101: undefined reference to `pcap_set_optimizer_debug' +collect2: error: ld returned 1 exit status +configure:6357: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| /* end confdefs.h. */ +| /* Define pcap_set_optimizer_debug to an innocuous variant, in case declares pcap_set_optimizer_debug. +| For example, HP-UX 11i declares gettimeofday. */ +| #define pcap_set_optimizer_debug innocuous_pcap_set_optimizer_debug +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char pcap_set_optimizer_debug (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef pcap_set_optimizer_debug +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char pcap_set_optimizer_debug (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_pcap_set_optimizer_debug || defined __stub___pcap_set_optimizer_debug +| choke me +| #endif +| +| int +| main () +| { +| return pcap_set_optimizer_debug (); +| ; +| return 0; +| } +configure:6357: result: no +configure:6366: checking for bpf_dump +configure:6366: /usr/bin/gcc -o conftest -g -O2 conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:6366: $? = 0 +configure:6366: result: yes +configure:6445: checking for int8_t +configure:6445: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6445: $? = 0 +configure:6445: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:105:12: error: size of array 'test_array' is negative + static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) + ^ +configure:6445: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 8 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) +| < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))]; +| test_array [0] = 0; +| return test_array [0]; +| +| ; +| return 0; +| } +configure:6445: result: yes +configure:6456: checking for int16_t +configure:6456: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6456: $? = 0 +configure:6456: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:105:12: error: size of array 'test_array' is negative + static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) + ^ +configure:6456: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 16 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) +| < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))]; +| test_array [0] = 0; +| return test_array [0]; +| +| ; +| return 0; +| } +configure:6456: result: yes +configure:6467: checking for int32_t +configure:6467: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6467: $? = 0 +configure:6467: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:106:53: warning: integer overflow in expression [-Woverflow] + < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; + ^ +conftest.c:105:12: error: storage size of 'test_array' isn't constant + static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) + ^ +configure:6467: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 32 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) +| < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; +| test_array [0] = 0; +| return test_array [0]; +| +| ; +| return 0; +| } +configure:6467: result: yes +configure:6478: checking for int64_t +configure:6478: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6478: $? = 0 +configure:6478: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:106:53: warning: integer overflow in expression [-Woverflow] + < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; + ^ +conftest.c:105:12: error: storage size of 'test_array' isn't constant + static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) + ^ +configure:6478: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 64 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) +| < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; +| test_array [0] = 0; +| return test_array [0]; +| +| ; +| return 0; +| } +configure:6478: result: yes +configure:6489: checking for uint8_t +configure:6489: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6489: $? = 0 +configure:6489: result: yes +configure:6503: checking for uint16_t +configure:6503: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6503: $? = 0 +configure:6503: result: yes +configure:6515: checking for uint32_t +configure:6515: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6515: $? = 0 +configure:6515: result: yes +configure:6529: checking for uint64_t +configure:6529: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6529: $? = 0 +configure:6529: result: yes +configure:6549: checking for uintptr_t +configure:6549: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6549: $? = 0 +configure:6549: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:104:24: error: expected expression before ')' token + if (sizeof ((uintptr_t))) + ^ +configure:6549: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if (sizeof ((uintptr_t))) +| return 0; +| ; +| return 0; +| } +configure:6549: result: yes +configure:6590: checking for u_int8_t +configure:6590: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6590: $? = 0 +configure:6590: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:108:23: error: expected expression before ')' token + if (sizeof ((u_int8_t))) + ^ +configure:6590: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| #define HAVE_UINTPTR_T 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +| +| +| int +| main () +| { +| if (sizeof ((u_int8_t))) +| return 0; +| ; +| return 0; +| } +configure:6590: result: yes +configure:6602: checking for u_int16_t +configure:6602: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6602: $? = 0 +configure:6602: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:108:24: error: expected expression before ')' token + if (sizeof ((u_int16_t))) + ^ +configure:6602: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| #define HAVE_UINTPTR_T 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +| +| +| int +| main () +| { +| if (sizeof ((u_int16_t))) +| return 0; +| ; +| return 0; +| } +configure:6602: result: yes +configure:6614: checking for u_int32_t +configure:6614: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6614: $? = 0 +configure:6614: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:108:24: error: expected expression before ')' token + if (sizeof ((u_int32_t))) + ^ +configure:6614: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| #define HAVE_UINTPTR_T 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +| +| +| int +| main () +| { +| if (sizeof ((u_int32_t))) +| return 0; +| ; +| return 0; +| } +configure:6614: result: yes +configure:6626: checking for u_int64_t +configure:6626: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6626: $? = 0 +configure:6626: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:108:24: error: expected expression before ')' token + if (sizeof ((u_int64_t))) + ^ +configure:6626: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| #define HAVE_UINTPTR_T 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +| +| +| int +| main () +| { +| if (sizeof ((u_int64_t))) +| return 0; +| ; +| return 0; +| } +configure:6626: result: yes +configure:6644: checking for inttypes.h +configure:6644: result: yes +configure:6654: checking whether inttypes.h defines the PRI[doxu]64 macros +configure:6674: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:6674: $? = 0 +configure:6676: result: yes +configure:6964: checking for pcap/bluetooth.h +configure:6964: /usr/bin/gcc -c -g -O2 -I/usr/local/include -I../src conftest.c >&5 +configure:6964: $? = 0 +configure:6964: result: yes +configure:6977: checking for pcap/nflog.h +configure:6977: /usr/bin/gcc -c -g -O2 -I/usr/local/include -I../src conftest.c >&5 +configure:6977: $? = 0 +configure:6977: result: yes +configure:6990: checking for pcap/usb.h +configure:6990: /usr/bin/gcc -c -g -O2 -I/usr/local/include -I../src conftest.c >&5 +configure:6990: $? = 0 +configure:6990: result: yes +configure:7046: checking for ranlib +configure:7062: found /usr/bin/ranlib +configure:7073: result: ranlib +configure:7138: checking for ar +configure:7154: found /usr/bin/ar +configure:7165: result: ar +configure:7827: checking if sockaddr struct has the sa_len member +configure:7845: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:79:40: error: 'struct sockaddr' has no member named 'sa_len' + u_int i = sizeof(((struct sockaddr *)0)->sa_len) + ^ +configure:7845: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| #define HAVE_UINTPTR_T 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_PCAP_BLUETOOTH_H 1 +| #define HAVE_PCAP_NFLOG_H 1 +| #define HAVE_PCAP_USB_H 1 +| /* end confdefs.h. */ +| +| # include +| # include +| int +| main () +| { +| u_int i = sizeof(((struct sockaddr *)0)->sa_len) +| ; +| return 0; +| } +configure:7853: result: no +configure:7861: checking if unaligned accesses fail +configure:7948: result: no +configure:7957: checking whether to use OpenSSL/libressl libcrypto +configure:8001: result: yes, if available +configure:8016: checking openssl/crypto.h usability +configure:8016: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:8016: $? = 0 +configure:8016: result: yes +configure:8016: checking openssl/crypto.h presence +configure:8016: /usr/bin/gcc -E conftest.c +configure:8016: $? = 0 +configure:8016: result: yes +configure:8016: checking for openssl/crypto.h +configure:8016: result: yes +configure:8019: checking for DES_cbc_encrypt in -lcrypto +configure:8044: /usr/bin/gcc -o conftest -g -O2 conftest.c -lcrypto -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:8044: $? = 0 +configure:8053: result: yes +configure:8067: checking openssl/evp.h usability +configure:8067: /usr/bin/gcc -c -g -O2 conftest.c >&5 +configure:8067: $? = 0 +configure:8067: result: yes +configure:8067: checking openssl/evp.h presence +configure:8067: /usr/bin/gcc -E conftest.c +configure:8067: $? = 0 +configure:8067: result: yes +configure:8067: checking for openssl/evp.h +configure:8067: result: yes +configure:8085: checking for EVP_CIPHER_CTX_new +configure:8085: /usr/bin/gcc -o conftest -g -O2 conftest.c -lcrypto -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +configure:8085: $? = 0 +configure:8085: result: yes +configure:8102: checking whether to use libcap-ng +configure:8128: result: yes, if available +configure:8134: checking for capng_change_id in -lcap-ng +configure:8159: /usr/bin/gcc -o conftest -g -O2 conftest.c -lcap-ng -lcrypto -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap >&5 +/usr/bin/ld: cannot find -lcap-ng +collect2: error: ld returned 1 exit status +configure:8159: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| #define HAVE_UINTPTR_T 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_PCAP_BLUETOOTH_H 1 +| #define HAVE_PCAP_NFLOG_H 1 +| #define HAVE_PCAP_USB_H 1 +| #define HAVE_LIBCRYPTO 1 +| #define HAVE_OPENSSL_EVP_H 1 +| #define HAVE_EVP_CIPHER_CTX_NEW 1 +| /* end confdefs.h. */ +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char capng_change_id (); +| int +| main () +| { +| return capng_change_id (); +| ; +| return 0; +| } +configure:8168: result: no +configure:8181: checking cap-ng.h usability +configure:8181: /usr/bin/gcc -c -g -O2 conftest.c >&5 +conftest.c:109:20: fatal error: cap-ng.h: No such file or directory + #include + ^ +compilation terminated. +configure:8181: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| #define HAVE_UINTPTR_T 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_PCAP_BLUETOOTH_H 1 +| #define HAVE_PCAP_NFLOG_H 1 +| #define HAVE_PCAP_USB_H 1 +| #define HAVE_LIBCRYPTO 1 +| #define HAVE_OPENSSL_EVP_H 1 +| #define HAVE_EVP_CIPHER_CTX_NEW 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:8181: result: no +configure:8181: checking cap-ng.h presence +configure:8181: /usr/bin/gcc -E conftest.c +conftest.c:76:20: fatal error: cap-ng.h: No such file or directory + #include + ^ +compilation terminated. +configure:8181: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define inline inline +| #define HAVE___ATTRIBUTE__ 1 +| #define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +| #define __ATTRIBUTE___FORMAT_OK 1 +| #define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_RPC_RPC_H 1 +| #define HAVE_NETINET_IF_ETHER_H 1 +| #define TIME_WITH_SYS_TIME 1 +| #define ENABLE_SMB 1 +| #define HAVE_OPENAT 1 +| #define HAVE_OS_IPV6_SUPPORT 1 +| #define HAVE_VFPRINTF 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRSEP 1 +| #define HAVE_GETOPT_LONG 1 +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_SETLINEBUF 1 +| #define HAVE_ALARM 1 +| #define HAVE_VSNPRINTF 1 +| #define HAVE_SNPRINTF 1 +| #define RETSIGTYPE void +| #define RETSIGVAL /**/ +| #define HAVE_SIGACTION 1 +| #define HAVE_GETRPCBYNUMBER 1 +| #define HAVE_ETHER_NTOHOST 1 +| #define USE_ETHER_NTOHOST 1 +| #define HAVE_NETINET_ETHER_H 1 +| #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +| #define HAVE_DECL_ETHER_NTOHOST 1 +| #define HAVE_PCAP_LIST_DATALINKS 1 +| #define HAVE_PCAP_FREE_DATALINKS 1 +| #define HAVE_PCAP_SET_DATALINK 1 +| #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +| #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +| #define HAVE_PCAP_BREAKLOOP 1 +| #define HAVE_PCAP_DUMP_FTELL 1 +| #define HAVE_PCAP_CREATE 1 +| #define HAVE_PCAP_SET_TSTAMP_TYPE 1 +| #define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +| #define HAVE_PCAP_FINDALLDEVS 1 +| #define HAVE_PCAP_DUMP_FLUSH 1 +| #define HAVE_PCAP_LIB_VERSION 1 +| #define HAVE_PCAP_SETDIRECTION 1 +| #define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +| #define HAVE_PCAP_IF_T 1 +| #define HAVE_BPF_DUMP 1 +| #define HAVE_UINTPTR_T 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_PCAP_BLUETOOTH_H 1 +| #define HAVE_PCAP_NFLOG_H 1 +| #define HAVE_PCAP_USB_H 1 +| #define HAVE_LIBCRYPTO 1 +| #define HAVE_OPENSSL_EVP_H 1 +| #define HAVE_EVP_CIPHER_CTX_NEW 1 +| /* end confdefs.h. */ +| #include +configure:8181: result: no +configure:8181: checking for cap-ng.h +configure:8181: result: no +configure:8221: checking for a BSD-compatible install +configure:8289: result: /usr/bin/install -c +configure:8422: creating ./config.status + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by config.status, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status + +on localhost.localdomain + +config.status:892: creating Makefile +config.status:892: creating tcpdump.1 +config.status:892: creating config.h +config.status:1066: executing default-1 commands + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv___attribute__=yes +ac_cv___attribute___format=yes +ac_cv___attribute___format_function_pointer=yes +ac_cv___attribute___noreturn_function_pointer=yes +ac_cv___attribute___unused=yes +ac_cv_buggy_ether_ntohost=no +ac_cv_build=x86_64-unknown-linux-gnu +ac_cv_c_compiler_gnu=yes +ac_cv_c_int16_t=yes +ac_cv_c_int32_t=yes +ac_cv_c_int64_t=yes +ac_cv_c_int8_t=yes +ac_cv_c_uint16_t=yes +ac_cv_c_uint32_t=yes +ac_cv_c_uint64_t=yes +ac_cv_c_uint8_t=yes +ac_cv_env_CC_set=set +ac_cv_env_CC_value=/usr/bin/gcc +ac_cv_env_CFLAGS_set= +ac_cv_env_CFLAGS_value= +ac_cv_env_CPPFLAGS_set= +ac_cv_env_CPPFLAGS_value= +ac_cv_env_CPP_set= +ac_cv_env_CPP_value= +ac_cv_env_LDFLAGS_set= +ac_cv_env_LDFLAGS_value= +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= +ac_cv_env_build_alias_set= +ac_cv_env_build_alias_value= +ac_cv_env_host_alias_set= +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= +ac_cv_func_EVP_CIPHER_CTX_new=yes +ac_cv_func_alarm=yes +ac_cv_func_bpf_dump=yes +ac_cv_func_cap_enter=no +ac_cv_func_cap_ioctls_limit=no +ac_cv_func_cap_rights_limit=no +ac_cv_func_ether_ntohost=yes +ac_cv_func_fork=yes +ac_cv_func_getopt_long=yes +ac_cv_func_openat=yes +ac_cv_func_pcap_breakloop=yes +ac_cv_func_pcap_create=yes +ac_cv_func_pcap_datalink_name_to_val=yes +ac_cv_func_pcap_datalink_val_to_description=yes +ac_cv_func_pcap_dump_flush=yes +ac_cv_func_pcap_dump_ftell=yes +ac_cv_func_pcap_findalldevs=yes +ac_cv_func_pcap_free_datalinks=yes +ac_cv_func_pcap_lib_version=yes +ac_cv_func_pcap_list_datalinks=yes +ac_cv_func_pcap_loop=yes +ac_cv_func_pcap_set_datalink=yes +ac_cv_func_pcap_set_immediate_mode=yes +ac_cv_func_pcap_set_optimizer_debug=no +ac_cv_func_pcap_set_parser_debug=no +ac_cv_func_pcap_set_tstamp_precision=yes +ac_cv_func_pcap_set_tstamp_type=yes +ac_cv_func_pcap_setdirection=yes +ac_cv_func_setlinebuf=yes +ac_cv_func_sigaction=yes +ac_cv_func_snprintf=yes +ac_cv_func_strdup=yes +ac_cv_func_strftime=yes +ac_cv_func_strlcat=no +ac_cv_func_strlcpy=no +ac_cv_func_strsep=yes +ac_cv_func_vfork=yes +ac_cv_func_vfprintf=yes +ac_cv_func_vsnprintf=yes +ac_cv_have_decl_ether_ntohost=yes +ac_cv_header_cap_ng_h=no +ac_cv_header_fcntl_h=yes +ac_cv_header_inttypes_h=yes +ac_cv_header_memory_h=yes +ac_cv_header_net_pfvar_h=no +ac_cv_header_netdnet_dnetdb_h=no +ac_cv_header_netinet_ether_h=yes +ac_cv_header_netinet_if_ether_h=yes +ac_cv_header_openssl_crypto_h=yes +ac_cv_header_openssl_evp_h=yes +ac_cv_header_pcap_bluetooth_h=yes +ac_cv_header_pcap_nflog_h=yes +ac_cv_header_pcap_usb_h=yes +ac_cv_header_rpc_rpc_h=yes +ac_cv_header_rpc_rpcent_h=no +ac_cv_header_smi_h=no +ac_cv_header_stdc=yes +ac_cv_header_stdint_h=yes +ac_cv_header_stdlib_h=yes +ac_cv_header_string_h=yes +ac_cv_header_strings_h=yes +ac_cv_header_sys_stat_h=yes +ac_cv_header_sys_types_h=yes +ac_cv_header_time=yes +ac_cv_header_unistd_h=yes +ac_cv_host=x86_64-unknown-linux-gnu +ac_cv_lbl_inline=inline +ac_cv_lbl_sockaddr_has_sa_len=no +ac_cv_lbl_unaligned_fail=no +ac_cv_lib_cap_ng_capng_change_id=no +ac_cv_lib_crypto_DES_cbc_encrypt=yes +ac_cv_lib_dlpi_dlpi_walk=no +ac_cv_lib_rpc_main=no +ac_cv_objext=o +ac_cv_path_EGREP='/usr/bin/grep -E' +ac_cv_path_GREP=/usr/bin/grep +ac_cv_path_ac_pt_PCAP_CONFIG=/usr/local/bin/pcap-config +ac_cv_path_install='/usr/bin/install -c' +ac_cv_prog_CPP='/usr/bin/gcc -E' +ac_cv_prog_ac_ct_AR=ar +ac_cv_prog_ac_ct_CC=/usr/bin/gcc +ac_cv_prog_ac_ct_RANLIB=ranlib +ac_cv_prog_cc_c89= +ac_cv_prog_cc_g=yes +ac_cv_search_dnet_htoa=no +ac_cv_search_gethostbyname='none required' +ac_cv_search_getrpcbynumber='none required' +ac_cv_search_putmsg='none required' +ac_cv_search_socket='none required' +ac_cv_type_pcap_if_t=yes +ac_cv_type_signal=void +ac_cv_type_u_int16_t=yes +ac_cv_type_u_int32_t=yes +ac_cv_type_u_int64_t=yes +ac_cv_type_u_int8_t=yes +ac_cv_type_uintptr_t=yes +ac_lbl_cv_pcap_debug_defined=no +ac_lbl_cv_yydebug_defined=no +td_cv_decl_netdnet_dnetdb_h_dnet_htoa=no + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +AR='ar' +CC='/usr/bin/gcc' +CFLAGS='-g -O2' +CPP='/usr/bin/gcc -E' +CPPFLAGS='' +DEFS='-DHAVE_CONFIG_H' +DEPENDENCY_CFLAG='' +ECHO_C='' +ECHO_N='-n' +ECHO_T='' +EGREP='/usr/bin/grep -E' +EXEEXT='' +GREP='/usr/bin/grep' +INSTALL_DATA='${INSTALL} -m 644' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' +LDFLAGS='' +LIBOBJS=' ${LIBOBJDIR}strlcat$U.o ${LIBOBJDIR}strlcpy$U.o' +LIBS='-lcrypto -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap ' +LOCALSRC='print-smb.c smbutil.c ' +LTLIBOBJS=' ${LIBOBJDIR}strlcat$U.lo ${LIBOBJDIR}strlcpy$U.lo' +MAN_FILE_FORMATS='5' +MAN_MISC_INFO='7' +MKDEP='' +OBJEXT='o' +PACKAGE_BUGREPORT='' +PACKAGE_NAME='' +PACKAGE_STRING='' +PACKAGE_TARNAME='' +PACKAGE_URL='' +PACKAGE_VERSION='' +PATH_SEPARATOR=':' +PCAP_CONFIG='/usr/local/bin/pcap-config' +RANLIB='ranlib' +SHELL='/bin/sh' +SHLICC2='' +V_CCOPT=' -ffloat-store' +V_DEFS=' -D_U_="__attribute__((unused))"' +V_GROUP='wheel' +V_INCLS='-I/usr/local/include -I../src' +V_PCAPDEP='' +ac_ct_CC='/usr/bin/gcc' +bindir='${exec_prefix}/bin' +build='x86_64-unknown-linux-gnu' +build_alias='' +build_cpu='x86_64' +build_os='linux-gnu' +build_vendor='unknown' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE}' +dvidir='${docdir}' +exec_prefix='${prefix}' +host='x86_64-unknown-linux-gnu' +host_alias='' +host_cpu='x86_64' +host_os='linux-gnu' +host_vendor='unknown' +htmldir='${docdir}' +includedir='${prefix}/include' +infodir='${datarootdir}/info' +libdir='${exec_prefix}/lib' +libexecdir='${exec_prefix}/libexec' +localedir='${datarootdir}/locale' +localstatedir='${prefix}/var' +mandir='${datarootdir}/man' +oldincludedir='/usr/include' +pdfdir='${docdir}' +prefix='/usr/local' +program_transform_name='s,x,x,' +psdir='${docdir}' +sbindir='${exec_prefix}/sbin' +sharedstatedir='${prefix}/com' +sysconfdir='${prefix}/etc' +target_alias='' + +## ----------- ## +## confdefs.h. ## +## ----------- ## + +/* confdefs.h */ +#define PACKAGE_NAME "" +#define PACKAGE_TARNAME "" +#define PACKAGE_VERSION "" +#define PACKAGE_STRING "" +#define PACKAGE_BUGREPORT "" +#define PACKAGE_URL "" +#define inline inline +#define HAVE___ATTRIBUTE__ 1 +#define __ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS 1 +#define __ATTRIBUTE___FORMAT_OK 1 +#define __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS 1 +#define STDC_HEADERS 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_RPC_RPC_H 1 +#define HAVE_NETINET_IF_ETHER_H 1 +#define TIME_WITH_SYS_TIME 1 +#define ENABLE_SMB 1 +#define HAVE_OPENAT 1 +#define HAVE_OS_IPV6_SUPPORT 1 +#define HAVE_VFPRINTF 1 +#define HAVE_STRDUP 1 +#define HAVE_STRSEP 1 +#define HAVE_GETOPT_LONG 1 +#define HAVE_FORK 1 +#define HAVE_VFORK 1 +#define HAVE_STRFTIME 1 +#define HAVE_SETLINEBUF 1 +#define HAVE_ALARM 1 +#define HAVE_VSNPRINTF 1 +#define HAVE_SNPRINTF 1 +#define RETSIGTYPE void +#define RETSIGVAL /**/ +#define HAVE_SIGACTION 1 +#define HAVE_GETRPCBYNUMBER 1 +#define HAVE_ETHER_NTOHOST 1 +#define USE_ETHER_NTOHOST 1 +#define HAVE_NETINET_ETHER_H 1 +#define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST /**/ +#define HAVE_DECL_ETHER_NTOHOST 1 +#define HAVE_PCAP_LIST_DATALINKS 1 +#define HAVE_PCAP_FREE_DATALINKS 1 +#define HAVE_PCAP_SET_DATALINK 1 +#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1 +#define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 +#define HAVE_PCAP_BREAKLOOP 1 +#define HAVE_PCAP_DUMP_FTELL 1 +#define HAVE_PCAP_CREATE 1 +#define HAVE_PCAP_SET_TSTAMP_TYPE 1 +#define HAVE_PCAP_SET_TSTAMP_PRECISION 1 +#define HAVE_PCAP_FINDALLDEVS 1 +#define HAVE_PCAP_DUMP_FLUSH 1 +#define HAVE_PCAP_LIB_VERSION 1 +#define HAVE_PCAP_SETDIRECTION 1 +#define HAVE_PCAP_SET_IMMEDIATE_MODE 1 +#define HAVE_PCAP_IF_T 1 +#define HAVE_BPF_DUMP 1 +#define HAVE_UINTPTR_T 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_PCAP_BLUETOOTH_H 1 +#define HAVE_PCAP_NFLOG_H 1 +#define HAVE_PCAP_USB_H 1 +#define HAVE_LIBCRYPTO 1 +#define HAVE_OPENSSL_EVP_H 1 +#define HAVE_EVP_CIPHER_CTX_NEW 1 + +configure: exit 0 diff --git a/cmake-build-debug/config.status b/cmake-build-debug/config.status new file mode 100755 index 0000000..d89e5fb --- /dev/null +++ b/cmake-build-debug/config.status @@ -0,0 +1,1083 @@ +#! /bin/sh +# Generated by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by $as_me, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +# Files that config.status was made for. +config_files=" Makefile tcpdump.1" +config_headers=" config.h" +config_commands=" default-1" + +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to the package provider." + +ac_cs_config="'CC=/usr/bin/gcc'" +ac_cs_version="\ +config.status +configured by ../src/configure, generated by GNU Autoconf 2.69, + with options \"$ac_cs_config\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='/home/yangwei/tcpdump_mesa/cmake-build-debug' +srcdir='../src' +INSTALL='/usr/bin/install -c' +test -n "$AWK" || AWK=awk +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +if $ac_cs_recheck; then + set X /bin/sh '../src/configure' 'CC=/usr/bin/gcc' $ac_configure_extra_args --no-create --no-recursion + shift + $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 + CONFIG_SHELL='/bin/sh' + export CONFIG_SHELL + exec "$@" +fi + +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +# +# INIT-COMMANDS +# + + + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "tcpdump.1") CONFIG_FILES="$CONFIG_FILES tcpdump.1" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && +S["LTLIBOBJS"]=" ${LIBOBJDIR}strlcat$U.lo ${LIBOBJDIR}strlcpy$U.lo" +S["INSTALL_DATA"]="${INSTALL} -m 644" +S["INSTALL_SCRIPT"]="${INSTALL}" +S["INSTALL_PROGRAM"]="${INSTALL}" +S["MAN_MISC_INFO"]="7" +S["MAN_FILE_FORMATS"]="5" +S["LOCALSRC"]="print-smb.c smbutil.c " +S["V_PCAPDEP"]="" +S["V_INCLS"]="-I/usr/local/include -I../src" +S["V_GROUP"]="wheel" +S["V_DEFS"]=" -D_U_=\"__attribute__((unused))\"" +S["V_CCOPT"]=" -ffloat-store" +S["MKDEP"]="" +S["DEPENDENCY_CFLAG"]="" +S["AR"]="ar" +S["RANLIB"]="ranlib" +S["PCAP_CONFIG"]="/usr/local/bin/pcap-config" +S["LIBOBJS"]=" ${LIBOBJDIR}strlcat$U.o ${LIBOBJDIR}strlcpy$U.o" +S["EGREP"]="/usr/bin/grep -E" +S["GREP"]="/usr/bin/grep" +S["CPP"]="/usr/bin/gcc -E" +S["OBJEXT"]="o" +S["EXEEXT"]="" +S["ac_ct_CC"]="/usr/bin/gcc" +S["CPPFLAGS"]="" +S["LDFLAGS"]="" +S["CFLAGS"]="-g -O2" +S["CC"]="/usr/bin/gcc" +S["SHLICC2"]="" +S["host_os"]="linux-gnu" +S["host_vendor"]="unknown" +S["host_cpu"]="x86_64" +S["host"]="x86_64-unknown-linux-gnu" +S["build_os"]="linux-gnu" +S["build_vendor"]="unknown" +S["build_cpu"]="x86_64" +S["build"]="x86_64-unknown-linux-gnu" +S["target_alias"]="" +S["host_alias"]="" +S["build_alias"]="" +S["LIBS"]="-lcrypto -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpcap " +S["ECHO_T"]="" +S["ECHO_N"]="-n" +S["ECHO_C"]="" +S["DEFS"]="-DHAVE_CONFIG_H" +S["mandir"]="${datarootdir}/man" +S["localedir"]="${datarootdir}/locale" +S["libdir"]="${exec_prefix}/lib" +S["psdir"]="${docdir}" +S["pdfdir"]="${docdir}" +S["dvidir"]="${docdir}" +S["htmldir"]="${docdir}" +S["infodir"]="${datarootdir}/info" +S["docdir"]="${datarootdir}/doc/${PACKAGE}" +S["oldincludedir"]="/usr/include" +S["includedir"]="${prefix}/include" +S["localstatedir"]="${prefix}/var" +S["sharedstatedir"]="${prefix}/com" +S["sysconfdir"]="${prefix}/etc" +S["datadir"]="${datarootdir}" +S["datarootdir"]="${prefix}/share" +S["libexecdir"]="${exec_prefix}/libexec" +S["sbindir"]="${exec_prefix}/sbin" +S["bindir"]="${exec_prefix}/bin" +S["program_transform_name"]="s,x,x," +S["prefix"]="/usr/local" +S["exec_prefix"]="${prefix}" +S["PACKAGE_URL"]="" +S["PACKAGE_BUGREPORT"]="" +S["PACKAGE_STRING"]="" +S["PACKAGE_VERSION"]="" +S["PACKAGE_TARNAME"]="" +S["PACKAGE_NAME"]="" +S["PATH_SEPARATOR"]=":" +S["SHELL"]="/bin/sh" +_ACAWK +cat >>"$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +D["PACKAGE_NAME"]=" \"\"" +D["PACKAGE_TARNAME"]=" \"\"" +D["PACKAGE_VERSION"]=" \"\"" +D["PACKAGE_STRING"]=" \"\"" +D["PACKAGE_BUGREPORT"]=" \"\"" +D["PACKAGE_URL"]=" \"\"" +D["inline"]=" inline" +D["HAVE___ATTRIBUTE__"]=" 1" +D["__ATTRIBUTE___NORETURN_OK_FOR_FUNCTION_POINTERS"]=" 1" +D["__ATTRIBUTE___FORMAT_OK"]=" 1" +D["__ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS"]=" 1" +D["STDC_HEADERS"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_STAT_H"]=" 1" +D["HAVE_STDLIB_H"]=" 1" +D["HAVE_STRING_H"]=" 1" +D["HAVE_MEMORY_H"]=" 1" +D["HAVE_STRINGS_H"]=" 1" +D["HAVE_INTTYPES_H"]=" 1" +D["HAVE_STDINT_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_FCNTL_H"]=" 1" +D["HAVE_RPC_RPC_H"]=" 1" +D["HAVE_NETINET_IF_ETHER_H"]=" 1" +D["TIME_WITH_SYS_TIME"]=" 1" +D["ENABLE_SMB"]=" 1" +D["HAVE_OPENAT"]=" 1" +D["HAVE_OS_IPV6_SUPPORT"]=" 1" +D["HAVE_VFPRINTF"]=" 1" +D["HAVE_STRDUP"]=" 1" +D["HAVE_STRSEP"]=" 1" +D["HAVE_GETOPT_LONG"]=" 1" +D["HAVE_FORK"]=" 1" +D["HAVE_VFORK"]=" 1" +D["HAVE_STRFTIME"]=" 1" +D["HAVE_SETLINEBUF"]=" 1" +D["HAVE_ALARM"]=" 1" +D["HAVE_VSNPRINTF"]=" 1" +D["HAVE_SNPRINTF"]=" 1" +D["RETSIGTYPE"]=" void" +D["RETSIGVAL"]=" /**/" +D["HAVE_SIGACTION"]=" 1" +D["HAVE_GETRPCBYNUMBER"]=" 1" +D["HAVE_ETHER_NTOHOST"]=" 1" +D["USE_ETHER_NTOHOST"]=" 1" +D["HAVE_NETINET_ETHER_H"]=" 1" +D["NETINET_ETHER_H_DECLARES_ETHER_NTOHOST"]=" /**/" +D["HAVE_DECL_ETHER_NTOHOST"]=" 1" +D["HAVE_PCAP_LIST_DATALINKS"]=" 1" +D["HAVE_PCAP_FREE_DATALINKS"]=" 1" +D["HAVE_PCAP_SET_DATALINK"]=" 1" +D["HAVE_PCAP_DATALINK_NAME_TO_VAL"]=" 1" +D["HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION"]=" 1" +D["HAVE_PCAP_BREAKLOOP"]=" 1" +D["HAVE_PCAP_DUMP_FTELL"]=" 1" +D["HAVE_PCAP_CREATE"]=" 1" +D["HAVE_PCAP_SET_TSTAMP_TYPE"]=" 1" +D["HAVE_PCAP_SET_TSTAMP_PRECISION"]=" 1" +D["HAVE_PCAP_FINDALLDEVS"]=" 1" +D["HAVE_PCAP_DUMP_FLUSH"]=" 1" +D["HAVE_PCAP_LIB_VERSION"]=" 1" +D["HAVE_PCAP_SETDIRECTION"]=" 1" +D["HAVE_PCAP_SET_IMMEDIATE_MODE"]=" 1" +D["HAVE_PCAP_IF_T"]=" 1" +D["HAVE_BPF_DUMP"]=" 1" +D["HAVE_UINTPTR_T"]=" 1" +D["HAVE_INTTYPES_H"]=" 1" +D["HAVE_PCAP_BLUETOOTH_H"]=" 1" +D["HAVE_PCAP_NFLOG_H"]=" 1" +D["HAVE_PCAP_USB_H"]=" 1" +D["HAVE_LIBCRYPTO"]=" 1" +D["HAVE_OPENSSL_EVP_H"]=" 1" +D["HAVE_EVP_CIPHER_CTX_NEW"]=" 1" + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { + line = $ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + ac_datarootdir_hack=' + s&@datadir@&${datarootdir}&g + s&@docdir@&${datarootdir}/doc/${PACKAGE}&g + s&@infodir@&${datarootdir}/info&g + s&@localedir@&${datarootdir}/locale&g + s&@mandir@&${datarootdir}/man&g + s&\${datarootdir}&${prefix}/share&g' ;; +esac +ac_sed_extra=" + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "default-1":C) if test -f .devel; then + echo timestamp > stamp-h + cat Makefile-devel-adds >> Makefile + make depend +fi ;; + + esac +done # for ac_tag + + +as_fn_exit 0 diff --git a/cmake-build-debug/cpack.o b/cmake-build-debug/cpack.o new file mode 100644 index 0000000..4fcbcb4 Binary files /dev/null and b/cmake-build-debug/cpack.o differ diff --git a/cmake-build-debug/gmpls.o b/cmake-build-debug/gmpls.o new file mode 100644 index 0000000..b2156e8 Binary files /dev/null and b/cmake-build-debug/gmpls.o differ diff --git a/cmake-build-debug/gmt2local.o b/cmake-build-debug/gmt2local.o new file mode 100644 index 0000000..e0f88a2 Binary files /dev/null and b/cmake-build-debug/gmt2local.o differ diff --git a/cmake-build-debug/in_cksum.o b/cmake-build-debug/in_cksum.o new file mode 100644 index 0000000..7eb06ef Binary files /dev/null and b/cmake-build-debug/in_cksum.o differ diff --git a/cmake-build-debug/ipproto.o b/cmake-build-debug/ipproto.o new file mode 100644 index 0000000..c9473b4 Binary files /dev/null and b/cmake-build-debug/ipproto.o differ diff --git a/cmake-build-debug/l2vpn.o b/cmake-build-debug/l2vpn.o new file mode 100644 index 0000000..2a7f2a7 Binary files /dev/null and b/cmake-build-debug/l2vpn.o differ diff --git a/cmake-build-debug/libnetdissect.a b/cmake-build-debug/libnetdissect.a new file mode 100644 index 0000000..e1f00b3 Binary files /dev/null and b/cmake-build-debug/libnetdissect.a differ diff --git a/cmake-build-debug/machdep.o b/cmake-build-debug/machdep.o new file mode 100644 index 0000000..1c7616c Binary files /dev/null and b/cmake-build-debug/machdep.o differ diff --git a/cmake-build-debug/net_common.o b/cmake-build-debug/net_common.o new file mode 100644 index 0000000..949fe85 Binary files /dev/null and b/cmake-build-debug/net_common.o differ diff --git a/cmake-build-debug/nlpid.o b/cmake-build-debug/nlpid.o new file mode 100644 index 0000000..7079392 Binary files /dev/null and b/cmake-build-debug/nlpid.o differ diff --git a/cmake-build-debug/oui.o b/cmake-build-debug/oui.o new file mode 100644 index 0000000..d39090e Binary files /dev/null and b/cmake-build-debug/oui.o differ diff --git a/cmake-build-debug/parsenfsfh.o b/cmake-build-debug/parsenfsfh.o new file mode 100644 index 0000000..629bc89 Binary files /dev/null and b/cmake-build-debug/parsenfsfh.o differ diff --git a/cmake-build-debug/print-802_11.o b/cmake-build-debug/print-802_11.o new file mode 100644 index 0000000..9f50232 Binary files /dev/null and b/cmake-build-debug/print-802_11.o differ diff --git a/cmake-build-debug/print-802_15_4.o b/cmake-build-debug/print-802_15_4.o new file mode 100644 index 0000000..9181eba Binary files /dev/null and b/cmake-build-debug/print-802_15_4.o differ diff --git a/cmake-build-debug/print-ah.o b/cmake-build-debug/print-ah.o new file mode 100644 index 0000000..fd8b4a8 Binary files /dev/null and b/cmake-build-debug/print-ah.o differ diff --git a/cmake-build-debug/print-ahcp.o b/cmake-build-debug/print-ahcp.o new file mode 100644 index 0000000..78d506f Binary files /dev/null and b/cmake-build-debug/print-ahcp.o differ diff --git a/cmake-build-debug/print-aodv.o b/cmake-build-debug/print-aodv.o new file mode 100644 index 0000000..77567c8 Binary files /dev/null and b/cmake-build-debug/print-aodv.o differ diff --git a/cmake-build-debug/print-aoe.o b/cmake-build-debug/print-aoe.o new file mode 100644 index 0000000..66e53f7 Binary files /dev/null and b/cmake-build-debug/print-aoe.o differ diff --git a/cmake-build-debug/print-ap1394.o b/cmake-build-debug/print-ap1394.o new file mode 100644 index 0000000..0980010 Binary files /dev/null and b/cmake-build-debug/print-ap1394.o differ diff --git a/cmake-build-debug/print-arcnet.o b/cmake-build-debug/print-arcnet.o new file mode 100644 index 0000000..ab93a88 Binary files /dev/null and b/cmake-build-debug/print-arcnet.o differ diff --git a/cmake-build-debug/print-arp.o b/cmake-build-debug/print-arp.o new file mode 100644 index 0000000..9ee4020 Binary files /dev/null and b/cmake-build-debug/print-arp.o differ diff --git a/cmake-build-debug/print-ascii.o b/cmake-build-debug/print-ascii.o new file mode 100644 index 0000000..0facd97 Binary files /dev/null and b/cmake-build-debug/print-ascii.o differ diff --git a/cmake-build-debug/print-atalk.o b/cmake-build-debug/print-atalk.o new file mode 100644 index 0000000..d024b83 Binary files /dev/null and b/cmake-build-debug/print-atalk.o differ diff --git a/cmake-build-debug/print-atm.o b/cmake-build-debug/print-atm.o new file mode 100644 index 0000000..50aa370 Binary files /dev/null and b/cmake-build-debug/print-atm.o differ diff --git a/cmake-build-debug/print-babel.o b/cmake-build-debug/print-babel.o new file mode 100644 index 0000000..0bb6506 Binary files /dev/null and b/cmake-build-debug/print-babel.o differ diff --git a/cmake-build-debug/print-beep.o b/cmake-build-debug/print-beep.o new file mode 100644 index 0000000..a57a419 Binary files /dev/null and b/cmake-build-debug/print-beep.o differ diff --git a/cmake-build-debug/print-bfd.o b/cmake-build-debug/print-bfd.o new file mode 100644 index 0000000..ef0869d Binary files /dev/null and b/cmake-build-debug/print-bfd.o differ diff --git a/cmake-build-debug/print-bgp.o b/cmake-build-debug/print-bgp.o new file mode 100644 index 0000000..b279ed5 Binary files /dev/null and b/cmake-build-debug/print-bgp.o differ diff --git a/cmake-build-debug/print-bootp.o b/cmake-build-debug/print-bootp.o new file mode 100644 index 0000000..07b2778 Binary files /dev/null and b/cmake-build-debug/print-bootp.o differ diff --git a/cmake-build-debug/print-bt.o b/cmake-build-debug/print-bt.o new file mode 100644 index 0000000..e3d8404 Binary files /dev/null and b/cmake-build-debug/print-bt.o differ diff --git a/cmake-build-debug/print-calm-fast.o b/cmake-build-debug/print-calm-fast.o new file mode 100644 index 0000000..c05535a Binary files /dev/null and b/cmake-build-debug/print-calm-fast.o differ diff --git a/cmake-build-debug/print-carp.o b/cmake-build-debug/print-carp.o new file mode 100644 index 0000000..9758f80 Binary files /dev/null and b/cmake-build-debug/print-carp.o differ diff --git a/cmake-build-debug/print-cdp.o b/cmake-build-debug/print-cdp.o new file mode 100644 index 0000000..1ffa6ed Binary files /dev/null and b/cmake-build-debug/print-cdp.o differ diff --git a/cmake-build-debug/print-cfm.o b/cmake-build-debug/print-cfm.o new file mode 100644 index 0000000..cf618b8 Binary files /dev/null and b/cmake-build-debug/print-cfm.o differ diff --git a/cmake-build-debug/print-chdlc.o b/cmake-build-debug/print-chdlc.o new file mode 100644 index 0000000..289d549 Binary files /dev/null and b/cmake-build-debug/print-chdlc.o differ diff --git a/cmake-build-debug/print-cip.o b/cmake-build-debug/print-cip.o new file mode 100644 index 0000000..a1072a0 Binary files /dev/null and b/cmake-build-debug/print-cip.o differ diff --git a/cmake-build-debug/print-cnfp.o b/cmake-build-debug/print-cnfp.o new file mode 100644 index 0000000..5145525 Binary files /dev/null and b/cmake-build-debug/print-cnfp.o differ diff --git a/cmake-build-debug/print-dccp.o b/cmake-build-debug/print-dccp.o new file mode 100644 index 0000000..29691b8 Binary files /dev/null and b/cmake-build-debug/print-dccp.o differ diff --git a/cmake-build-debug/print-decnet.o b/cmake-build-debug/print-decnet.o new file mode 100644 index 0000000..c9f3e6b Binary files /dev/null and b/cmake-build-debug/print-decnet.o differ diff --git a/cmake-build-debug/print-dhcp6.o b/cmake-build-debug/print-dhcp6.o new file mode 100644 index 0000000..4c64b04 Binary files /dev/null and b/cmake-build-debug/print-dhcp6.o differ diff --git a/cmake-build-debug/print-domain.o b/cmake-build-debug/print-domain.o new file mode 100644 index 0000000..a3ab610 Binary files /dev/null and b/cmake-build-debug/print-domain.o differ diff --git a/cmake-build-debug/print-dtp.o b/cmake-build-debug/print-dtp.o new file mode 100644 index 0000000..9171c65 Binary files /dev/null and b/cmake-build-debug/print-dtp.o differ diff --git a/cmake-build-debug/print-dvmrp.o b/cmake-build-debug/print-dvmrp.o new file mode 100644 index 0000000..e7f2102 Binary files /dev/null and b/cmake-build-debug/print-dvmrp.o differ diff --git a/cmake-build-debug/print-eap.o b/cmake-build-debug/print-eap.o new file mode 100644 index 0000000..449e35a Binary files /dev/null and b/cmake-build-debug/print-eap.o differ diff --git a/cmake-build-debug/print-egp.o b/cmake-build-debug/print-egp.o new file mode 100644 index 0000000..f8f2686 Binary files /dev/null and b/cmake-build-debug/print-egp.o differ diff --git a/cmake-build-debug/print-eigrp.o b/cmake-build-debug/print-eigrp.o new file mode 100644 index 0000000..ac82fa2 Binary files /dev/null and b/cmake-build-debug/print-eigrp.o differ diff --git a/cmake-build-debug/print-enc.o b/cmake-build-debug/print-enc.o new file mode 100644 index 0000000..8e86dce Binary files /dev/null and b/cmake-build-debug/print-enc.o differ diff --git a/cmake-build-debug/print-esp.o b/cmake-build-debug/print-esp.o new file mode 100644 index 0000000..b86cd85 Binary files /dev/null and b/cmake-build-debug/print-esp.o differ diff --git a/cmake-build-debug/print-ether.o b/cmake-build-debug/print-ether.o new file mode 100644 index 0000000..f2d7171 Binary files /dev/null and b/cmake-build-debug/print-ether.o differ diff --git a/cmake-build-debug/print-fddi.o b/cmake-build-debug/print-fddi.o new file mode 100644 index 0000000..080b0f3 Binary files /dev/null and b/cmake-build-debug/print-fddi.o differ diff --git a/cmake-build-debug/print-forces.o b/cmake-build-debug/print-forces.o new file mode 100644 index 0000000..65b4df4 Binary files /dev/null and b/cmake-build-debug/print-forces.o differ diff --git a/cmake-build-debug/print-fr.o b/cmake-build-debug/print-fr.o new file mode 100644 index 0000000..634c235 Binary files /dev/null and b/cmake-build-debug/print-fr.o differ diff --git a/cmake-build-debug/print-frag6.o b/cmake-build-debug/print-frag6.o new file mode 100644 index 0000000..17135c0 Binary files /dev/null and b/cmake-build-debug/print-frag6.o differ diff --git a/cmake-build-debug/print-ftp.o b/cmake-build-debug/print-ftp.o new file mode 100644 index 0000000..2827bbd Binary files /dev/null and b/cmake-build-debug/print-ftp.o differ diff --git a/cmake-build-debug/print-geneve.o b/cmake-build-debug/print-geneve.o new file mode 100644 index 0000000..29aa60f Binary files /dev/null and b/cmake-build-debug/print-geneve.o differ diff --git a/cmake-build-debug/print-geonet.o b/cmake-build-debug/print-geonet.o new file mode 100644 index 0000000..c487b4f Binary files /dev/null and b/cmake-build-debug/print-geonet.o differ diff --git a/cmake-build-debug/print-gre.o b/cmake-build-debug/print-gre.o new file mode 100644 index 0000000..02dd5f0 Binary files /dev/null and b/cmake-build-debug/print-gre.o differ diff --git a/cmake-build-debug/print-hncp.o b/cmake-build-debug/print-hncp.o new file mode 100644 index 0000000..51a72fd Binary files /dev/null and b/cmake-build-debug/print-hncp.o differ diff --git a/cmake-build-debug/print-hsrp.o b/cmake-build-debug/print-hsrp.o new file mode 100644 index 0000000..63e389d Binary files /dev/null and b/cmake-build-debug/print-hsrp.o differ diff --git a/cmake-build-debug/print-http.o b/cmake-build-debug/print-http.o new file mode 100644 index 0000000..1698104 Binary files /dev/null and b/cmake-build-debug/print-http.o differ diff --git a/cmake-build-debug/print-icmp.o b/cmake-build-debug/print-icmp.o new file mode 100644 index 0000000..e1d4a9c Binary files /dev/null and b/cmake-build-debug/print-icmp.o differ diff --git a/cmake-build-debug/print-icmp6.o b/cmake-build-debug/print-icmp6.o new file mode 100644 index 0000000..23dfb11 Binary files /dev/null and b/cmake-build-debug/print-icmp6.o differ diff --git a/cmake-build-debug/print-igmp.o b/cmake-build-debug/print-igmp.o new file mode 100644 index 0000000..c13147a Binary files /dev/null and b/cmake-build-debug/print-igmp.o differ diff --git a/cmake-build-debug/print-igrp.o b/cmake-build-debug/print-igrp.o new file mode 100644 index 0000000..dacf9d1 Binary files /dev/null and b/cmake-build-debug/print-igrp.o differ diff --git a/cmake-build-debug/print-ip.o b/cmake-build-debug/print-ip.o new file mode 100644 index 0000000..dd8be3c Binary files /dev/null and b/cmake-build-debug/print-ip.o differ diff --git a/cmake-build-debug/print-ip6.o b/cmake-build-debug/print-ip6.o new file mode 100644 index 0000000..12c921a Binary files /dev/null and b/cmake-build-debug/print-ip6.o differ diff --git a/cmake-build-debug/print-ip6opts.o b/cmake-build-debug/print-ip6opts.o new file mode 100644 index 0000000..223e799 Binary files /dev/null and b/cmake-build-debug/print-ip6opts.o differ diff --git a/cmake-build-debug/print-ipcomp.o b/cmake-build-debug/print-ipcomp.o new file mode 100644 index 0000000..8639a88 Binary files /dev/null and b/cmake-build-debug/print-ipcomp.o differ diff --git a/cmake-build-debug/print-ipfc.o b/cmake-build-debug/print-ipfc.o new file mode 100644 index 0000000..adc5a6e Binary files /dev/null and b/cmake-build-debug/print-ipfc.o differ diff --git a/cmake-build-debug/print-ipnet.o b/cmake-build-debug/print-ipnet.o new file mode 100644 index 0000000..8df11a7 Binary files /dev/null and b/cmake-build-debug/print-ipnet.o differ diff --git a/cmake-build-debug/print-ipx.o b/cmake-build-debug/print-ipx.o new file mode 100644 index 0000000..34bab7a Binary files /dev/null and b/cmake-build-debug/print-ipx.o differ diff --git a/cmake-build-debug/print-isakmp.o b/cmake-build-debug/print-isakmp.o new file mode 100644 index 0000000..8f9ca68 Binary files /dev/null and b/cmake-build-debug/print-isakmp.o differ diff --git a/cmake-build-debug/print-isoclns.o b/cmake-build-debug/print-isoclns.o new file mode 100644 index 0000000..4896173 Binary files /dev/null and b/cmake-build-debug/print-isoclns.o differ diff --git a/cmake-build-debug/print-juniper.o b/cmake-build-debug/print-juniper.o new file mode 100644 index 0000000..2033b49 Binary files /dev/null and b/cmake-build-debug/print-juniper.o differ diff --git a/cmake-build-debug/print-krb.o b/cmake-build-debug/print-krb.o new file mode 100644 index 0000000..f7beb02 Binary files /dev/null and b/cmake-build-debug/print-krb.o differ diff --git a/cmake-build-debug/print-l2tp.o b/cmake-build-debug/print-l2tp.o new file mode 100644 index 0000000..bfa3b02 Binary files /dev/null and b/cmake-build-debug/print-l2tp.o differ diff --git a/cmake-build-debug/print-lane.o b/cmake-build-debug/print-lane.o new file mode 100644 index 0000000..90088dc Binary files /dev/null and b/cmake-build-debug/print-lane.o differ diff --git a/cmake-build-debug/print-ldp.o b/cmake-build-debug/print-ldp.o new file mode 100644 index 0000000..b839c55 Binary files /dev/null and b/cmake-build-debug/print-ldp.o differ diff --git a/cmake-build-debug/print-lisp.o b/cmake-build-debug/print-lisp.o new file mode 100644 index 0000000..ba2f295 Binary files /dev/null and b/cmake-build-debug/print-lisp.o differ diff --git a/cmake-build-debug/print-llc.o b/cmake-build-debug/print-llc.o new file mode 100644 index 0000000..959a184 Binary files /dev/null and b/cmake-build-debug/print-llc.o differ diff --git a/cmake-build-debug/print-lldp.o b/cmake-build-debug/print-lldp.o new file mode 100644 index 0000000..12ebc63 Binary files /dev/null and b/cmake-build-debug/print-lldp.o differ diff --git a/cmake-build-debug/print-lmp.o b/cmake-build-debug/print-lmp.o new file mode 100644 index 0000000..ed2f980 Binary files /dev/null and b/cmake-build-debug/print-lmp.o differ diff --git a/cmake-build-debug/print-loopback.o b/cmake-build-debug/print-loopback.o new file mode 100644 index 0000000..1429803 Binary files /dev/null and b/cmake-build-debug/print-loopback.o differ diff --git a/cmake-build-debug/print-lspping.o b/cmake-build-debug/print-lspping.o new file mode 100644 index 0000000..2c83423 Binary files /dev/null and b/cmake-build-debug/print-lspping.o differ diff --git a/cmake-build-debug/print-lwapp.o b/cmake-build-debug/print-lwapp.o new file mode 100644 index 0000000..4731ab9 Binary files /dev/null and b/cmake-build-debug/print-lwapp.o differ diff --git a/cmake-build-debug/print-lwres.o b/cmake-build-debug/print-lwres.o new file mode 100644 index 0000000..21c74b0 Binary files /dev/null and b/cmake-build-debug/print-lwres.o differ diff --git a/cmake-build-debug/print-m3ua.o b/cmake-build-debug/print-m3ua.o new file mode 100644 index 0000000..c87884d Binary files /dev/null and b/cmake-build-debug/print-m3ua.o differ diff --git a/cmake-build-debug/print-medsa.o b/cmake-build-debug/print-medsa.o new file mode 100644 index 0000000..cd1bcfc Binary files /dev/null and b/cmake-build-debug/print-medsa.o differ diff --git a/cmake-build-debug/print-mobile.o b/cmake-build-debug/print-mobile.o new file mode 100644 index 0000000..409bc99 Binary files /dev/null and b/cmake-build-debug/print-mobile.o differ diff --git a/cmake-build-debug/print-mobility.o b/cmake-build-debug/print-mobility.o new file mode 100644 index 0000000..4f0ecb8 Binary files /dev/null and b/cmake-build-debug/print-mobility.o differ diff --git a/cmake-build-debug/print-mpcp.o b/cmake-build-debug/print-mpcp.o new file mode 100644 index 0000000..83db0d4 Binary files /dev/null and b/cmake-build-debug/print-mpcp.o differ diff --git a/cmake-build-debug/print-mpls.o b/cmake-build-debug/print-mpls.o new file mode 100644 index 0000000..d6bf1b8 Binary files /dev/null and b/cmake-build-debug/print-mpls.o differ diff --git a/cmake-build-debug/print-mptcp.o b/cmake-build-debug/print-mptcp.o new file mode 100644 index 0000000..23d39a0 Binary files /dev/null and b/cmake-build-debug/print-mptcp.o differ diff --git a/cmake-build-debug/print-msdp.o b/cmake-build-debug/print-msdp.o new file mode 100644 index 0000000..4e182b1 Binary files /dev/null and b/cmake-build-debug/print-msdp.o differ diff --git a/cmake-build-debug/print-msnlb.o b/cmake-build-debug/print-msnlb.o new file mode 100644 index 0000000..50119d8 Binary files /dev/null and b/cmake-build-debug/print-msnlb.o differ diff --git a/cmake-build-debug/print-nflog.o b/cmake-build-debug/print-nflog.o new file mode 100644 index 0000000..1448c72 Binary files /dev/null and b/cmake-build-debug/print-nflog.o differ diff --git a/cmake-build-debug/print-nfs.o b/cmake-build-debug/print-nfs.o new file mode 100644 index 0000000..aeab5ac Binary files /dev/null and b/cmake-build-debug/print-nfs.o differ diff --git a/cmake-build-debug/print-nsh.o b/cmake-build-debug/print-nsh.o new file mode 100644 index 0000000..ffcd046 Binary files /dev/null and b/cmake-build-debug/print-nsh.o differ diff --git a/cmake-build-debug/print-ntp.o b/cmake-build-debug/print-ntp.o new file mode 100644 index 0000000..f9a7a36 Binary files /dev/null and b/cmake-build-debug/print-ntp.o differ diff --git a/cmake-build-debug/print-null.o b/cmake-build-debug/print-null.o new file mode 100644 index 0000000..0e3c05a Binary files /dev/null and b/cmake-build-debug/print-null.o differ diff --git a/cmake-build-debug/print-olsr.o b/cmake-build-debug/print-olsr.o new file mode 100644 index 0000000..2046e0f Binary files /dev/null and b/cmake-build-debug/print-olsr.o differ diff --git a/cmake-build-debug/print-openflow-1.0.o b/cmake-build-debug/print-openflow-1.0.o new file mode 100644 index 0000000..14c14da Binary files /dev/null and b/cmake-build-debug/print-openflow-1.0.o differ diff --git a/cmake-build-debug/print-openflow.o b/cmake-build-debug/print-openflow.o new file mode 100644 index 0000000..bbb82a7 Binary files /dev/null and b/cmake-build-debug/print-openflow.o differ diff --git a/cmake-build-debug/print-ospf.o b/cmake-build-debug/print-ospf.o new file mode 100644 index 0000000..56c77c9 Binary files /dev/null and b/cmake-build-debug/print-ospf.o differ diff --git a/cmake-build-debug/print-ospf6.o b/cmake-build-debug/print-ospf6.o new file mode 100644 index 0000000..49f3391 Binary files /dev/null and b/cmake-build-debug/print-ospf6.o differ diff --git a/cmake-build-debug/print-otv.o b/cmake-build-debug/print-otv.o new file mode 100644 index 0000000..c759899 Binary files /dev/null and b/cmake-build-debug/print-otv.o differ diff --git a/cmake-build-debug/print-pgm.o b/cmake-build-debug/print-pgm.o new file mode 100644 index 0000000..d20da4c Binary files /dev/null and b/cmake-build-debug/print-pgm.o differ diff --git a/cmake-build-debug/print-pim.o b/cmake-build-debug/print-pim.o new file mode 100644 index 0000000..52deee3 Binary files /dev/null and b/cmake-build-debug/print-pim.o differ diff --git a/cmake-build-debug/print-pktap.o b/cmake-build-debug/print-pktap.o new file mode 100644 index 0000000..7b21b7e Binary files /dev/null and b/cmake-build-debug/print-pktap.o differ diff --git a/cmake-build-debug/print-ppi.o b/cmake-build-debug/print-ppi.o new file mode 100644 index 0000000..aa0a43a Binary files /dev/null and b/cmake-build-debug/print-ppi.o differ diff --git a/cmake-build-debug/print-ppp.o b/cmake-build-debug/print-ppp.o new file mode 100644 index 0000000..702fbf3 Binary files /dev/null and b/cmake-build-debug/print-ppp.o differ diff --git a/cmake-build-debug/print-pppoe.o b/cmake-build-debug/print-pppoe.o new file mode 100644 index 0000000..0f7de37 Binary files /dev/null and b/cmake-build-debug/print-pppoe.o differ diff --git a/cmake-build-debug/print-pptp.o b/cmake-build-debug/print-pptp.o new file mode 100644 index 0000000..3e6b654 Binary files /dev/null and b/cmake-build-debug/print-pptp.o differ diff --git a/cmake-build-debug/print-radius.o b/cmake-build-debug/print-radius.o new file mode 100644 index 0000000..f534e83 Binary files /dev/null and b/cmake-build-debug/print-radius.o differ diff --git a/cmake-build-debug/print-raw.o b/cmake-build-debug/print-raw.o new file mode 100644 index 0000000..9f74431 Binary files /dev/null and b/cmake-build-debug/print-raw.o differ diff --git a/cmake-build-debug/print-resp.o b/cmake-build-debug/print-resp.o new file mode 100644 index 0000000..d6f4b7a Binary files /dev/null and b/cmake-build-debug/print-resp.o differ diff --git a/cmake-build-debug/print-rip.o b/cmake-build-debug/print-rip.o new file mode 100644 index 0000000..de12b32 Binary files /dev/null and b/cmake-build-debug/print-rip.o differ diff --git a/cmake-build-debug/print-ripng.o b/cmake-build-debug/print-ripng.o new file mode 100644 index 0000000..0ee3e44 Binary files /dev/null and b/cmake-build-debug/print-ripng.o differ diff --git a/cmake-build-debug/print-rpki-rtr.o b/cmake-build-debug/print-rpki-rtr.o new file mode 100644 index 0000000..dd0133e Binary files /dev/null and b/cmake-build-debug/print-rpki-rtr.o differ diff --git a/cmake-build-debug/print-rrcp.o b/cmake-build-debug/print-rrcp.o new file mode 100644 index 0000000..1c69fdc Binary files /dev/null and b/cmake-build-debug/print-rrcp.o differ diff --git a/cmake-build-debug/print-rsvp.o b/cmake-build-debug/print-rsvp.o new file mode 100644 index 0000000..9ab6eb6 Binary files /dev/null and b/cmake-build-debug/print-rsvp.o differ diff --git a/cmake-build-debug/print-rt6.o b/cmake-build-debug/print-rt6.o new file mode 100644 index 0000000..f40389f Binary files /dev/null and b/cmake-build-debug/print-rt6.o differ diff --git a/cmake-build-debug/print-rtsp.o b/cmake-build-debug/print-rtsp.o new file mode 100644 index 0000000..cf57928 Binary files /dev/null and b/cmake-build-debug/print-rtsp.o differ diff --git a/cmake-build-debug/print-rx.o b/cmake-build-debug/print-rx.o new file mode 100644 index 0000000..fbff7ed Binary files /dev/null and b/cmake-build-debug/print-rx.o differ diff --git a/cmake-build-debug/print-sctp.o b/cmake-build-debug/print-sctp.o new file mode 100644 index 0000000..2997d35 Binary files /dev/null and b/cmake-build-debug/print-sctp.o differ diff --git a/cmake-build-debug/print-sflow.o b/cmake-build-debug/print-sflow.o new file mode 100644 index 0000000..cbccf4d Binary files /dev/null and b/cmake-build-debug/print-sflow.o differ diff --git a/cmake-build-debug/print-sip.o b/cmake-build-debug/print-sip.o new file mode 100644 index 0000000..b3cb534 Binary files /dev/null and b/cmake-build-debug/print-sip.o differ diff --git a/cmake-build-debug/print-sl.o b/cmake-build-debug/print-sl.o new file mode 100644 index 0000000..89a511f Binary files /dev/null and b/cmake-build-debug/print-sl.o differ diff --git a/cmake-build-debug/print-sll.o b/cmake-build-debug/print-sll.o new file mode 100644 index 0000000..7768f25 Binary files /dev/null and b/cmake-build-debug/print-sll.o differ diff --git a/cmake-build-debug/print-slow.o b/cmake-build-debug/print-slow.o new file mode 100644 index 0000000..3edb2d1 Binary files /dev/null and b/cmake-build-debug/print-slow.o differ diff --git a/cmake-build-debug/print-smb.o b/cmake-build-debug/print-smb.o new file mode 100644 index 0000000..eac4b38 Binary files /dev/null and b/cmake-build-debug/print-smb.o differ diff --git a/cmake-build-debug/print-smtp.o b/cmake-build-debug/print-smtp.o new file mode 100644 index 0000000..bc310be Binary files /dev/null and b/cmake-build-debug/print-smtp.o differ diff --git a/cmake-build-debug/print-snmp.o b/cmake-build-debug/print-snmp.o new file mode 100644 index 0000000..e92a415 Binary files /dev/null and b/cmake-build-debug/print-snmp.o differ diff --git a/cmake-build-debug/print-stp.o b/cmake-build-debug/print-stp.o new file mode 100644 index 0000000..619c28e Binary files /dev/null and b/cmake-build-debug/print-stp.o differ diff --git a/cmake-build-debug/print-sunatm.o b/cmake-build-debug/print-sunatm.o new file mode 100644 index 0000000..87d5283 Binary files /dev/null and b/cmake-build-debug/print-sunatm.o differ diff --git a/cmake-build-debug/print-sunrpc.o b/cmake-build-debug/print-sunrpc.o new file mode 100644 index 0000000..c3c1ba0 Binary files /dev/null and b/cmake-build-debug/print-sunrpc.o differ diff --git a/cmake-build-debug/print-symantec.o b/cmake-build-debug/print-symantec.o new file mode 100644 index 0000000..5ffacee Binary files /dev/null and b/cmake-build-debug/print-symantec.o differ diff --git a/cmake-build-debug/print-syslog.o b/cmake-build-debug/print-syslog.o new file mode 100644 index 0000000..38fd7a4 Binary files /dev/null and b/cmake-build-debug/print-syslog.o differ diff --git a/cmake-build-debug/print-tcp.o b/cmake-build-debug/print-tcp.o new file mode 100644 index 0000000..59f9479 Binary files /dev/null and b/cmake-build-debug/print-tcp.o differ diff --git a/cmake-build-debug/print-telnet.o b/cmake-build-debug/print-telnet.o new file mode 100644 index 0000000..baacbc0 Binary files /dev/null and b/cmake-build-debug/print-telnet.o differ diff --git a/cmake-build-debug/print-tftp.o b/cmake-build-debug/print-tftp.o new file mode 100644 index 0000000..48961f4 Binary files /dev/null and b/cmake-build-debug/print-tftp.o differ diff --git a/cmake-build-debug/print-timed.o b/cmake-build-debug/print-timed.o new file mode 100644 index 0000000..2b9ece7 Binary files /dev/null and b/cmake-build-debug/print-timed.o differ diff --git a/cmake-build-debug/print-tipc.o b/cmake-build-debug/print-tipc.o new file mode 100644 index 0000000..3bd1b81 Binary files /dev/null and b/cmake-build-debug/print-tipc.o differ diff --git a/cmake-build-debug/print-token.o b/cmake-build-debug/print-token.o new file mode 100644 index 0000000..b164b78 Binary files /dev/null and b/cmake-build-debug/print-token.o differ diff --git a/cmake-build-debug/print-udld.o b/cmake-build-debug/print-udld.o new file mode 100644 index 0000000..84d0b6d Binary files /dev/null and b/cmake-build-debug/print-udld.o differ diff --git a/cmake-build-debug/print-udp.o b/cmake-build-debug/print-udp.o new file mode 100644 index 0000000..4a866ec Binary files /dev/null and b/cmake-build-debug/print-udp.o differ diff --git a/cmake-build-debug/print-usb.o b/cmake-build-debug/print-usb.o new file mode 100644 index 0000000..5829315 Binary files /dev/null and b/cmake-build-debug/print-usb.o differ diff --git a/cmake-build-debug/print-vjc.o b/cmake-build-debug/print-vjc.o new file mode 100644 index 0000000..8942e0a Binary files /dev/null and b/cmake-build-debug/print-vjc.o differ diff --git a/cmake-build-debug/print-vqp.o b/cmake-build-debug/print-vqp.o new file mode 100644 index 0000000..57a8ec4 Binary files /dev/null and b/cmake-build-debug/print-vqp.o differ diff --git a/cmake-build-debug/print-vrrp.o b/cmake-build-debug/print-vrrp.o new file mode 100644 index 0000000..d4e0d6c Binary files /dev/null and b/cmake-build-debug/print-vrrp.o differ diff --git a/cmake-build-debug/print-vtp.o b/cmake-build-debug/print-vtp.o new file mode 100644 index 0000000..c2b8cab Binary files /dev/null and b/cmake-build-debug/print-vtp.o differ diff --git a/cmake-build-debug/print-vxlan-gpe.o b/cmake-build-debug/print-vxlan-gpe.o new file mode 100644 index 0000000..2739907 Binary files /dev/null and b/cmake-build-debug/print-vxlan-gpe.o differ diff --git a/cmake-build-debug/print-vxlan.o b/cmake-build-debug/print-vxlan.o new file mode 100644 index 0000000..2becb77 Binary files /dev/null and b/cmake-build-debug/print-vxlan.o differ diff --git a/cmake-build-debug/print-wb.o b/cmake-build-debug/print-wb.o new file mode 100644 index 0000000..2612ec3 Binary files /dev/null and b/cmake-build-debug/print-wb.o differ diff --git a/cmake-build-debug/print-zephyr.o b/cmake-build-debug/print-zephyr.o new file mode 100644 index 0000000..a7ebcba Binary files /dev/null and b/cmake-build-debug/print-zephyr.o differ diff --git a/cmake-build-debug/print-zeromq.o b/cmake-build-debug/print-zeromq.o new file mode 100644 index 0000000..9aa4a45 Binary files /dev/null and b/cmake-build-debug/print-zeromq.o differ diff --git a/cmake-build-debug/print.o b/cmake-build-debug/print.o new file mode 100644 index 0000000..b913794 Binary files /dev/null and b/cmake-build-debug/print.o differ diff --git a/cmake-build-debug/setsignal.o b/cmake-build-debug/setsignal.o new file mode 100644 index 0000000..10fc969 Binary files /dev/null and b/cmake-build-debug/setsignal.o differ diff --git a/cmake-build-debug/signature.o b/cmake-build-debug/signature.o new file mode 100644 index 0000000..da88e8d Binary files /dev/null and b/cmake-build-debug/signature.o differ diff --git a/cmake-build-debug/smbutil.o b/cmake-build-debug/smbutil.o new file mode 100644 index 0000000..083426b Binary files /dev/null and b/cmake-build-debug/smbutil.o differ diff --git a/cmake-build-debug/strlcat.o b/cmake-build-debug/strlcat.o new file mode 100644 index 0000000..29a9640 Binary files /dev/null and b/cmake-build-debug/strlcat.o differ diff --git a/cmake-build-debug/strlcpy.o b/cmake-build-debug/strlcpy.o new file mode 100644 index 0000000..28f21c9 Binary files /dev/null and b/cmake-build-debug/strlcpy.o differ diff --git a/cmake-build-debug/strtoaddr.o b/cmake-build-debug/strtoaddr.o new file mode 100644 index 0000000..b630736 Binary files /dev/null and b/cmake-build-debug/strtoaddr.o differ diff --git a/cmake-build-debug/tcpdump b/cmake-build-debug/tcpdump new file mode 100755 index 0000000..5f5892a Binary files /dev/null and b/cmake-build-debug/tcpdump differ diff --git a/cmake-build-debug/tcpdump.1 b/cmake-build-debug/tcpdump.1 new file mode 100644 index 0000000..2f2d65d --- /dev/null +++ b/cmake-build-debug/tcpdump.1 @@ -0,0 +1,1975 @@ +.\" $NetBSD: tcpdump.8,v 1.9 2003/03/31 00:18:17 perry Exp $ +.\" +.\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997 +.\" The Regents of the University of California. All rights reserved. +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that: (1) source code distributions +.\" retain the above copyright notice and this paragraph in its entirety, (2) +.\" distributions including binary code include the above copyright notice and +.\" this paragraph in its entirety in the documentation or other materials +.\" provided with the distribution, and (3) all advertising materials mentioning +.\" features or use of this software display the following acknowledgement: +.\" ``This product includes software developed by the University of California, +.\" Lawrence Berkeley Laboratory and its contributors.'' Neither the name of +.\" the University nor the names of its contributors may be used to endorse +.\" or promote products derived from this software without specific prior +.\" written permission. +.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +.\" +.TH TCPDUMP 1 "17 September 2015" +.SH NAME +tcpdump \- dump traffic on a network +.SH SYNOPSIS +.na +.B tcpdump +[ +.B \-AbdDefhHIJKlLnNOpqStuUvxX# +] [ +.B \-B +.I buffer_size +] +.br +.ti +8 +[ +.B \-c +.I count +] +.br +.ti +8 +[ +.B \-C +.I file_size +] [ +.B \-G +.I rotate_seconds +] [ +.B \-F +.I file +] +.br +.ti +8 +[ +.B \-i +.I interface +] +[ +.B \-j +.I tstamp_type +] +[ +.B \-m +.I module +] +[ +.B \-M +.I secret +] +.br +.ti +8 +[ +.B \-\-number +] +[ +.B \-Q +.I in|out|inout +] +.ti +8 +[ +.B \-r +.I file +] +[ +.B \-V +.I file +] +[ +.B \-s +.I snaplen +] +[ +.B \-T +.I type +] +[ +.B \-w +.I file +] +.br +.ti +8 +[ +.B \-W +.I filecount +] +.br +.ti +8 +[ +.B \-E +.I spi@ipaddr algo:secret,... +] +.br +.ti +8 +[ +.B \-y +.I datalinktype +] +[ +.B \-z +.I postrotate-command +] +[ +.B \-Z +.I user +] +.ti +8 +[ +.BI \-\-time\-stamp\-precision= tstamp_precision +] +.ti +8 +[ +.B \-\-immediate\-mode +] +[ +.B \-\-version +] +.ti +8 +[ +.I expression +] +.br +.ad +.SH DESCRIPTION +.LP +\fITcpdump\fP prints out a description of the contents of packets on a +network interface that match the boolean \fIexpression\fP; the +description is preceded by a time stamp, printed, by default, as hours, +minutes, seconds, and fractions of a second since midnight. It can also +be run with the +.B \-w +flag, which causes it to save the packet data to a file for later +analysis, and/or with the +.B \-r +flag, which causes it to read from a saved packet file rather than to +read packets from a network interface. It can also be run with the +.B \-V +flag, which causes it to read a list of saved packet files. In all cases, +only packets that match +.I expression +will be processed by +.IR tcpdump . +.LP +.I Tcpdump +will, if not run with the +.B \-c +flag, continue capturing packets until it is interrupted by a SIGINT +signal (generated, for example, by typing your interrupt character, +typically control-C) or a SIGTERM signal (typically generated with the +.BR kill (1) +command); if run with the +.B \-c +flag, it will capture packets until it is interrupted by a SIGINT or +SIGTERM signal or the specified number of packets have been processed. +.LP +When +.I tcpdump +finishes capturing packets, it will report counts of: +.IP +packets ``captured'' (this is the number of packets that +.I tcpdump +has received and processed); +.IP +packets ``received by filter'' (the meaning of this depends on the OS on +which you're running +.IR tcpdump , +and possibly on the way the OS was configured - if a filter was +specified on the command line, on some OSes it counts packets regardless +of whether they were matched by the filter expression and, even if they +were matched by the filter expression, regardless of whether +.I tcpdump +has read and processed them yet, on other OSes it counts only packets that were +matched by the filter expression regardless of whether +.I tcpdump +has read and processed them yet, and on other OSes it counts only +packets that were matched by the filter expression and were processed by +.IR tcpdump ); +.IP +packets ``dropped by kernel'' (this is the number of packets that were +dropped, due to a lack of buffer space, by the packet capture mechanism +in the OS on which +.I tcpdump +is running, if the OS reports that information to applications; if not, +it will be reported as 0). +.LP +On platforms that support the SIGINFO signal, such as most BSDs +(including Mac OS X) and Digital/Tru64 UNIX, it will report those counts +when it receives a SIGINFO signal (generated, for example, by typing +your ``status'' character, typically control-T, although on some +platforms, such as Mac OS X, the ``status'' character is not set by +default, so you must set it with +.BR stty (1) +in order to use it) and will continue capturing packets. On platforms that +do not support the SIGINFO signal, the same can be achieved by using the +SIGUSR1 signal. +.LP +Reading packets from a network interface may require that you have +special privileges; see the +.B pcap (3PCAP) +man page for details. Reading a saved packet file doesn't require +special privileges. +.SH OPTIONS +.TP +.B \-A +Print each packet (minus its link level header) in ASCII. Handy for +capturing web pages. +.TP +.B \-b +Print the AS number in BGP packets in ASDOT notation rather than ASPLAIN +notation. +.TP +.BI \-B " buffer_size" +.PD 0 +.TP +.BI \-\-buffer\-size= buffer_size +.PD +Set the operating system capture buffer size to \fIbuffer_size\fP, in +units of KiB (1024 bytes). +.TP +.BI \-c " count" +Exit after receiving \fIcount\fP packets. +.TP +.BI \-C " file_size" +Before writing a raw packet to a savefile, check whether the file is +currently larger than \fIfile_size\fP and, if so, close the current +savefile and open a new one. Savefiles after the first savefile will +have the name specified with the +.B \-w +flag, with a number after it, starting at 1 and continuing upward. +The units of \fIfile_size\fP are millions of bytes (1,000,000 bytes, +not 1,048,576 bytes). +.TP +.B \-d +Dump the compiled packet-matching code in a human readable form to +standard output and stop. +.TP +.B \-dd +Dump packet-matching code as a +.B C +program fragment. +.TP +.B \-ddd +Dump packet-matching code as decimal numbers (preceded with a count). +.TP +.B \-D +.PD 0 +.TP +.B \-\-list\-interfaces +.PD +Print the list of the network interfaces available on the system and on +which +.I tcpdump +can capture packets. For each network interface, a number and an +interface name, possibly followed by a text description of the +interface, is printed. The interface name or the number can be supplied +to the +.B \-i +flag to specify an interface on which to capture. +.IP +This can be useful on systems that don't have a command to list them +(e.g., Windows systems, or UNIX systems lacking +.BR "ifconfig \-a" ); +the number can be useful on Windows 2000 and later systems, where the +interface name is a somewhat complex string. +.IP +The +.B \-D +flag will not be supported if +.I tcpdump +was built with an older version of +.I libpcap +that lacks the +.B pcap_findalldevs() +function. +.TP +.B \-e +Print the link-level header on each dump line. This can be used, for +example, to print MAC layer addresses for protocols such as Ethernet and +IEEE 802.11. +.TP +.B \-E +Use \fIspi@ipaddr algo:secret\fP for decrypting IPsec ESP packets that +are addressed to \fIaddr\fP and contain Security Parameter Index value +\fIspi\fP. This combination may be repeated with comma or newline separation. +.IP +Note that setting the secret for IPv4 ESP packets is supported at this time. +.IP +Algorithms may be +\fBdes-cbc\fP, +\fB3des-cbc\fP, +\fBblowfish-cbc\fP, +\fBrc3-cbc\fP, +\fBcast128-cbc\fP, or +\fBnone\fP. +The default is \fBdes-cbc\fP. +The ability to decrypt packets is only present if \fItcpdump\fP was compiled +with cryptography enabled. +.IP +\fIsecret\fP is the ASCII text for ESP secret key. +If preceded by 0x, then a hex value will be read. +.IP +The option assumes RFC2406 ESP, not RFC1827 ESP. +The option is only for debugging purposes, and +the use of this option with a true `secret' key is discouraged. +By presenting IPsec secret key onto command line +you make it visible to others, via +.IR ps (1) +and other occasions. +.IP +In addition to the above syntax, the syntax \fIfile name\fP may be used +to have tcpdump read the provided file in. The file is opened upon +receiving the first ESP packet, so any special permissions that tcpdump +may have been given should already have been given up. +.TP +.B \-f +Print `foreign' IPv4 addresses numerically rather than symbolically +(this option is intended to get around serious brain damage in +Sun's NIS server \(em usually it hangs forever translating non-local +internet numbers). +.IP +The test for `foreign' IPv4 addresses is done using the IPv4 address and +netmask of the interface on which capture is being done. If that +address or netmask are not available, available, either because the +interface on which capture is being done has no address or netmask or +because the capture is being done on the Linux "any" interface, which +can capture on more than one interface, this option will not work +correctly. +.TP +.BI \-F " file" +Use \fIfile\fP as input for the filter expression. +An additional expression given on the command line is ignored. +.TP +.BI \-G " rotate_seconds" +If specified, rotates the dump file specified with the +.B \-w +option every \fIrotate_seconds\fP seconds. +Savefiles will have the name specified by +.B \-w +which should include a time format as defined by +.BR strftime (3). +If no time format is specified, each new file will overwrite the previous. +.IP +If used in conjunction with the +.B \-C +option, filenames will take the form of `\fIfile\fP'. +.TP +.B \-h +.PD 0 +.TP +.B \-\-help +.PD +Print the tcpdump and libpcap version strings, print a usage message, +and exit. +.TP +.B \-\-version +.PD +Print the tcpdump and libpcap version strings and exit. +.TP +.B \-H +Attempt to detect 802.11s draft mesh headers. +.TP +.BI \-i " interface" +.PD 0 +.TP +.BI \-\-interface= interface +.PD +Listen on \fIinterface\fP. +If unspecified, \fItcpdump\fP searches the system interface list for the +lowest numbered, configured up interface (excluding loopback), which may turn +out to be, for example, ``eth0''. +.IP +On Linux systems with 2.2 or later kernels, an +.I interface +argument of ``any'' can be used to capture packets from all interfaces. +Note that captures on the ``any'' device will not be done in promiscuous +mode. +.IP +If the +.B \-D +flag is supported, an interface number as printed by that flag can be +used as the +.I interface +argument. +.TP +.B \-I +.PD 0 +.TP +.B \-\-monitor\-mode +.PD +Put the interface in "monitor mode"; this is supported only on IEEE +802.11 Wi-Fi interfaces, and supported only on some operating systems. +.IP +Note that in monitor mode the adapter might disassociate from the +network with which it's associated, so that you will not be able to use +any wireless networks with that adapter. This could prevent accessing +files on a network server, or resolving host names or network addresses, +if you are capturing in monitor mode and are not connected to another +network with another adapter. +.IP +This flag will affect the output of the +.B \-L +flag. If +.B \-I +isn't specified, only those link-layer types available when not in +monitor mode will be shown; if +.B \-I +is specified, only those link-layer types available when in monitor mode +will be shown. +.TP +.BI \-\-immediate\-mode +Capture in "immediate mode". In this mode, packets are delivered to +tcpdump as soon as they arrive, rather than being buffered for +efficiency. This is the default when printing packets rather than +saving packets to a ``savefile'' if the packets are being printed to a +terminal rather than to a file or pipe. +.TP +.BI \-j " tstamp_type" +.PD 0 +.TP +.BI \-\-time\-stamp\-type= tstamp_type +.PD +Set the time stamp type for the capture to \fItstamp_type\fP. The names +to use for the time stamp types are given in +.BR pcap-tstamp (7); +not all the types listed there will necessarily be valid for any given +interface. +.TP +.B \-J +.PD 0 +.TP +.B \-\-list\-time\-stamp\-types +.PD +List the supported time stamp types for the interface and exit. If the +time stamp type cannot be set for the interface, no time stamp types are +listed. +.TP +.BI \-\-time\-stamp\-precision= tstamp_precision +When capturing, set the time stamp precision for the capture to +\fItstamp_precision\fP. Note that availability of high precision time +stamps (nanoseconds) and their actual accuracy is platform and hardware +dependent. Also note that when writing captures made with nanosecond +accuracy to a savefile, the time stamps are written with nanosecond +resolution, and the file is written with a different magic number, to +indicate that the time stamps are in seconds and nanoseconds; not all +programs that read pcap savefiles will be able to read those captures. +.LP +When reading a savefile, convert time stamps to the precision specified +by \fItimestamp_precision\fP, and display them with that resolution. If +the precision specified is less than the precision of time stamps in the +file, the conversion will lose precision. +.LP +The supported values for \fItimestamp_precision\fP are \fBmicro\fP for +microsecond resolution and \fBnano\fP for nanosecond resolution. The +default is microsecond resolution. +.TP +.B \-K +.PD 0 +.TP +.B \-\-dont\-verify\-checksums +.PD +Don't attempt to verify IP, TCP, or UDP checksums. This is useful for +interfaces that perform some or all of those checksum calculation in +hardware; otherwise, all outgoing TCP checksums will be flagged as bad. +.TP +.B \-l +Make stdout line buffered. +Useful if you want to see the data +while capturing it. +E.g., +.IP +.RS +.RS +.nf +\fBtcpdump \-l | tee dat\fP +.fi +.RE +.RE +.IP +or +.IP +.RS +.RS +.nf +\fBtcpdump \-l > dat & tail \-f dat\fP +.fi +.RE +.RE +.IP +Note that on Windows,``line buffered'' means ``unbuffered'', so that +WinDump will write each character individually if +.B \-l +is specified. +.IP +.B \-U +is similar to +.B \-l +in its behavior, but it will cause output to be ``packet-buffered'', so +that the output is written to stdout at the end of each packet rather +than at the end of each line; this is buffered on all platforms, +including Windows. +.TP +.B \-L +.PD 0 +.TP +.B \-\-list\-data\-link\-types +.PD +List the known data link types for the interface, in the specified mode, +and exit. The list of known data link types may be dependent on the +specified mode; for example, on some platforms, a Wi-Fi interface might +support one set of data link types when not in monitor mode (for +example, it might support only fake Ethernet headers, or might support +802.11 headers but not support 802.11 headers with radio information) +and another set of data link types when in monitor mode (for example, it +might support 802.11 headers, or 802.11 headers with radio information, +only in monitor mode). +.TP +.BI \-m " module" +Load SMI MIB module definitions from file \fImodule\fR. +This option +can be used several times to load several MIB modules into \fItcpdump\fP. +.TP +.BI \-M " secret" +Use \fIsecret\fP as a shared secret for validating the digests found in +TCP segments with the TCP-MD5 option (RFC 2385), if present. +.TP +.B \-n +Don't convert addresses (i.e., host addresses, port numbers, etc.) to names. +.TP +.B \-N +Don't print domain name qualification of host names. +E.g., +if you give this flag then \fItcpdump\fP will print ``nic'' +instead of ``nic.ddn.mil''. +.TP +.B \-# +.PD 0 +.TP +.B \-\-number +.PD +Print an optional packet number at the beginning of the line. +.TP +.B \-O +.PD 0 +.TP +.B \-\-no\-optimize +.PD +Do not run the packet-matching code optimizer. +This is useful only +if you suspect a bug in the optimizer. +.TP +.B \-p +.PD 0 +.TP +.B \-\-no\-promiscuous\-mode +.PD +\fIDon't\fP put the interface +into promiscuous mode. +Note that the interface might be in promiscuous +mode for some other reason; hence, `-p' cannot be used as an abbreviation for +`ether host {local-hw-addr} or ether broadcast'. +.TP +.BI \-Q " direction" +.PD 0 +.TP +.BI \-\-direction= direction +.PD +Choose send/receive direction \fIdirection\fR for which packets should be +captured. Possible values are `in', `out' and `inout'. Not available +on all platforms. +.TP +.B \-q +Quick (quiet?) output. +Print less protocol information so output +lines are shorter. +.TP +.BI \-r " file" +Read packets from \fIfile\fR (which was created with the +.B \-w +option or by other tools that write pcap or pcap-ng files). +Standard input is used if \fIfile\fR is ``-''. +.TP +.B \-S +.PD 0 +.TP +.B \-\-absolute\-tcp\-sequence\-numbers +.PD +Print absolute, rather than relative, TCP sequence numbers. +.TP +.BI \-s " snaplen" +.PD 0 +.TP +.BI \-\-snapshot\-length= snaplen +.PD +Snarf \fIsnaplen\fP bytes of data from each packet rather than the +default of 262144 bytes. +Packets truncated because of a limited snapshot +are indicated in the output with ``[|\fIproto\fP]'', where \fIproto\fP +is the name of the protocol level at which the truncation has occurred. +Note that taking larger snapshots both increases +the amount of time it takes to process packets and, effectively, +decreases the amount of packet buffering. +This may cause packets to be +lost. +You should limit \fIsnaplen\fP to the smallest number that will +capture the protocol information you're interested in. +Setting +\fIsnaplen\fP to 0 sets it to the default of 262144, +for backwards compatibility with recent older versions of +.IR tcpdump . +.TP +.BI \-T " type" +Force packets selected by "\fIexpression\fP" to be interpreted the +specified \fItype\fR. +Currently known types are +\fBaodv\fR (Ad-hoc On-demand Distance Vector protocol), +\fBcarp\fR (Common Address Redundancy Protocol), +\fBcnfp\fR (Cisco NetFlow protocol), +\fBlmp\fR (Link Management Protocol), +\fBpgm\fR (Pragmatic General Multicast), +\fBpgm_zmtp1\fR (ZMTP/1.0 inside PGM/EPGM), +\fBresp\fR (REdis Serialization Protocol), +\fBradius\fR (RADIUS), +\fBrpc\fR (Remote Procedure Call), +\fBrtp\fR (Real-Time Applications protocol), +\fBrtcp\fR (Real-Time Applications control protocol), +\fBsnmp\fR (Simple Network Management Protocol), +\fBtftp\fR (Trivial File Transfer Protocol), +\fBvat\fR (Visual Audio Tool), +\fBwb\fR (distributed White Board), +\fBzmtp1\fR (ZeroMQ Message Transport Protocol 1.0) +and +\fBvxlan\fR (Virtual eXtensible Local Area Network). +.IP +Note that the \fBpgm\fR type above affects UDP interpretation only, the native +PGM is always recognised as IP protocol 113 regardless. UDP-encapsulated PGM is +often called "EPGM" or "PGM/UDP". +.IP +Note that the \fBpgm_zmtp1\fR type above affects interpretation of both native +PGM and UDP at once. During the native PGM decoding the application data of an +ODATA/RDATA packet would be decoded as a ZeroMQ datagram with ZMTP/1.0 frames. +During the UDP decoding in addition to that any UDP packet would be treated as +an encapsulated PGM packet. +.TP +.B \-t +\fIDon't\fP print a timestamp on each dump line. +.TP +.B \-tt +Print the timestamp, as seconds since January 1, 1970, 00:00:00, UTC, and +fractions of a second since that time, on each dump line. +.TP +.B \-ttt +Print a delta (micro-second resolution) between current and previous line +on each dump line. +.TP +.B \-tttt +Print a timestamp, as hours, minutes, seconds, and fractions of a second +since midnight, preceded by the date, on each dump line. +.TP +.B \-ttttt +Print a delta (micro-second resolution) between current and first line +on each dump line. +.TP +.B \-u +Print undecoded NFS handles. +.TP +.B \-U +.PD 0 +.TP +.B \-\-packet\-buffered +.PD +If the +.B \-w +option is not specified, make the printed packet output +``packet-buffered''; i.e., as the description of the contents of each +packet is printed, it will be written to the standard output, rather +than, when not writing to a terminal, being written only when the output +buffer fills. +.IP +If the +.B \-w +option is specified, make the saved raw packet output +``packet-buffered''; i.e., as each packet is saved, it will be written +to the output file, rather than being written only when the output +buffer fills. +.IP +The +.B \-U +flag will not be supported if +.I tcpdump +was built with an older version of +.I libpcap +that lacks the +.B pcap_dump_flush() +function. +.TP +.B \-v +When parsing and printing, produce (slightly more) verbose output. +For example, the time to live, +identification, total length and options in an IP packet are printed. +Also enables additional packet integrity checks such as verifying the +IP and ICMP header checksum. +.IP +When writing to a file with the +.B \-w +option, report, every 10 seconds, the number of packets captured. +.TP +.B \-vv +Even more verbose output. +For example, additional fields are +printed from NFS reply packets, and SMB packets are fully decoded. +.TP +.B \-vvv +Even more verbose output. +For example, +telnet \fBSB\fP ... \fBSE\fP options +are printed in full. +With +.B \-X +Telnet options are printed in hex as well. +.TP +.BI \-V " file" +Read a list of filenames from \fIfile\fR. Standard input is used +if \fIfile\fR is ``-''. +.TP +.BI \-w " file" +Write the raw packets to \fIfile\fR rather than parsing and printing +them out. +They can later be printed with the \-r option. +Standard output is used if \fIfile\fR is ``-''. +.IP +This output will be buffered if written to a file or pipe, so a program +reading from the file or pipe may not see packets for an arbitrary +amount of time after they are received. Use the +.B \-U +flag to cause packets to be written as soon as they are received. +.IP +The MIME type \fIapplication/vnd.tcpdump.pcap\fP has been registered +with IANA for \fIpcap\fP files. The filename extension \fI.pcap\fP +appears to be the most commonly used along with \fI.cap\fP and +\fI.dmp\fP. \fITcpdump\fP itself doesn't check the extension when +reading capture files and doesn't add an extension when writing them +(it uses magic numbers in the file header instead). However, many +operating systems and applications will use the extension if it is +present and adding one (e.g. .pcap) is recommended. +.IP +See +.BR pcap-savefile (5) +for a description of the file format. +.TP +.B \-W +Used in conjunction with the +.B \-C +option, this will limit the number +of files created to the specified number, and begin overwriting files +from the beginning, thus creating a 'rotating' buffer. +In addition, it will name +the files with enough leading 0s to support the maximum number of +files, allowing them to sort correctly. +.IP +Used in conjunction with the +.B \-G +option, this will limit the number of rotated dump files that get +created, exiting with status 0 when reaching the limit. If used with +.B \-C +as well, the behavior will result in cyclical files per timeslice. +.TP +.B \-x +When parsing and printing, +in addition to printing the headers of each packet, print the data of +each packet (minus its link level header) in hex. +The smaller of the entire packet or +.I snaplen +bytes will be printed. Note that this is the entire link-layer +packet, so for link layers that pad (e.g. Ethernet), the padding bytes +will also be printed when the higher layer packet is shorter than the +required padding. +.TP +.B \-xx +When parsing and printing, +in addition to printing the headers of each packet, print the data of +each packet, +.I including +its link level header, in hex. +.TP +.B \-X +When parsing and printing, +in addition to printing the headers of each packet, print the data of +each packet (minus its link level header) in hex and ASCII. +This is very handy for analysing new protocols. +.TP +.B \-XX +When parsing and printing, +in addition to printing the headers of each packet, print the data of +each packet, +.I including +its link level header, in hex and ASCII. +.TP +.BI \-y " datalinktype" +.PD 0 +.TP +.BI \-\-linktype= datalinktype +.PD +Set the data link type to use while capturing packets to \fIdatalinktype\fP. +.TP +.BI \-z " postrotate-command" +Used in conjunction with the +.B -C +or +.B -G +options, this will make +.I tcpdump +run " +.I postrotate-command file +" where +.I file +is the savefile being closed after each rotation. For example, specifying +.B \-z gzip +or +.B \-z bzip2 +will compress each savefile using gzip or bzip2. +.IP +Note that tcpdump will run the command in parallel to the capture, using +the lowest priority so that this doesn't disturb the capture process. +.IP +And in case you would like to use a command that itself takes flags or +different arguments, you can always write a shell script that will take the +savefile name as the only argument, make the flags & arguments arrangements +and execute the command that you want. +.TP +.BI \-Z " user" +.PD 0 +.TP +.BI \-\-relinquish\-privileges= user +.PD +If +.I tcpdump +is running as root, after opening the capture device or input savefile, +but before opening any savefiles for output, change the user ID to +.I user +and the group ID to the primary group of +.IR user . +.IP +This behavior can also be enabled by default at compile time. +.IP "\fI expression\fP" +.RS +selects which packets will be dumped. +If no \fIexpression\fP +is given, all packets on the net will be dumped. +Otherwise, +only packets for which \fIexpression\fP is `true' will be dumped. +.LP +For the \fIexpression\fP syntax, see +.BR pcap-filter (7). +.LP +The \fIexpression\fP argument can be passed to \fItcpdump\fP as either a single +Shell argument, or as multiple Shell arguments, whichever is more convenient. +Generally, if the expression contains Shell metacharacters, such as +backslashes used to escape protocol names, it is easier to pass it as +a single, quoted argument rather than to escape the Shell +metacharacters. +Multiple arguments are concatenated with spaces before being parsed. +.SH EXAMPLES +.LP +To print all packets arriving at or departing from \fIsundown\fP: +.RS +.nf +\fBtcpdump host sundown\fP +.fi +.RE +.LP +To print traffic between \fIhelios\fR and either \fIhot\fR or \fIace\fR: +.RS +.nf +\fBtcpdump host helios and \\( hot or ace \\)\fP +.fi +.RE +.LP +To print all IP packets between \fIace\fR and any host except \fIhelios\fR: +.RS +.nf +\fBtcpdump ip host ace and not helios\fP +.fi +.RE +.LP +To print all traffic between local hosts and hosts at Berkeley: +.RS +.nf +.B +tcpdump net ucb-ether +.fi +.RE +.LP +To print all ftp traffic through internet gateway \fIsnup\fP: +(note that the expression is quoted to prevent the shell from +(mis-)interpreting the parentheses): +.RS +.nf +.B +tcpdump 'gateway snup and (port ftp or ftp-data)' +.fi +.RE +.LP +To print traffic neither sourced from nor destined for local hosts +(if you gateway to one other net, this stuff should never make it +onto your local net). +.RS +.nf +.B +tcpdump ip and not net \fIlocalnet\fP +.fi +.RE +.LP +To print the start and end packets (the SYN and FIN packets) of each +TCP conversation that involves a non-local host. +.RS +.nf +.B +tcpdump 'tcp[tcpflags] & (tcp-syn|tcp-fin) != 0 and not src and dst net \fIlocalnet\fP' +.fi +.RE +.LP +To print all IPv4 HTTP packets to and from port 80, i.e. print only +packets that contain data, not, for example, SYN and FIN packets and +ACK-only packets. (IPv6 is left as an exercise for the reader.) +.RS +.nf +.B +tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' +.fi +.RE +.LP +To print IP packets longer than 576 bytes sent through gateway \fIsnup\fP: +.RS +.nf +.B +tcpdump 'gateway snup and ip[2:2] > 576' +.fi +.RE +.LP +To print IP broadcast or multicast packets that were +.I not +sent via Ethernet broadcast or multicast: +.RS +.nf +.B +tcpdump 'ether[0] & 1 = 0 and ip[16] >= 224' +.fi +.RE +.LP +To print all ICMP packets that are not echo requests/replies (i.e., not +ping packets): +.RS +.nf +.B +tcpdump 'icmp[icmptype] != icmp-echo and icmp[icmptype] != icmp-echoreply' +.fi +.RE +.SH OUTPUT FORMAT +.LP +The output of \fItcpdump\fP is protocol dependent. +The following +gives a brief description and examples of most of the formats. +.de HD +.sp 1.5 +.B +.. +.HD +Link Level Headers +.LP +If the '-e' option is given, the link level header is printed out. +On Ethernets, the source and destination addresses, protocol, +and packet length are printed. +.LP +On FDDI networks, the '-e' option causes \fItcpdump\fP to print +the `frame control' field, the source and destination addresses, +and the packet length. +(The `frame control' field governs the +interpretation of the rest of the packet. +Normal packets (such +as those containing IP datagrams) are `async' packets, with a priority +value between 0 and 7; for example, `\fBasync4\fR'. +Such packets +are assumed to contain an 802.2 Logical Link Control (LLC) packet; +the LLC header is printed if it is \fInot\fR an ISO datagram or a +so-called SNAP packet. +.LP +On Token Ring networks, the '-e' option causes \fItcpdump\fP to print +the `access control' and `frame control' fields, the source and +destination addresses, and the packet length. +As on FDDI networks, +packets are assumed to contain an LLC packet. +Regardless of whether +the '-e' option is specified or not, the source routing information is +printed for source-routed packets. +.LP +On 802.11 networks, the '-e' option causes \fItcpdump\fP to print +the `frame control' fields, all of the addresses in the 802.11 header, +and the packet length. +As on FDDI networks, +packets are assumed to contain an LLC packet. +.LP +\fI(N.B.: The following description assumes familiarity with +the SLIP compression algorithm described in RFC-1144.)\fP +.LP +On SLIP links, a direction indicator (``I'' for inbound, ``O'' for outbound), +packet type, and compression information are printed out. +The packet type is printed first. +The three types are \fIip\fP, \fIutcp\fP, and \fIctcp\fP. +No further link information is printed for \fIip\fR packets. +For TCP packets, the connection identifier is printed following the type. +If the packet is compressed, its encoded header is printed out. +The special cases are printed out as +\fB*S+\fIn\fR and \fB*SA+\fIn\fR, where \fIn\fR is the amount by which +the sequence number (or sequence number and ack) has changed. +If it is not a special case, +zero or more changes are printed. +A change is indicated by U (urgent pointer), W (window), A (ack), +S (sequence number), and I (packet ID), followed by a delta (+n or -n), +or a new value (=n). +Finally, the amount of data in the packet and compressed header length +are printed. +.LP +For example, the following line shows an outbound compressed TCP packet, +with an implicit connection identifier; the ack has changed by 6, +the sequence number by 49, and the packet ID by 6; there are 3 bytes of +data and 6 bytes of compressed header: +.RS +.nf +\fBO ctcp * A+6 S+49 I+6 3 (6)\fP +.fi +.RE +.HD +ARP/RARP Packets +.LP +Arp/rarp output shows the type of request and its arguments. +The +format is intended to be self explanatory. +Here is a short sample taken from the start of an `rlogin' from +host \fIrtsg\fP to host \fIcsam\fP: +.RS +.nf +.sp .5 +\f(CWarp who-has csam tell rtsg +arp reply csam is-at CSAM\fR +.sp .5 +.fi +.RE +The first line says that rtsg sent an arp packet asking +for the Ethernet address of internet host csam. +Csam +replies with its Ethernet address (in this example, Ethernet addresses +are in caps and internet addresses in lower case). +.LP +This would look less redundant if we had done \fItcpdump \-n\fP: +.RS +.nf +.sp .5 +\f(CWarp who-has 128.3.254.6 tell 128.3.254.68 +arp reply 128.3.254.6 is-at 02:07:01:00:01:c4\fP +.fi +.RE +.LP +If we had done \fItcpdump \-e\fP, the fact that the first packet is +broadcast and the second is point-to-point would be visible: +.RS +.nf +.sp .5 +\f(CWRTSG Broadcast 0806 64: arp who-has csam tell rtsg +CSAM RTSG 0806 64: arp reply csam is-at CSAM\fR +.sp .5 +.fi +.RE +For the first packet this says the Ethernet source address is RTSG, the +destination is the Ethernet broadcast address, the type field +contained hex 0806 (type ETHER_ARP) and the total length was 64 bytes. +.HD +TCP Packets +.LP +\fI(N.B.:The following description assumes familiarity with +the TCP protocol described in RFC-793. +If you are not familiar +with the protocol, neither this description nor \fItcpdump\fP will +be of much use to you.)\fP +.LP +The general format of a tcp protocol line is: +.RS +.nf +.sp .5 +\fIsrc > dst: flags data-seqno ack window urgent options\fP +.sp .5 +.fi +.RE +\fISrc\fP and \fIdst\fP are the source and destination IP +addresses and ports. +\fIFlags\fP are some combination of S (SYN), +F (FIN), P (PUSH), R (RST), U (URG), W (ECN CWR), E (ECN-Echo) or +`.' (ACK), or `none' if no flags are set. +\fIData-seqno\fP describes the portion of sequence space covered +by the data in this packet (see example below). +\fIAck\fP is sequence number of the next data expected the other +direction on this connection. +\fIWindow\fP is the number of bytes of receive buffer space available +the other direction on this connection. +\fIUrg\fP indicates there is `urgent' data in the packet. +\fIOptions\fP are tcp options enclosed in angle brackets (e.g., ). +.LP +\fISrc, dst\fP and \fIflags\fP are always present. +The other fields +depend on the contents of the packet's tcp protocol header and +are output only if appropriate. +.LP +Here is the opening portion of an rlogin from host \fIrtsg\fP to +host \fIcsam\fP. +.RS +.nf +.sp .5 +\s-2\f(CWrtsg.1023 > csam.login: S 768512:768512(0) win 4096 +csam.login > rtsg.1023: S 947648:947648(0) ack 768513 win 4096 +rtsg.1023 > csam.login: . ack 1 win 4096 +rtsg.1023 > csam.login: P 1:2(1) ack 1 win 4096 +csam.login > rtsg.1023: . ack 2 win 4096 +rtsg.1023 > csam.login: P 2:21(19) ack 1 win 4096 +csam.login > rtsg.1023: P 1:2(1) ack 21 win 4077 +csam.login > rtsg.1023: P 2:3(1) ack 21 win 4077 urg 1 +csam.login > rtsg.1023: P 3:4(1) ack 21 win 4077 urg 1\fR\s+2 +.sp .5 +.fi +.RE +The first line says that tcp port 1023 on rtsg sent a packet +to port \fIlogin\fP +on csam. +The \fBS\fP indicates that the \fISYN\fP flag was set. +The packet sequence number was 768512 and it contained no data. +(The notation is `first:last(nbytes)' which means `sequence +numbers \fIfirst\fP +up to but not including \fIlast\fP which is \fInbytes\fP bytes of user data'.) +There was no piggy-backed ack, the available receive window was 4096 +bytes and there was a max-segment-size option requesting an mss of +1024 bytes. +.LP +Csam replies with a similar packet except it includes a piggy-backed +ack for rtsg's SYN. +Rtsg then acks csam's SYN. +The `.' means the ACK flag was set. +The packet contained no data so there is no data sequence number. +Note that the ack sequence +number is a small integer (1). +The first time \fItcpdump\fP sees a +tcp `conversation', it prints the sequence number from the packet. +On subsequent packets of the conversation, the difference between +the current packet's sequence number and this initial sequence number +is printed. +This means that sequence numbers after the +first can be interpreted +as relative byte positions in the conversation's data stream (with the +first data byte each direction being `1'). +`-S' will override this +feature, causing the original sequence numbers to be output. +.LP +On the 6th line, rtsg sends csam 19 bytes of data (bytes 2 through 20 +in the rtsg \(-> csam side of the conversation). +The PUSH flag is set in the packet. +On the 7th line, csam says it's received data sent by rtsg up to +but not including byte 21. +Most of this data is apparently sitting in the +socket buffer since csam's receive window has gotten 19 bytes smaller. +Csam also sends one byte of data to rtsg in this packet. +On the 8th and 9th lines, +csam sends two bytes of urgent, pushed data to rtsg. +.LP +If the snapshot was small enough that \fItcpdump\fP didn't capture +the full TCP header, it interprets as much of the header as it can +and then reports ``[|\fItcp\fP]'' to indicate the remainder could not +be interpreted. +If the header contains a bogus option (one with a length +that's either too small or beyond the end of the header), \fItcpdump\fP +reports it as ``[\fIbad opt\fP]'' and does not interpret any further +options (since it's impossible to tell where they start). +If the header +length indicates options are present but the IP datagram length is not +long enough for the options to actually be there, \fItcpdump\fP reports +it as ``[\fIbad hdr length\fP]''. +.HD +.B Capturing TCP packets with particular flag combinations (SYN-ACK, URG-ACK, etc.) +.PP +There are 8 bits in the control bits section of the TCP header: +.IP +.I CWR | ECE | URG | ACK | PSH | RST | SYN | FIN +.PP +Let's assume that we want to watch packets used in establishing +a TCP connection. +Recall that TCP uses a 3-way handshake protocol +when it initializes a new connection; the connection sequence with +regard to the TCP control bits is +.PP +.RS +1) Caller sends SYN +.RE +.RS +2) Recipient responds with SYN, ACK +.RE +.RS +3) Caller sends ACK +.RE +.PP +Now we're interested in capturing packets that have only the +SYN bit set (Step 1). +Note that we don't want packets from step 2 +(SYN-ACK), just a plain initial SYN. +What we need is a correct filter +expression for \fItcpdump\fP. +.PP +Recall the structure of a TCP header without options: +.PP +.nf + 0 15 31 +----------------------------------------------------------------- +| source port | destination port | +----------------------------------------------------------------- +| sequence number | +----------------------------------------------------------------- +| acknowledgment number | +----------------------------------------------------------------- +| HL | rsvd |C|E|U|A|P|R|S|F| window size | +----------------------------------------------------------------- +| TCP checksum | urgent pointer | +----------------------------------------------------------------- +.fi +.PP +A TCP header usually holds 20 octets of data, unless options are +present. +The first line of the graph contains octets 0 - 3, the +second line shows octets 4 - 7 etc. +.PP +Starting to count with 0, the relevant TCP control bits are contained +in octet 13: +.PP +.nf + 0 7| 15| 23| 31 +----------------|---------------|---------------|---------------- +| HL | rsvd |C|E|U|A|P|R|S|F| window size | +----------------|---------------|---------------|---------------- +| | 13th octet | | | +.fi +.PP +Let's have a closer look at octet no. 13: +.PP +.nf + | | + |---------------| + |C|E|U|A|P|R|S|F| + |---------------| + |7 5 3 0| +.fi +.PP +These are the TCP control bits we are interested +in. +We have numbered the bits in this octet from 0 to 7, right to +left, so the PSH bit is bit number 3, while the URG bit is number 5. +.PP +Recall that we want to capture packets with only SYN set. +Let's see what happens to octet 13 if a TCP datagram arrives +with the SYN bit set in its header: +.PP +.nf + |C|E|U|A|P|R|S|F| + |---------------| + |0 0 0 0 0 0 1 0| + |---------------| + |7 6 5 4 3 2 1 0| +.fi +.PP +Looking at the +control bits section we see that only bit number 1 (SYN) is set. +.PP +Assuming that octet number 13 is an 8-bit unsigned integer in +network byte order, the binary value of this octet is +.IP +00000010 +.PP +and its decimal representation is +.PP +.nf + 7 6 5 4 3 2 1 0 +0*2 + 0*2 + 0*2 + 0*2 + 0*2 + 0*2 + 1*2 + 0*2 = 2 +.fi +.PP +We're almost done, because now we know that if only SYN is set, +the value of the 13th octet in the TCP header, when interpreted +as a 8-bit unsigned integer in network byte order, must be exactly 2. +.PP +This relationship can be expressed as +.RS +.B +tcp[13] == 2 +.RE +.PP +We can use this expression as the filter for \fItcpdump\fP in order +to watch packets which have only SYN set: +.RS +.B +tcpdump -i xl0 tcp[13] == 2 +.RE +.PP +The expression says "let the 13th octet of a TCP datagram have +the decimal value 2", which is exactly what we want. +.PP +Now, let's assume that we need to capture SYN packets, but we +don't care if ACK or any other TCP control bit is set at the +same time. +Let's see what happens to octet 13 when a TCP datagram +with SYN-ACK set arrives: +.PP +.nf + |C|E|U|A|P|R|S|F| + |---------------| + |0 0 0 1 0 0 1 0| + |---------------| + |7 6 5 4 3 2 1 0| +.fi +.PP +Now bits 1 and 4 are set in the 13th octet. +The binary value of +octet 13 is +.IP + 00010010 +.PP +which translates to decimal +.PP +.nf + 7 6 5 4 3 2 1 0 +0*2 + 0*2 + 0*2 + 1*2 + 0*2 + 0*2 + 1*2 + 0*2 = 18 +.fi +.PP +Now we can't just use 'tcp[13] == 18' in the \fItcpdump\fP filter +expression, because that would select only those packets that have +SYN-ACK set, but not those with only SYN set. +Remember that we don't care +if ACK or any other control bit is set as long as SYN is set. +.PP +In order to achieve our goal, we need to logically AND the +binary value of octet 13 with some other value to preserve +the SYN bit. +We know that we want SYN to be set in any case, +so we'll logically AND the value in the 13th octet with +the binary value of a SYN: +.PP +.nf + + 00010010 SYN-ACK 00000010 SYN + AND 00000010 (we want SYN) AND 00000010 (we want SYN) + -------- -------- + = 00000010 = 00000010 +.fi +.PP +We see that this AND operation delivers the same result +regardless whether ACK or another TCP control bit is set. +The decimal representation of the AND value as well as +the result of this operation is 2 (binary 00000010), +so we know that for packets with SYN set the following +relation must hold true: +.IP +( ( value of octet 13 ) AND ( 2 ) ) == ( 2 ) +.PP +This points us to the \fItcpdump\fP filter expression +.RS +.B + tcpdump -i xl0 'tcp[13] & 2 == 2' +.RE +.PP +Some offsets and field values may be expressed as names +rather than as numeric values. For example tcp[13] may +be replaced with tcp[tcpflags]. The following TCP flag +field values are also available: tcp-fin, tcp-syn, tcp-rst, +tcp-push, tcp-act, tcp-urg. +.PP +This can be demonstrated as: +.RS +.B + tcpdump -i xl0 'tcp[tcpflags] & tcp-push != 0' +.RE +.PP +Note that you should use single quotes or a backslash +in the expression to hide the AND ('&') special character +from the shell. +.HD +.B +UDP Packets +.LP +UDP format is illustrated by this rwho packet: +.RS +.nf +.sp .5 +\f(CWactinide.who > broadcast.who: udp 84\fP +.sp .5 +.fi +.RE +This says that port \fIwho\fP on host \fIactinide\fP sent a udp +datagram to port \fIwho\fP on host \fIbroadcast\fP, the Internet +broadcast address. +The packet contained 84 bytes of user data. +.LP +Some UDP services are recognized (from the source or destination +port number) and the higher level protocol information printed. +In particular, Domain Name service requests (RFC-1034/1035) and Sun +RPC calls (RFC-1050) to NFS. +.HD +UDP Name Server Requests +.LP +\fI(N.B.:The following description assumes familiarity with +the Domain Service protocol described in RFC-1035. +If you are not familiar +with the protocol, the following description will appear to be written +in greek.)\fP +.LP +Name server requests are formatted as +.RS +.nf +.sp .5 +\fIsrc > dst: id op? flags qtype qclass name (len)\fP +.sp .5 +\f(CWh2opolo.1538 > helios.domain: 3+ A? ucbvax.berkeley.edu. (37)\fR +.sp .5 +.fi +.RE +Host \fIh2opolo\fP asked the domain server on \fIhelios\fP for an +address record (qtype=A) associated with the name \fIucbvax.berkeley.edu.\fP +The query id was `3'. +The `+' indicates the \fIrecursion desired\fP flag +was set. +The query length was 37 bytes, not including the UDP and +IP protocol headers. +The query operation was the normal one, \fIQuery\fP, +so the op field was omitted. +If the op had been anything else, it would +have been printed between the `3' and the `+'. +Similarly, the qclass was the normal one, +\fIC_IN\fP, and omitted. +Any other qclass would have been printed +immediately after the `A'. +.LP +A few anomalies are checked and may result in extra fields enclosed in +square brackets: If a query contains an answer, authority records or +additional records section, +.IR ancount , +.IR nscount , +or +.I arcount +are printed as `[\fIn\fPa]', `[\fIn\fPn]' or `[\fIn\fPau]' where \fIn\fP +is the appropriate count. +If any of the response bits are set (AA, RA or rcode) or any of the +`must be zero' bits are set in bytes two and three, `[b2&3=\fIx\fP]' +is printed, where \fIx\fP is the hex value of header bytes two and three. +.HD +UDP Name Server Responses +.LP +Name server responses are formatted as +.RS +.nf +.sp .5 +\fIsrc > dst: id op rcode flags a/n/au type class data (len)\fP +.sp .5 +\f(CWhelios.domain > h2opolo.1538: 3 3/3/7 A 128.32.137.3 (273) +helios.domain > h2opolo.1537: 2 NXDomain* 0/1/0 (97)\fR +.sp .5 +.fi +.RE +In the first example, \fIhelios\fP responds to query id 3 from \fIh2opolo\fP +with 3 answer records, 3 name server records and 7 additional records. +The first answer record is type A (address) and its data is internet +address 128.32.137.3. +The total size of the response was 273 bytes, +excluding UDP and IP headers. +The op (Query) and response code +(NoError) were omitted, as was the class (C_IN) of the A record. +.LP +In the second example, \fIhelios\fP responds to query 2 with a +response code of non-existent domain (NXDomain) with no answers, +one name server and no authority records. +The `*' indicates that +the \fIauthoritative answer\fP bit was set. +Since there were no +answers, no type, class or data were printed. +.LP +Other flag characters that might appear are `\-' (recursion available, +RA, \fInot\fP set) and `|' (truncated message, TC, set). +If the +`question' section doesn't contain exactly one entry, `[\fIn\fPq]' +is printed. +.HD +SMB/CIFS decoding +.LP +\fItcpdump\fP now includes fairly extensive SMB/CIFS/NBT decoding for data +on UDP/137, UDP/138 and TCP/139. +Some primitive decoding of IPX and +NetBEUI SMB data is also done. +.LP +By default a fairly minimal decode is done, with a much more detailed +decode done if -v is used. +Be warned that with -v a single SMB packet +may take up a page or more, so only use -v if you really want all the +gory details. +.LP +For information on SMB packet formats and what all the fields mean see +www.cifs.org or the pub/samba/specs/ directory on your favorite +samba.org mirror site. +The SMB patches were written by Andrew Tridgell +(tridge@samba.org). +.HD +NFS Requests and Replies +.LP +Sun NFS (Network File System) requests and replies are printed as: +.RS +.nf +.sp .5 +\fIsrc.sport > dst.nfs: NFS request xid xid len op args\fP +\fIsrc.nfs > dst.dport: NFS reply xid xid reply stat len op results\fP +.sp .5 +\f(CW +sushi.1023 > wrl.nfs: NFS request xid 26377 + 112 readlink fh 21,24/10.73165 +wrl.nfs > sushi.1023: NFS reply xid 26377 + reply ok 40 readlink "../var" +sushi.1022 > wrl.nfs: NFS request xid 8219 + 144 lookup fh 9,74/4096.6878 "xcolors" +wrl.nfs > sushi.1022: NFS reply xid 8219 + reply ok 128 lookup fh 9,74/4134.3150 +\fR +.sp .5 +.fi +.RE +In the first line, host \fIsushi\fP sends a transaction with id \fI26377\fP +to \fIwrl\fP. +The request was 112 bytes, +excluding the UDP and IP headers. +The operation was a \fIreadlink\fP +(read symbolic link) on file handle (\fIfh\fP) 21,24/10.731657119. +(If one is lucky, as in this case, the file handle can be interpreted +as a major,minor device number pair, followed by the inode number and +generation number.) In the second line, \fIwrl\fP replies `ok' with +the same transaction id and the contents of the link. +.LP +In the third line, \fIsushi\fP asks (using a new transaction id) \fIwrl\fP +to lookup the name `\fIxcolors\fP' in directory file 9,74/4096.6878. In +the fourth line, \fIwrl\fP sends a reply with the respective transaction id. +.LP +Note that the data printed +depends on the operation type. +The format is intended to be self +explanatory if read in conjunction with +an NFS protocol spec. +Also note that older versions of tcpdump printed NFS packets in a +slightly different format: the transaction id (xid) would be printed +instead of the non-NFS port number of the packet. +.LP +If the \-v (verbose) flag is given, additional information is printed. +For example: +.RS +.nf +.sp .5 +\f(CW +sushi.1023 > wrl.nfs: NFS request xid 79658 + 148 read fh 21,11/12.195 8192 bytes @ 24576 +wrl.nfs > sushi.1023: NFS reply xid 79658 + reply ok 1472 read REG 100664 ids 417/0 sz 29388 +\fP +.sp .5 +.fi +.RE +(\-v also prints the IP header TTL, ID, length, and fragmentation fields, +which have been omitted from this example.) In the first line, +\fIsushi\fP asks \fIwrl\fP to read 8192 bytes from file 21,11/12.195, +at byte offset 24576. +\fIWrl\fP replies `ok'; the packet shown on the +second line is the first fragment of the reply, and hence is only 1472 +bytes long (the other bytes will follow in subsequent fragments, but +these fragments do not have NFS or even UDP headers and so might not be +printed, depending on the filter expression used). +Because the \-v flag +is given, some of the file attributes (which are returned in addition +to the file data) are printed: the file type (``REG'', for regular file), +the file mode (in octal), the uid and gid, and the file size. +.LP +If the \-v flag is given more than once, even more details are printed. +.LP +Note that NFS requests are very large and much of the detail won't be printed +unless \fIsnaplen\fP is increased. +Try using `\fB\-s 192\fP' to watch +NFS traffic. +.LP +NFS reply packets do not explicitly identify the RPC operation. +Instead, +\fItcpdump\fP keeps track of ``recent'' requests, and matches them to the +replies using the transaction ID. +If a reply does not closely follow the +corresponding request, it might not be parsable. +.HD +AFS Requests and Replies +.LP +Transarc AFS (Andrew File System) requests and replies are printed +as: +.HD +.RS +.nf +.sp .5 +\fIsrc.sport > dst.dport: rx packet-type\fP +\fIsrc.sport > dst.dport: rx packet-type service call call-name args\fP +\fIsrc.sport > dst.dport: rx packet-type service reply call-name args\fP +.sp .5 +\f(CW +elvis.7001 > pike.afsfs: + rx data fs call rename old fid 536876964/1/1 ".newsrc.new" + new fid 536876964/1/1 ".newsrc" +pike.afsfs > elvis.7001: rx data fs reply rename +\fR +.sp .5 +.fi +.RE +In the first line, host elvis sends a RX packet to pike. +This was +a RX data packet to the fs (fileserver) service, and is the start of +an RPC call. +The RPC call was a rename, with the old directory file id +of 536876964/1/1 and an old filename of `.newsrc.new', and a new directory +file id of 536876964/1/1 and a new filename of `.newsrc'. +The host pike +responds with a RPC reply to the rename call (which was successful, because +it was a data packet and not an abort packet). +.LP +In general, all AFS RPCs are decoded at least by RPC call name. +Most +AFS RPCs have at least some of the arguments decoded (generally only +the `interesting' arguments, for some definition of interesting). +.LP +The format is intended to be self-describing, but it will probably +not be useful to people who are not familiar with the workings of +AFS and RX. +.LP +If the -v (verbose) flag is given twice, acknowledgement packets and +additional header information is printed, such as the RX call ID, +call number, sequence number, serial number, and the RX packet flags. +.LP +If the -v flag is given twice, additional information is printed, +such as the RX call ID, serial number, and the RX packet flags. +The MTU negotiation information is also printed from RX ack packets. +.LP +If the -v flag is given three times, the security index and service id +are printed. +.LP +Error codes are printed for abort packets, with the exception of Ubik +beacon packets (because abort packets are used to signify a yes vote +for the Ubik protocol). +.LP +Note that AFS requests are very large and many of the arguments won't +be printed unless \fIsnaplen\fP is increased. +Try using `\fB-s 256\fP' +to watch AFS traffic. +.LP +AFS reply packets do not explicitly identify the RPC operation. +Instead, +\fItcpdump\fP keeps track of ``recent'' requests, and matches them to the +replies using the call number and service ID. +If a reply does not closely +follow the +corresponding request, it might not be parsable. + +.HD +KIP AppleTalk (DDP in UDP) +.LP +AppleTalk DDP packets encapsulated in UDP datagrams are de-encapsulated +and dumped as DDP packets (i.e., all the UDP header information is +discarded). +The file +.I /etc/atalk.names +is used to translate AppleTalk net and node numbers to names. +Lines in this file have the form +.RS +.nf +.sp .5 +\fInumber name\fP + +\f(CW1.254 ether +16.1 icsd-net +1.254.110 ace\fR +.sp .5 +.fi +.RE +The first two lines give the names of AppleTalk networks. +The third +line gives the name of a particular host (a host is distinguished +from a net by the 3rd octet in the number \- +a net number \fImust\fP have two octets and a host number \fImust\fP +have three octets.) The number and name should be separated by +whitespace (blanks or tabs). +The +.I /etc/atalk.names +file may contain blank lines or comment lines (lines starting with +a `#'). +.LP +AppleTalk addresses are printed in the form +.RS +.nf +.sp .5 +\fInet.host.port\fP + +\f(CW144.1.209.2 > icsd-net.112.220 +office.2 > icsd-net.112.220 +jssmag.149.235 > icsd-net.2\fR +.sp .5 +.fi +.RE +(If the +.I /etc/atalk.names +doesn't exist or doesn't contain an entry for some AppleTalk +host/net number, addresses are printed in numeric form.) +In the first example, NBP (DDP port 2) on net 144.1 node 209 +is sending to whatever is listening on port 220 of net icsd node 112. +The second line is the same except the full name of the source node +is known (`office'). +The third line is a send from port 235 on +net jssmag node 149 to broadcast on the icsd-net NBP port (note that +the broadcast address (255) is indicated by a net name with no host +number \- for this reason it's a good idea to keep node names and +net names distinct in /etc/atalk.names). +.LP +NBP (name binding protocol) and ATP (AppleTalk transaction protocol) +packets have their contents interpreted. +Other protocols just dump +the protocol name (or number if no name is registered for the +protocol) and packet size. + +\fBNBP packets\fP are formatted like the following examples: +.RS +.nf +.sp .5 +\s-2\f(CWicsd-net.112.220 > jssmag.2: nbp-lkup 190: "=:LaserWriter@*" +jssmag.209.2 > icsd-net.112.220: nbp-reply 190: "RM1140:LaserWriter@*" 250 +techpit.2 > icsd-net.112.220: nbp-reply 190: "techpit:LaserWriter@*" 186\fR\s+2 +.sp .5 +.fi +.RE +The first line is a name lookup request for laserwriters sent by net icsd host +112 and broadcast on net jssmag. +The nbp id for the lookup is 190. +The second line shows a reply for this request (note that it has the +same id) from host jssmag.209 saying that it has a laserwriter +resource named "RM1140" registered on port 250. +The third line is +another reply to the same request saying host techpit has laserwriter +"techpit" registered on port 186. + +\fBATP packet\fP formatting is demonstrated by the following example: +.RS +.nf +.sp .5 +\s-2\f(CWjssmag.209.165 > helios.132: atp-req 12266<0-7> 0xae030001 +helios.132 > jssmag.209.165: atp-resp 12266:0 (512) 0xae040000 +helios.132 > jssmag.209.165: atp-resp 12266:1 (512) 0xae040000 +helios.132 > jssmag.209.165: atp-resp 12266:2 (512) 0xae040000 +helios.132 > jssmag.209.165: atp-resp 12266:3 (512) 0xae040000 +helios.132 > jssmag.209.165: atp-resp 12266:4 (512) 0xae040000 +helios.132 > jssmag.209.165: atp-resp 12266:5 (512) 0xae040000 +helios.132 > jssmag.209.165: atp-resp 12266:6 (512) 0xae040000 +helios.132 > jssmag.209.165: atp-resp*12266:7 (512) 0xae040000 +jssmag.209.165 > helios.132: atp-req 12266<3,5> 0xae030001 +helios.132 > jssmag.209.165: atp-resp 12266:3 (512) 0xae040000 +helios.132 > jssmag.209.165: atp-resp 12266:5 (512) 0xae040000 +jssmag.209.165 > helios.132: atp-rel 12266<0-7> 0xae030001 +jssmag.209.133 > helios.132: atp-req* 12267<0-7> 0xae030002\fR\s+2 +.sp .5 +.fi +.RE +Jssmag.209 initiates transaction id 12266 with host helios by requesting +up to 8 packets (the `<0-7>'). +The hex number at the end of the line +is the value of the `userdata' field in the request. +.LP +Helios responds with 8 512-byte packets. +The `:digit' following the +transaction id gives the packet sequence number in the transaction +and the number in parens is the amount of data in the packet, +excluding the atp header. +The `*' on packet 7 indicates that the +EOM bit was set. +.LP +Jssmag.209 then requests that packets 3 & 5 be retransmitted. +Helios +resends them then jssmag.209 releases the transaction. +Finally, +jssmag.209 initiates the next request. +The `*' on the request +indicates that XO (`exactly once') was \fInot\fP set. + +.HD +IP Fragmentation +.LP +Fragmented Internet datagrams are printed as +.RS +.nf +.sp .5 +\fB(frag \fIid\fB:\fIsize\fB@\fIoffset\fB+)\fR +\fB(frag \fIid\fB:\fIsize\fB@\fIoffset\fB)\fR +.sp .5 +.fi +.RE +(The first form indicates there are more fragments. +The second +indicates this is the last fragment.) +.LP +\fIId\fP is the fragment id. +\fISize\fP is the fragment +size (in bytes) excluding the IP header. +\fIOffset\fP is this +fragment's offset (in bytes) in the original datagram. +.LP +The fragment information is output for each fragment. +The first +fragment contains the higher level protocol header and the frag +info is printed after the protocol info. +Fragments +after the first contain no higher level protocol header and the +frag info is printed after the source and destination addresses. +For example, here is part of an ftp from arizona.edu to lbl-rtsg.arpa +over a CSNET connection that doesn't appear to handle 576 byte datagrams: +.RS +.nf +.sp .5 +\s-2\f(CWarizona.ftp-data > rtsg.1170: . 1024:1332(308) ack 1 win 4096 (frag 595a:328@0+) +arizona > rtsg: (frag 595a:204@328) +rtsg.1170 > arizona.ftp-data: . ack 1536 win 2560\fP\s+2 +.sp .5 +.fi +.RE +There are a couple of things to note here: First, addresses in the +2nd line don't include port numbers. +This is because the TCP +protocol information is all in the first fragment and we have no idea +what the port or sequence numbers are when we print the later fragments. +Second, the tcp sequence information in the first line is printed as if there +were 308 bytes of user data when, in fact, there are 512 bytes (308 in +the first frag and 204 in the second). +If you are looking for holes +in the sequence space or trying to match up acks +with packets, this can fool you. +.LP +A packet with the IP \fIdon't fragment\fP flag is marked with a +trailing \fB(DF)\fP. +.HD +Timestamps +.LP +By default, all output lines are preceded by a timestamp. +The timestamp +is the current clock time in the form +.RS +.nf +\fIhh:mm:ss.frac\fP +.fi +.RE +and is as accurate as the kernel's clock. +The timestamp reflects the time the kernel applied a time stamp to the packet. +No attempt is made to account for the time lag between when the network +interface finished receiving the packet from the network and when the +kernel applied a time stamp to the packet; that time lag could include a +delay between the time when the network interface finished receiving a +packet from the network and the time when an interrupt was delivered to +the kernel to get it to read the packet and a delay between the time +when the kernel serviced the `new packet' interrupt and the time when it +applied a time stamp to the packet. +.SH "SEE ALSO" +stty(1), pcap(3PCAP), bpf(4), nit(4P), pcap-savefile(5), +pcap-filter(7), pcap-tstamp(7) +.LP +.RS +.I http://www.iana.org/assignments/media-types/application/vnd.tcpdump.pcap +.RE +.LP +.SH AUTHORS +The original authors are: +.LP +Van Jacobson, +Craig Leres and +Steven McCanne, all of the +Lawrence Berkeley National Laboratory, University of California, Berkeley, CA. +.LP +It is currently being maintained by tcpdump.org. +.LP +The current version is available via http: +.LP +.RS +.I http://www.tcpdump.org/ +.RE +.LP +The original distribution is available via anonymous ftp: +.LP +.RS +.I ftp://ftp.ee.lbl.gov/old/tcpdump.tar.Z +.RE +.LP +IPv6/IPsec support is added by WIDE/KAME project. +This program uses Eric Young's SSLeay library, under specific configurations. +.SH BUGS +Please send problems, bugs, questions, desirable enhancements, patches +etc. to: +.LP +.RS +tcpdump-workers@lists.tcpdump.org +.RE +.LP +NIT doesn't let you watch your own outbound traffic, BPF will. +We recommend that you use the latter. +.LP +On Linux systems with 2.0[.x] kernels: +.IP +packets on the loopback device will be seen twice; +.IP +packet filtering cannot be done in the kernel, so that all packets must +be copied from the kernel in order to be filtered in user mode; +.IP +all of a packet, not just the part that's within the snapshot length, +will be copied from the kernel (the 2.0[.x] packet capture mechanism, if +asked to copy only part of a packet to userland, will not report the +true length of the packet; this would cause most IP packets to get an +error from +.BR tcpdump ); +.IP +capturing on some PPP devices won't work correctly. +.LP +We recommend that you upgrade to a 2.2 or later kernel. +.LP +Some attempt should be made to reassemble IP fragments or, at least +to compute the right length for the higher level protocol. +.LP +Name server inverse queries are not dumped correctly: the (empty) +question section is printed rather than real query in the answer +section. +Some believe that inverse queries are themselves a bug and +prefer to fix the program generating them rather than \fItcpdump\fP. +.LP +A packet trace that crosses a daylight savings time change will give +skewed time stamps (the time change is ignored). +.LP +Filter expressions on fields other than those in Token Ring headers will +not correctly handle source-routed Token Ring packets. +.LP +Filter expressions on fields other than those in 802.11 headers will not +correctly handle 802.11 data packets with both To DS and From DS set. +.LP +.BR "ip6 proto" +should chase header chain, but at this moment it does not. +.BR "ip6 protochain" +is supplied for this behavior. +.LP +Arithmetic expression against transport layer headers, like \fBtcp[0]\fP, +does not work against IPv6 packets. +It only looks at IPv4 packets. diff --git a/cmake-build-debug/tcpdump.o b/cmake-build-debug/tcpdump.o new file mode 100644 index 0000000..c46fc05 Binary files /dev/null and b/cmake-build-debug/tcpdump.o differ diff --git a/cmake-build-debug/tcpdump_mesa b/cmake-build-debug/tcpdump_mesa new file mode 100755 index 0000000..5f5892a Binary files /dev/null and b/cmake-build-debug/tcpdump_mesa differ diff --git a/cmake-build-debug/util-print.o b/cmake-build-debug/util-print.o new file mode 100644 index 0000000..3201d8b Binary files /dev/null and b/cmake-build-debug/util-print.o differ diff --git a/cmake-build-debug/util.o b/cmake-build-debug/util.o new file mode 100644 index 0000000..c20ff53 Binary files /dev/null and b/cmake-build-debug/util.o differ diff --git a/cmake-build-debug/version.c b/cmake-build-debug/version.c new file mode 100644 index 0000000..eff130c --- /dev/null +++ b/cmake-build-debug/version.c @@ -0,0 +1 @@ +const char version[] = "4.8.1"; diff --git a/cmake-build-debug/version.cmake b/cmake-build-debug/version.cmake new file mode 100644 index 0000000..69ada34 --- /dev/null +++ b/cmake-build-debug/version.cmake @@ -0,0 +1,19 @@ +# Generated by autorevision - do not hand-hack! + +set(VCS_TYPE git) +set(VCS_BASENAME tcpdump_mesa) +set(VCS_UUID a6a34b3ba4b4f8bcf78456687240cace0641a66b) +set(VCS_NUM 11) +set(VCS_DATE 2020-09-28T12:00:28+0800) +set(VCS_BRANCH dev) +set(VCS_TAG ) +set(VCS_TICK 11) +set(VCS_EXTRA ) + +set(VCS_ACTION_STAMP ) +set(VCS_FULL_HASH 8a631fe724c0d095e6942cd8d24062ef117005a3) +set(VCS_SHORT_HASH 8a631fe) + +set(VCS_WC_MODIFIED 1) + +# end diff --git a/cmake-build-debug/version.o b/cmake-build-debug/version.o new file mode 100644 index 0000000..dbf6023 Binary files /dev/null and b/cmake-build-debug/version.o differ diff --git a/cmake/Package.cmake b/cmake/Package.cmake index d51f373..33da0c5 100644 --- a/cmake/Package.cmake +++ b/cmake/Package.cmake @@ -14,6 +14,9 @@ set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) set(CPACK_PACKAGE_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.${VERSION_BUILD}") execute_process(COMMAND bash -c "echo -ne \"`uname -r | awk -F'.' '{print $5\".\"$6\".\"$7}'`\"" OUTPUT_VARIABLE SYSTEM_VERSION) +execute_process(COMMAND sh changelog.sh ${CMAKE_BINARY_DIR} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/cmake) +SET(CPACK_RPM_CHANGELOG_FILE ${CMAKE_BINARY_DIR}/changelog.txt) + # RPM Build set(CPACK_GENERATOR "RPM") set(CPACK_RPM_PACKAGE_VENDOR "MESA") @@ -52,18 +55,6 @@ set(CPACK_BUILD_SOURCE_DIRS "${CMAKE_SOURCE_DIR}") set(CPACK_RPM_PACKAGE_AUTOREQPROV "no") set(CPACK_RPM_PACKAGE_AUTOREQ "no") -# setup %config(noreplace) -set(CPACK_RPM_EXECUTABLE_USER_FILELIST "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/gdev.conf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/sapp.toml" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/send_raw_pkt.conf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/project_list.conf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/plugin.conf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/entrylist.conf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/plug/conflist.inf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/gdev_block.conf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/send_gdev.conf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/etc/send_route.conf") - # Must uninstall the debug package before install release package set(CPACK_RPM_PACKAGE_CONFLICTS ${MY_RPM_NAME_PREFIX}) diff --git a/cmake/Version.cmake b/cmake/Version.cmake index b6fdab3..3722d0e 100644 --- a/cmake/Version.cmake +++ b/cmake/Version.cmake @@ -3,7 +3,7 @@ set(__SOURCE_AUTORESIVISION ${CMAKE_SOURCE_DIR}/autorevision.sh) set(__AUTORESIVISION ${CMAKE_BINARY_DIR}/autorevision.sh) -set(__VERSION_CACHE ${CMAKE_SOURCE_DIR}/version.txt) +set(__VERSION_CACHE ${CMAKE_BINARY_DIR}/version.txt) set(__VERSION_CONFIG ${CMAKE_BINARY_DIR}/version.cmake) file(COPY ${__SOURCE_AUTORESIVISION} DESTINATION ${CMAKE_BINARY_DIR} diff --git a/cmake/changelog.sh b/cmake/changelog.sh new file mode 100644 index 0000000..67f995f --- /dev/null +++ b/cmake/changelog.sh @@ -0,0 +1,4 @@ +#!/bin/sh +work_path=$1 +branch=`git status | grep branch | awk '{print $NF}'` +git log --branches=$branch --no-merges --date=local --show-signature --pretty="* %ad %an %ae %nhash: %H%ncommit:%n%B" | awk -F"-" '{print "- "$0}' | sed 's/- \*/\*/g' | sed 's/- $//g' | sed 's/-/ -/g' | sed 's/[0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\}//g' > $work_path/changelog.txt diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..817b05f --- /dev/null +++ b/readme.md @@ -0,0 +1,59 @@ + + + **TCPDUMP_MESA** + +fork from tcpdump for MESA sapp platform + +------ + +``` +tcpdump version 4.8.1 +libpcap version 1.8.1 +OpenSSL 1.0.2k-fips 26 Jan 2017 +Usage: tcpdump [-aAbdDefhHIJKlLnNOpqStuUvxX#] [ -B size ] [ -c count ] + [ -C file_size ] [ -E algo:secret ] [ -F file ] [ -G seconds ] + [ -i interface ] [ -j tstamptype ] [ -M secret ] [ --number ] + [ -Q in|out|inout ] + [ -r file ] [ -s snaplen ] [ --time-stamp-precision precision ] + [ --immediate-mode ] [ -T type ] [ --version ] [ -V file ] + [ -w file ] [ -W filecount ] [ -y datalinktype ] [ -z postrotate-command ] + [ -Z user ] [ expression ] +----------------------------------------------------------------------------------------------. + The follow args is customized for tcpdump_mesa: + [ -a ] enable perceptive mode, can detect loss packet number. + [ -g greedy-seek ] enable greedy seek to most inner IP layer, for tunnel, embed protocol. + [ -k thread-id ] to assign sapp recv thread id, support multi-range, for example: 1,3,5,7. + [ -o offset ] to assign offset from MAC, for skip some low layer data, for example: vxlan=50, mac_in_mac=14. + [ -P port ] to assign sapp recv command port. + [ --vlan-as-mac-in-mac ] force VLAN to be analysed as MAC-IN-MAC format. +``` + + + +------ + + **2016-11-29 lijia** + +ÀàËÆFTP·½Ê½, TCPÁ¬½Ó´«ÊäÃüÁî, UDPÁ¬½Ó´«Êäʵ¼Ê²¶°ü. + +1. Ëæ»ú´ò¿ª±¾¶ËUDPδÓö˿Ú, ĬÈÏ12345, Èç±»Õ¼ÓÃ, ˳ÐòºóÑÓ + +2. Óësapp½¨Á¢TCPÁ¬½Ó, ·¢Ëͱ¾¶ËUDP¼àÌý¶Ë¿Ú + +3. ¸øsapp·¢ËͲ¶°ü¿ØÖÆÃüÁî, ´«ÊäBPF-filter¹ýÂË×Ö·û´® + +4. ´ÓUDP¶Ë¿Ú¶ÁÈ¡sapp²¶»ñµÄÊý¾Ý°ü + +5. µ÷ÓÃtcpdumpÔ­°æÁ÷³Ì, ½âÎö´òÓ¡»òдÎļþ + +------ + + **2017-08-08 lijia** + +1. Ôö¼ÓÖ¸¶¨Ï̺߳Ų¶°ü¹¦ÄÜ + +------ + +**2020-09-28** yangwei + +1. ÓÅ»¯greedy_seekģʽÐÐΪ£¬¹¹ÔìDLT_RAWÀàÐ͵ÄcbpfÓÃÓÚ´ÓIPÍ·²¿¿ªÊ¼Æ¥Åä¹ýÂ˹æÔò \ No newline at end of file diff --git a/readme.txt b/readme.txt deleted file mode 100644 index 120e131..0000000 --- a/readme.txt +++ /dev/null @@ -1,14 +0,0 @@ -/* --------------------------------------------------------------- - 2016-11-29 lijia, - ÀàËÆFTP·½Ê½, TCPÁ¬½Ó´«ÊäÃüÁî, UDPÁ¬½Ó´«Êäʵ¼Ê²¶°ü. - 1-Ëæ»ú´ò¿ª±¾¶ËUDPδÓö˿Ú, ĬÈÏ12345, Èç±»Õ¼ÓÃ, ˳ÐòºóÑÓ; - 2-Óësapp½¨Á¢TCPÁ¬½Ó, ·¢Ëͱ¾¶ËUDP¼àÌý¶Ë¿Ú; - 3-¸øsapp·¢ËͲ¶°ü¿ØÖÆÃüÁî, ´«ÊäBPF-filter¹ýÂË×Ö·û´®, - - 4-´ÓUDP¶Ë¿Ú¶ÁÈ¡sapp²¶»ñµÄÊý¾Ý°ü; - 5-µ÷ÓÃtcpdumpÔ­°æÁ÷³Ì, ½âÎö´òÓ¡»òдÎļþ¡£ --------------------------------------------------------------- - 2017-08-08 lijia, - 1-Ôö¼ÓÖ¸¶¨Ï̺߳Ų¶°ü¹¦ÄÜ. -*/ \ No newline at end of file diff --git a/CHANGES b/src/CHANGES similarity index 100% rename from CHANGES rename to src/CHANGES diff --git a/CREDITS b/src/CREDITS similarity index 100% rename from CREDITS rename to src/CREDITS diff --git a/INSTALL.txt b/src/INSTALL.txt similarity index 100% rename from INSTALL.txt rename to src/INSTALL.txt diff --git a/LICENSE b/src/LICENSE similarity index 100% rename from LICENSE rename to src/LICENSE diff --git a/Makefile-devel-adds b/src/Makefile-devel-adds similarity index 100% rename from Makefile-devel-adds rename to src/Makefile-devel-adds diff --git a/Makefile.in b/src/Makefile.in similarity index 100% rename from Makefile.in rename to src/Makefile.in diff --git a/README.md b/src/README.md similarity index 100% rename from README.md rename to src/README.md diff --git a/Readme.Win32 b/src/Readme.Win32 similarity index 100% rename from Readme.Win32 rename to src/Readme.Win32 diff --git a/VERSION b/src/VERSION similarity index 100% rename from VERSION rename to src/VERSION diff --git a/aclocal.m4 b/src/aclocal.m4 similarity index 100% rename from aclocal.m4 rename to src/aclocal.m4 diff --git a/addrtoname.c b/src/addrtoname.c similarity index 100% rename from addrtoname.c rename to src/addrtoname.c diff --git a/addrtoname.h b/src/addrtoname.h similarity index 100% rename from addrtoname.h rename to src/addrtoname.h diff --git a/addrtostr.c b/src/addrtostr.c similarity index 100% rename from addrtostr.c rename to src/addrtostr.c diff --git a/addrtostr.h b/src/addrtostr.h similarity index 100% rename from addrtostr.h rename to src/addrtostr.h diff --git a/af.c b/src/af.c similarity index 100% rename from af.c rename to src/af.c diff --git a/af.h b/src/af.h similarity index 100% rename from af.h rename to src/af.h diff --git a/ah.h b/src/ah.h similarity index 100% rename from ah.h rename to src/ah.h diff --git a/appletalk.h b/src/appletalk.h similarity index 100% rename from appletalk.h rename to src/appletalk.h diff --git a/ascii_strcasecmp.c b/src/ascii_strcasecmp.c similarity index 100% rename from ascii_strcasecmp.c rename to src/ascii_strcasecmp.c diff --git a/ascii_strcasecmp.h b/src/ascii_strcasecmp.h similarity index 100% rename from ascii_strcasecmp.h rename to src/ascii_strcasecmp.h diff --git a/atime.awk b/src/atime.awk similarity index 100% rename from atime.awk rename to src/atime.awk diff --git a/atm.h b/src/atm.h similarity index 100% rename from atm.h rename to src/atm.h diff --git a/bpf_dump.c b/src/bpf_dump.c similarity index 100% rename from bpf_dump.c rename to src/bpf_dump.c diff --git a/chdlc.h b/src/chdlc.h similarity index 100% rename from chdlc.h rename to src/chdlc.h diff --git a/checksum.c b/src/checksum.c similarity index 100% rename from checksum.c rename to src/checksum.c diff --git a/config.guess b/src/config.guess similarity index 100% rename from config.guess rename to src/config.guess diff --git a/config.h.in b/src/config.h.in similarity index 100% rename from config.h.in rename to src/config.h.in diff --git a/config.sub b/src/config.sub similarity index 100% rename from config.sub rename to src/config.sub diff --git a/configure b/src/configure similarity index 100% rename from configure rename to src/configure diff --git a/configure.in b/src/configure.in similarity index 100% rename from configure.in rename to src/configure.in diff --git a/cpack.c b/src/cpack.c similarity index 100% rename from cpack.c rename to src/cpack.c diff --git a/cpack.h b/src/cpack.h similarity index 100% rename from cpack.h rename to src/cpack.h diff --git a/ether.h b/src/ether.h similarity index 100% rename from ether.h rename to src/ether.h diff --git a/ethertype.h b/src/ethertype.h similarity index 100% rename from ethertype.h rename to src/ethertype.h diff --git a/extract.h b/src/extract.h similarity index 100% rename from extract.h rename to src/extract.h diff --git a/getopt_long.h b/src/getopt_long.h similarity index 100% rename from getopt_long.h rename to src/getopt_long.h diff --git a/gmpls.c b/src/gmpls.c similarity index 100% rename from gmpls.c rename to src/gmpls.c diff --git a/gmpls.h b/src/gmpls.h similarity index 100% rename from gmpls.h rename to src/gmpls.h diff --git a/gmt2local.c b/src/gmt2local.c similarity index 100% rename from gmt2local.c rename to src/gmt2local.c diff --git a/gmt2local.h b/src/gmt2local.h similarity index 100% rename from gmt2local.h rename to src/gmt2local.h diff --git a/in_cksum.c b/src/in_cksum.c similarity index 100% rename from in_cksum.c rename to src/in_cksum.c diff --git a/install-sh b/src/install-sh similarity index 100% rename from install-sh rename to src/install-sh diff --git a/interface.h b/src/interface.h similarity index 100% rename from interface.h rename to src/interface.h diff --git a/ip.h b/src/ip.h similarity index 100% rename from ip.h rename to src/ip.h diff --git a/ip6.h b/src/ip6.h similarity index 100% rename from ip6.h rename to src/ip6.h diff --git a/ipproto.c b/src/ipproto.c similarity index 100% rename from ipproto.c rename to src/ipproto.c diff --git a/ipproto.h b/src/ipproto.h similarity index 100% rename from ipproto.h rename to src/ipproto.h diff --git a/l2vpn.c b/src/l2vpn.c similarity index 100% rename from l2vpn.c rename to src/l2vpn.c diff --git a/l2vpn.h b/src/l2vpn.h similarity index 100% rename from l2vpn.h rename to src/l2vpn.h diff --git a/lbl/os-osf4.h b/src/lbl/os-osf4.h similarity index 100% rename from lbl/os-osf4.h rename to src/lbl/os-osf4.h diff --git a/lbl/os-solaris2.h b/src/lbl/os-solaris2.h similarity index 100% rename from lbl/os-solaris2.h rename to src/lbl/os-solaris2.h diff --git a/lbl/os-sunos4.h b/src/lbl/os-sunos4.h similarity index 100% rename from lbl/os-sunos4.h rename to src/lbl/os-sunos4.h diff --git a/lbl/os-ultrix4.h b/src/lbl/os-ultrix4.h similarity index 100% rename from lbl/os-ultrix4.h rename to src/lbl/os-ultrix4.h diff --git a/llc.h b/src/llc.h similarity index 100% rename from llc.h rename to src/llc.h diff --git a/machdep.c b/src/machdep.c similarity index 100% rename from machdep.c rename to src/machdep.c diff --git a/machdep.h b/src/machdep.h similarity index 100% rename from machdep.h rename to src/machdep.h diff --git a/makemib b/src/makemib similarity index 100% rename from makemib rename to src/makemib diff --git a/mesa_net.h b/src/mesa_net.h similarity index 100% rename from mesa_net.h rename to src/mesa_net.h diff --git a/mesa_pkt_dump.h b/src/mesa_pkt_dump.h similarity index 100% rename from mesa_pkt_dump.h rename to src/mesa_pkt_dump.h diff --git a/mib.h b/src/mib.h similarity index 100% rename from mib.h rename to src/mib.h diff --git a/missing/datalinks.c b/src/missing/datalinks.c similarity index 100% rename from missing/datalinks.c rename to src/missing/datalinks.c diff --git a/missing/dlnames.c b/src/missing/dlnames.c similarity index 100% rename from missing/dlnames.c rename to src/missing/dlnames.c diff --git a/missing/getopt_long.c b/src/missing/getopt_long.c similarity index 100% rename from missing/getopt_long.c rename to src/missing/getopt_long.c diff --git a/missing/snprintf.c b/src/missing/snprintf.c similarity index 100% rename from missing/snprintf.c rename to src/missing/snprintf.c diff --git a/missing/strdup.c b/src/missing/strdup.c similarity index 100% rename from missing/strdup.c rename to src/missing/strdup.c diff --git a/missing/strlcat.c b/src/missing/strlcat.c similarity index 100% rename from missing/strlcat.c rename to src/missing/strlcat.c diff --git a/missing/strlcpy.c b/src/missing/strlcpy.c similarity index 100% rename from missing/strlcpy.c rename to src/missing/strlcpy.c diff --git a/missing/strsep.c b/src/missing/strsep.c similarity index 100% rename from missing/strsep.c rename to src/missing/strsep.c diff --git a/mkdep b/src/mkdep similarity index 100% rename from mkdep rename to src/mkdep diff --git a/mpls.h b/src/mpls.h similarity index 100% rename from mpls.h rename to src/mpls.h diff --git a/nameser.h b/src/nameser.h similarity index 100% rename from nameser.h rename to src/nameser.h diff --git a/net_common.c b/src/net_common.c similarity index 100% rename from net_common.c rename to src/net_common.c diff --git a/netdissect-stdinc.h b/src/netdissect-stdinc.h similarity index 100% rename from netdissect-stdinc.h rename to src/netdissect-stdinc.h diff --git a/netdissect.h b/src/netdissect.h similarity index 100% rename from netdissect.h rename to src/netdissect.h diff --git a/nfs.h b/src/nfs.h similarity index 100% rename from nfs.h rename to src/nfs.h diff --git a/nfsfh.h b/src/nfsfh.h similarity index 100% rename from nfsfh.h rename to src/nfsfh.h diff --git a/nlpid.c b/src/nlpid.c similarity index 100% rename from nlpid.c rename to src/nlpid.c diff --git a/nlpid.h b/src/nlpid.h similarity index 100% rename from nlpid.h rename to src/nlpid.h diff --git a/openflow.h b/src/openflow.h similarity index 100% rename from openflow.h rename to src/openflow.h diff --git a/ospf.h b/src/ospf.h similarity index 100% rename from ospf.h rename to src/ospf.h diff --git a/oui.c b/src/oui.c similarity index 100% rename from oui.c rename to src/oui.c diff --git a/oui.h b/src/oui.h similarity index 100% rename from oui.h rename to src/oui.h diff --git a/packetdat.awk b/src/packetdat.awk similarity index 100% rename from packetdat.awk rename to src/packetdat.awk diff --git a/parsenfsfh.c b/src/parsenfsfh.c similarity index 100% rename from parsenfsfh.c rename to src/parsenfsfh.c diff --git a/pcap-missing.h b/src/pcap-missing.h similarity index 100% rename from pcap-missing.h rename to src/pcap-missing.h diff --git a/pcap_dump_ftell.c b/src/pcap_dump_ftell.c similarity index 100% rename from pcap_dump_ftell.c rename to src/pcap_dump_ftell.c diff --git a/ppp.h b/src/ppp.h similarity index 100% rename from ppp.h rename to src/ppp.h diff --git a/print-802_11.c b/src/print-802_11.c similarity index 100% rename from print-802_11.c rename to src/print-802_11.c diff --git a/print-802_15_4.c b/src/print-802_15_4.c similarity index 100% rename from print-802_15_4.c rename to src/print-802_15_4.c diff --git a/print-ah.c b/src/print-ah.c similarity index 100% rename from print-ah.c rename to src/print-ah.c diff --git a/print-ahcp.c b/src/print-ahcp.c similarity index 100% rename from print-ahcp.c rename to src/print-ahcp.c diff --git a/print-aodv.c b/src/print-aodv.c similarity index 100% rename from print-aodv.c rename to src/print-aodv.c diff --git a/print-aoe.c b/src/print-aoe.c similarity index 100% rename from print-aoe.c rename to src/print-aoe.c diff --git a/print-ap1394.c b/src/print-ap1394.c similarity index 100% rename from print-ap1394.c rename to src/print-ap1394.c diff --git a/print-arcnet.c b/src/print-arcnet.c similarity index 100% rename from print-arcnet.c rename to src/print-arcnet.c diff --git a/print-arp.c b/src/print-arp.c similarity index 100% rename from print-arp.c rename to src/print-arp.c diff --git a/print-ascii.c b/src/print-ascii.c similarity index 100% rename from print-ascii.c rename to src/print-ascii.c diff --git a/print-atalk.c b/src/print-atalk.c similarity index 100% rename from print-atalk.c rename to src/print-atalk.c diff --git a/print-atm.c b/src/print-atm.c similarity index 100% rename from print-atm.c rename to src/print-atm.c diff --git a/print-babel.c b/src/print-babel.c similarity index 100% rename from print-babel.c rename to src/print-babel.c diff --git a/print-beep.c b/src/print-beep.c similarity index 100% rename from print-beep.c rename to src/print-beep.c diff --git a/print-bfd.c b/src/print-bfd.c similarity index 100% rename from print-bfd.c rename to src/print-bfd.c diff --git a/print-bgp.c b/src/print-bgp.c similarity index 100% rename from print-bgp.c rename to src/print-bgp.c diff --git a/print-bootp.c b/src/print-bootp.c similarity index 100% rename from print-bootp.c rename to src/print-bootp.c diff --git a/print-bt.c b/src/print-bt.c similarity index 100% rename from print-bt.c rename to src/print-bt.c diff --git a/print-calm-fast.c b/src/print-calm-fast.c similarity index 100% rename from print-calm-fast.c rename to src/print-calm-fast.c diff --git a/print-carp.c b/src/print-carp.c similarity index 100% rename from print-carp.c rename to src/print-carp.c diff --git a/print-cdp.c b/src/print-cdp.c similarity index 100% rename from print-cdp.c rename to src/print-cdp.c diff --git a/print-cfm.c b/src/print-cfm.c similarity index 100% rename from print-cfm.c rename to src/print-cfm.c diff --git a/print-chdlc.c b/src/print-chdlc.c similarity index 100% rename from print-chdlc.c rename to src/print-chdlc.c diff --git a/print-cip.c b/src/print-cip.c similarity index 100% rename from print-cip.c rename to src/print-cip.c diff --git a/print-cnfp.c b/src/print-cnfp.c similarity index 100% rename from print-cnfp.c rename to src/print-cnfp.c diff --git a/print-dccp.c b/src/print-dccp.c similarity index 100% rename from print-dccp.c rename to src/print-dccp.c diff --git a/print-decnet.c b/src/print-decnet.c similarity index 100% rename from print-decnet.c rename to src/print-decnet.c diff --git a/print-dhcp6.c b/src/print-dhcp6.c similarity index 100% rename from print-dhcp6.c rename to src/print-dhcp6.c diff --git a/print-domain.c b/src/print-domain.c similarity index 100% rename from print-domain.c rename to src/print-domain.c diff --git a/print-dtp.c b/src/print-dtp.c similarity index 100% rename from print-dtp.c rename to src/print-dtp.c diff --git a/print-dvmrp.c b/src/print-dvmrp.c similarity index 100% rename from print-dvmrp.c rename to src/print-dvmrp.c diff --git a/print-eap.c b/src/print-eap.c similarity index 100% rename from print-eap.c rename to src/print-eap.c diff --git a/print-egp.c b/src/print-egp.c similarity index 100% rename from print-egp.c rename to src/print-egp.c diff --git a/print-eigrp.c b/src/print-eigrp.c similarity index 100% rename from print-eigrp.c rename to src/print-eigrp.c diff --git a/print-enc.c b/src/print-enc.c similarity index 100% rename from print-enc.c rename to src/print-enc.c diff --git a/print-esp.c b/src/print-esp.c similarity index 100% rename from print-esp.c rename to src/print-esp.c diff --git a/print-ether.c b/src/print-ether.c similarity index 100% rename from print-ether.c rename to src/print-ether.c diff --git a/print-fddi.c b/src/print-fddi.c similarity index 100% rename from print-fddi.c rename to src/print-fddi.c diff --git a/print-forces.c b/src/print-forces.c similarity index 100% rename from print-forces.c rename to src/print-forces.c diff --git a/print-fr.c b/src/print-fr.c similarity index 100% rename from print-fr.c rename to src/print-fr.c diff --git a/print-frag6.c b/src/print-frag6.c similarity index 100% rename from print-frag6.c rename to src/print-frag6.c diff --git a/print-ftp.c b/src/print-ftp.c similarity index 100% rename from print-ftp.c rename to src/print-ftp.c diff --git a/print-geneve.c b/src/print-geneve.c similarity index 100% rename from print-geneve.c rename to src/print-geneve.c diff --git a/print-geonet.c b/src/print-geonet.c similarity index 100% rename from print-geonet.c rename to src/print-geonet.c diff --git a/print-gre.c b/src/print-gre.c similarity index 100% rename from print-gre.c rename to src/print-gre.c diff --git a/print-hncp.c b/src/print-hncp.c similarity index 100% rename from print-hncp.c rename to src/print-hncp.c diff --git a/print-hsrp.c b/src/print-hsrp.c similarity index 100% rename from print-hsrp.c rename to src/print-hsrp.c diff --git a/print-http.c b/src/print-http.c similarity index 100% rename from print-http.c rename to src/print-http.c diff --git a/print-icmp.c b/src/print-icmp.c similarity index 100% rename from print-icmp.c rename to src/print-icmp.c diff --git a/print-icmp6.c b/src/print-icmp6.c similarity index 100% rename from print-icmp6.c rename to src/print-icmp6.c diff --git a/print-igmp.c b/src/print-igmp.c similarity index 100% rename from print-igmp.c rename to src/print-igmp.c diff --git a/print-igrp.c b/src/print-igrp.c similarity index 100% rename from print-igrp.c rename to src/print-igrp.c diff --git a/print-ip.c b/src/print-ip.c similarity index 100% rename from print-ip.c rename to src/print-ip.c diff --git a/print-ip6.c b/src/print-ip6.c similarity index 100% rename from print-ip6.c rename to src/print-ip6.c diff --git a/print-ip6opts.c b/src/print-ip6opts.c similarity index 100% rename from print-ip6opts.c rename to src/print-ip6opts.c diff --git a/print-ipcomp.c b/src/print-ipcomp.c similarity index 100% rename from print-ipcomp.c rename to src/print-ipcomp.c diff --git a/print-ipfc.c b/src/print-ipfc.c similarity index 100% rename from print-ipfc.c rename to src/print-ipfc.c diff --git a/print-ipnet.c b/src/print-ipnet.c similarity index 100% rename from print-ipnet.c rename to src/print-ipnet.c diff --git a/print-ipx.c b/src/print-ipx.c similarity index 100% rename from print-ipx.c rename to src/print-ipx.c diff --git a/print-isakmp.c b/src/print-isakmp.c similarity index 100% rename from print-isakmp.c rename to src/print-isakmp.c diff --git a/print-isoclns.c b/src/print-isoclns.c similarity index 100% rename from print-isoclns.c rename to src/print-isoclns.c diff --git a/print-juniper.c b/src/print-juniper.c similarity index 100% rename from print-juniper.c rename to src/print-juniper.c diff --git a/print-krb.c b/src/print-krb.c similarity index 100% rename from print-krb.c rename to src/print-krb.c diff --git a/print-l2tp.c b/src/print-l2tp.c similarity index 100% rename from print-l2tp.c rename to src/print-l2tp.c diff --git a/print-lane.c b/src/print-lane.c similarity index 100% rename from print-lane.c rename to src/print-lane.c diff --git a/print-ldp.c b/src/print-ldp.c similarity index 100% rename from print-ldp.c rename to src/print-ldp.c diff --git a/print-lisp.c b/src/print-lisp.c similarity index 100% rename from print-lisp.c rename to src/print-lisp.c diff --git a/print-llc.c b/src/print-llc.c similarity index 100% rename from print-llc.c rename to src/print-llc.c diff --git a/print-lldp.c b/src/print-lldp.c similarity index 100% rename from print-lldp.c rename to src/print-lldp.c diff --git a/print-lmp.c b/src/print-lmp.c similarity index 100% rename from print-lmp.c rename to src/print-lmp.c diff --git a/print-loopback.c b/src/print-loopback.c similarity index 100% rename from print-loopback.c rename to src/print-loopback.c diff --git a/print-lspping.c b/src/print-lspping.c similarity index 100% rename from print-lspping.c rename to src/print-lspping.c diff --git a/print-lwapp.c b/src/print-lwapp.c similarity index 100% rename from print-lwapp.c rename to src/print-lwapp.c diff --git a/print-lwres.c b/src/print-lwres.c similarity index 100% rename from print-lwres.c rename to src/print-lwres.c diff --git a/print-m3ua.c b/src/print-m3ua.c similarity index 100% rename from print-m3ua.c rename to src/print-m3ua.c diff --git a/print-medsa.c b/src/print-medsa.c similarity index 100% rename from print-medsa.c rename to src/print-medsa.c diff --git a/print-mobile.c b/src/print-mobile.c similarity index 100% rename from print-mobile.c rename to src/print-mobile.c diff --git a/print-mobility.c b/src/print-mobility.c similarity index 100% rename from print-mobility.c rename to src/print-mobility.c diff --git a/print-mpcp.c b/src/print-mpcp.c similarity index 100% rename from print-mpcp.c rename to src/print-mpcp.c diff --git a/print-mpls.c b/src/print-mpls.c similarity index 100% rename from print-mpls.c rename to src/print-mpls.c diff --git a/print-mptcp.c b/src/print-mptcp.c similarity index 100% rename from print-mptcp.c rename to src/print-mptcp.c diff --git a/print-msdp.c b/src/print-msdp.c similarity index 100% rename from print-msdp.c rename to src/print-msdp.c diff --git a/print-msnlb.c b/src/print-msnlb.c similarity index 100% rename from print-msnlb.c rename to src/print-msnlb.c diff --git a/print-nflog.c b/src/print-nflog.c similarity index 100% rename from print-nflog.c rename to src/print-nflog.c diff --git a/print-nfs.c b/src/print-nfs.c similarity index 100% rename from print-nfs.c rename to src/print-nfs.c diff --git a/print-nsh.c b/src/print-nsh.c similarity index 100% rename from print-nsh.c rename to src/print-nsh.c diff --git a/print-ntp.c b/src/print-ntp.c similarity index 100% rename from print-ntp.c rename to src/print-ntp.c diff --git a/print-null.c b/src/print-null.c similarity index 100% rename from print-null.c rename to src/print-null.c diff --git a/print-olsr.c b/src/print-olsr.c similarity index 100% rename from print-olsr.c rename to src/print-olsr.c diff --git a/print-openflow-1.0.c b/src/print-openflow-1.0.c similarity index 100% rename from print-openflow-1.0.c rename to src/print-openflow-1.0.c diff --git a/print-openflow.c b/src/print-openflow.c similarity index 100% rename from print-openflow.c rename to src/print-openflow.c diff --git a/print-ospf.c b/src/print-ospf.c similarity index 100% rename from print-ospf.c rename to src/print-ospf.c diff --git a/print-ospf6.c b/src/print-ospf6.c similarity index 100% rename from print-ospf6.c rename to src/print-ospf6.c diff --git a/print-otv.c b/src/print-otv.c similarity index 100% rename from print-otv.c rename to src/print-otv.c diff --git a/print-pflog.c b/src/print-pflog.c similarity index 100% rename from print-pflog.c rename to src/print-pflog.c diff --git a/print-pgm.c b/src/print-pgm.c similarity index 100% rename from print-pgm.c rename to src/print-pgm.c diff --git a/print-pim.c b/src/print-pim.c similarity index 100% rename from print-pim.c rename to src/print-pim.c diff --git a/print-pktap.c b/src/print-pktap.c similarity index 100% rename from print-pktap.c rename to src/print-pktap.c diff --git a/print-ppi.c b/src/print-ppi.c similarity index 100% rename from print-ppi.c rename to src/print-ppi.c diff --git a/print-ppp.c b/src/print-ppp.c similarity index 100% rename from print-ppp.c rename to src/print-ppp.c diff --git a/print-pppoe.c b/src/print-pppoe.c similarity index 100% rename from print-pppoe.c rename to src/print-pppoe.c diff --git a/print-pptp.c b/src/print-pptp.c similarity index 100% rename from print-pptp.c rename to src/print-pptp.c diff --git a/print-radius.c b/src/print-radius.c similarity index 100% rename from print-radius.c rename to src/print-radius.c diff --git a/print-raw.c b/src/print-raw.c similarity index 100% rename from print-raw.c rename to src/print-raw.c diff --git a/print-resp.c b/src/print-resp.c similarity index 100% rename from print-resp.c rename to src/print-resp.c diff --git a/print-rip.c b/src/print-rip.c similarity index 100% rename from print-rip.c rename to src/print-rip.c diff --git a/print-ripng.c b/src/print-ripng.c similarity index 100% rename from print-ripng.c rename to src/print-ripng.c diff --git a/print-rpki-rtr.c b/src/print-rpki-rtr.c similarity index 100% rename from print-rpki-rtr.c rename to src/print-rpki-rtr.c diff --git a/print-rrcp.c b/src/print-rrcp.c similarity index 100% rename from print-rrcp.c rename to src/print-rrcp.c diff --git a/print-rsvp.c b/src/print-rsvp.c similarity index 100% rename from print-rsvp.c rename to src/print-rsvp.c diff --git a/print-rt6.c b/src/print-rt6.c similarity index 100% rename from print-rt6.c rename to src/print-rt6.c diff --git a/print-rtsp.c b/src/print-rtsp.c similarity index 100% rename from print-rtsp.c rename to src/print-rtsp.c diff --git a/print-rx.c b/src/print-rx.c similarity index 100% rename from print-rx.c rename to src/print-rx.c diff --git a/print-sctp.c b/src/print-sctp.c similarity index 100% rename from print-sctp.c rename to src/print-sctp.c diff --git a/print-sflow.c b/src/print-sflow.c similarity index 100% rename from print-sflow.c rename to src/print-sflow.c diff --git a/print-sip.c b/src/print-sip.c similarity index 100% rename from print-sip.c rename to src/print-sip.c diff --git a/print-sl.c b/src/print-sl.c similarity index 100% rename from print-sl.c rename to src/print-sl.c diff --git a/print-sll.c b/src/print-sll.c similarity index 100% rename from print-sll.c rename to src/print-sll.c diff --git a/print-slow.c b/src/print-slow.c similarity index 100% rename from print-slow.c rename to src/print-slow.c diff --git a/print-smb.c b/src/print-smb.c similarity index 100% rename from print-smb.c rename to src/print-smb.c diff --git a/print-smtp.c b/src/print-smtp.c similarity index 100% rename from print-smtp.c rename to src/print-smtp.c diff --git a/print-snmp.c b/src/print-snmp.c similarity index 100% rename from print-snmp.c rename to src/print-snmp.c diff --git a/print-stp.c b/src/print-stp.c similarity index 100% rename from print-stp.c rename to src/print-stp.c diff --git a/print-sunatm.c b/src/print-sunatm.c similarity index 100% rename from print-sunatm.c rename to src/print-sunatm.c diff --git a/print-sunrpc.c b/src/print-sunrpc.c similarity index 100% rename from print-sunrpc.c rename to src/print-sunrpc.c diff --git a/print-symantec.c b/src/print-symantec.c similarity index 100% rename from print-symantec.c rename to src/print-symantec.c diff --git a/print-syslog.c b/src/print-syslog.c similarity index 100% rename from print-syslog.c rename to src/print-syslog.c diff --git a/print-tcp.c b/src/print-tcp.c similarity index 100% rename from print-tcp.c rename to src/print-tcp.c diff --git a/print-telnet.c b/src/print-telnet.c similarity index 100% rename from print-telnet.c rename to src/print-telnet.c diff --git a/print-tftp.c b/src/print-tftp.c similarity index 100% rename from print-tftp.c rename to src/print-tftp.c diff --git a/print-timed.c b/src/print-timed.c similarity index 100% rename from print-timed.c rename to src/print-timed.c diff --git a/print-tipc.c b/src/print-tipc.c similarity index 100% rename from print-tipc.c rename to src/print-tipc.c diff --git a/print-token.c b/src/print-token.c similarity index 100% rename from print-token.c rename to src/print-token.c diff --git a/print-udld.c b/src/print-udld.c similarity index 100% rename from print-udld.c rename to src/print-udld.c diff --git a/print-udp.c b/src/print-udp.c similarity index 100% rename from print-udp.c rename to src/print-udp.c diff --git a/print-usb.c b/src/print-usb.c similarity index 100% rename from print-usb.c rename to src/print-usb.c diff --git a/print-vjc.c b/src/print-vjc.c similarity index 100% rename from print-vjc.c rename to src/print-vjc.c diff --git a/print-vqp.c b/src/print-vqp.c similarity index 100% rename from print-vqp.c rename to src/print-vqp.c diff --git a/print-vrrp.c b/src/print-vrrp.c similarity index 100% rename from print-vrrp.c rename to src/print-vrrp.c diff --git a/print-vtp.c b/src/print-vtp.c similarity index 100% rename from print-vtp.c rename to src/print-vtp.c diff --git a/print-vxlan-gpe.c b/src/print-vxlan-gpe.c similarity index 100% rename from print-vxlan-gpe.c rename to src/print-vxlan-gpe.c diff --git a/print-vxlan.c b/src/print-vxlan.c similarity index 100% rename from print-vxlan.c rename to src/print-vxlan.c diff --git a/print-wb.c b/src/print-wb.c similarity index 100% rename from print-wb.c rename to src/print-wb.c diff --git a/print-zephyr.c b/src/print-zephyr.c similarity index 100% rename from print-zephyr.c rename to src/print-zephyr.c diff --git a/print-zeromq.c b/src/print-zeromq.c similarity index 100% rename from print-zeromq.c rename to src/print-zeromq.c diff --git a/print.c b/src/print.c similarity index 100% rename from print.c rename to src/print.c diff --git a/print.h b/src/print.h similarity index 100% rename from print.h rename to src/print.h diff --git a/rpc_auth.h b/src/rpc_auth.h similarity index 100% rename from rpc_auth.h rename to src/rpc_auth.h diff --git a/rpc_msg.h b/src/rpc_msg.h similarity index 100% rename from rpc_msg.h rename to src/rpc_msg.h diff --git a/rpl.h b/src/rpl.h similarity index 100% rename from rpl.h rename to src/rpl.h diff --git a/send-ack.awk b/src/send-ack.awk similarity index 100% rename from send-ack.awk rename to src/send-ack.awk diff --git a/setsignal.c b/src/setsignal.c similarity index 100% rename from setsignal.c rename to src/setsignal.c diff --git a/setsignal.h b/src/setsignal.h similarity index 100% rename from setsignal.h rename to src/setsignal.h diff --git a/signature.c b/src/signature.c similarity index 100% rename from signature.c rename to src/signature.c diff --git a/signature.h b/src/signature.h similarity index 100% rename from signature.h rename to src/signature.h diff --git a/slcompress.h b/src/slcompress.h similarity index 100% rename from slcompress.h rename to src/slcompress.h diff --git a/smb.h b/src/smb.h similarity index 100% rename from smb.h rename to src/smb.h diff --git a/smbutil.c b/src/smbutil.c similarity index 100% rename from smbutil.c rename to src/smbutil.c diff --git a/stime.awk b/src/stime.awk similarity index 100% rename from stime.awk rename to src/stime.awk diff --git a/stream_base.h b/src/stream_base.h similarity index 100% rename from stream_base.h rename to src/stream_base.h diff --git a/strtoaddr.c b/src/strtoaddr.c similarity index 100% rename from strtoaddr.c rename to src/strtoaddr.c diff --git a/strtoaddr.h b/src/strtoaddr.h similarity index 100% rename from strtoaddr.h rename to src/strtoaddr.h diff --git a/tcp.h b/src/tcp.h similarity index 100% rename from tcp.h rename to src/tcp.h diff --git a/tcpdump.1.in b/src/tcpdump.1.in similarity index 100% rename from tcpdump.1.in rename to src/tcpdump.1.in diff --git a/tcpdump.c b/src/tcpdump.c similarity index 100% rename from tcpdump.c rename to src/tcpdump.c diff --git a/tests/02-sunrise-sunset-esp.pcap b/src/tests/02-sunrise-sunset-esp.pcap similarity index 100% rename from tests/02-sunrise-sunset-esp.pcap rename to src/tests/02-sunrise-sunset-esp.pcap diff --git a/tests/08-sunrise-sunset-aes.pcap b/src/tests/08-sunrise-sunset-aes.pcap similarity index 100% rename from tests/08-sunrise-sunset-aes.pcap rename to src/tests/08-sunrise-sunset-aes.pcap diff --git a/tests/08-sunrise-sunset-esp2.pcap b/src/tests/08-sunrise-sunset-esp2.pcap similarity index 100% rename from tests/08-sunrise-sunset-esp2.pcap rename to src/tests/08-sunrise-sunset-esp2.pcap diff --git a/tests/3560_CDP.pcap b/src/tests/3560_CDP.pcap similarity index 100% rename from tests/3560_CDP.pcap rename to src/tests/3560_CDP.pcap diff --git a/tests/802.1D_spanning_tree.pcap b/src/tests/802.1D_spanning_tree.pcap similarity index 100% rename from tests/802.1D_spanning_tree.pcap rename to src/tests/802.1D_spanning_tree.pcap diff --git a/tests/802.1w_rapid_STP.pcap b/src/tests/802.1w_rapid_STP.pcap similarity index 100% rename from tests/802.1w_rapid_STP.pcap rename to src/tests/802.1w_rapid_STP.pcap diff --git a/tests/AoE_Linux.pcap b/src/tests/AoE_Linux.pcap similarity index 100% rename from tests/AoE_Linux.pcap rename to src/tests/AoE_Linux.pcap diff --git a/tests/DECnet_Phone.pcap b/src/tests/DECnet_Phone.pcap similarity index 100% rename from tests/DECnet_Phone.pcap rename to src/tests/DECnet_Phone.pcap diff --git a/tests/DTP.pcap b/src/tests/DTP.pcap similarity index 100% rename from tests/DTP.pcap rename to src/tests/DTP.pcap diff --git a/tests/EIGRP_adjacency.pcap b/src/tests/EIGRP_adjacency.pcap similarity index 100% rename from tests/EIGRP_adjacency.pcap rename to src/tests/EIGRP_adjacency.pcap diff --git a/tests/EIGRP_goodbye.pcap b/src/tests/EIGRP_goodbye.pcap similarity index 100% rename from tests/EIGRP_goodbye.pcap rename to src/tests/EIGRP_goodbye.pcap diff --git a/tests/EIGRP_subnet_down.pcap b/src/tests/EIGRP_subnet_down.pcap similarity index 100% rename from tests/EIGRP_subnet_down.pcap rename to src/tests/EIGRP_subnet_down.pcap diff --git a/tests/EIGRP_subnet_up.pcap b/src/tests/EIGRP_subnet_up.pcap similarity index 100% rename from tests/EIGRP_subnet_up.pcap rename to src/tests/EIGRP_subnet_up.pcap diff --git a/tests/HDLC.pcap b/src/tests/HDLC.pcap similarity index 100% rename from tests/HDLC.pcap rename to src/tests/HDLC.pcap diff --git a/tests/HSRP_coup.pcap b/src/tests/HSRP_coup.pcap similarity index 100% rename from tests/HSRP_coup.pcap rename to src/tests/HSRP_coup.pcap diff --git a/tests/HSRP_election.pcap b/src/tests/HSRP_election.pcap similarity index 100% rename from tests/HSRP_election.pcap rename to src/tests/HSRP_election.pcap diff --git a/tests/HSRP_failover.pcap b/src/tests/HSRP_failover.pcap similarity index 100% rename from tests/HSRP_failover.pcap rename to src/tests/HSRP_failover.pcap diff --git a/tests/IGMP_V1.pcap b/src/tests/IGMP_V1.pcap similarity index 100% rename from tests/IGMP_V1.pcap rename to src/tests/IGMP_V1.pcap diff --git a/tests/IGMP_V2.pcap b/src/tests/IGMP_V2.pcap similarity index 100% rename from tests/IGMP_V2.pcap rename to src/tests/IGMP_V2.pcap diff --git a/tests/ISAKMP_sa_setup.pcap b/src/tests/ISAKMP_sa_setup.pcap similarity index 100% rename from tests/ISAKMP_sa_setup.pcap rename to src/tests/ISAKMP_sa_setup.pcap diff --git a/tests/ISIS_external_lsp.pcap b/src/tests/ISIS_external_lsp.pcap similarity index 100% rename from tests/ISIS_external_lsp.pcap rename to src/tests/ISIS_external_lsp.pcap diff --git a/tests/ISIS_level1_adjacency.pcap b/src/tests/ISIS_level1_adjacency.pcap similarity index 100% rename from tests/ISIS_level1_adjacency.pcap rename to src/tests/ISIS_level1_adjacency.pcap diff --git a/tests/ISIS_level2_adjacency.pcap b/src/tests/ISIS_level2_adjacency.pcap similarity index 100% rename from tests/ISIS_level2_adjacency.pcap rename to src/tests/ISIS_level2_adjacency.pcap diff --git a/tests/ISIS_p2p_adjacency.pcap b/src/tests/ISIS_p2p_adjacency.pcap similarity index 100% rename from tests/ISIS_p2p_adjacency.pcap rename to src/tests/ISIS_p2p_adjacency.pcap diff --git a/tests/LACP.pcap b/src/tests/LACP.pcap similarity index 100% rename from tests/LACP.pcap rename to src/tests/LACP.pcap diff --git a/tests/LLDP_and_CDP.pcap b/src/tests/LLDP_and_CDP.pcap similarity index 100% rename from tests/LLDP_and_CDP.pcap rename to src/tests/LLDP_and_CDP.pcap diff --git a/tests/MSTP_Intra-Region_BPDUs.pcap b/src/tests/MSTP_Intra-Region_BPDUs.pcap similarity index 100% rename from tests/MSTP_Intra-Region_BPDUs.pcap rename to src/tests/MSTP_Intra-Region_BPDUs.pcap diff --git a/tests/OLSRv1_HNA_sgw_1.out b/src/tests/OLSRv1_HNA_sgw_1.out similarity index 100% rename from tests/OLSRv1_HNA_sgw_1.out rename to src/tests/OLSRv1_HNA_sgw_1.out diff --git a/tests/OLSRv1_HNA_sgw_1.pcap b/src/tests/OLSRv1_HNA_sgw_1.pcap similarity index 100% rename from tests/OLSRv1_HNA_sgw_1.pcap rename to src/tests/OLSRv1_HNA_sgw_1.pcap diff --git a/tests/OSPFv3_NBMA_adjacencies.pcap b/src/tests/OSPFv3_NBMA_adjacencies.pcap similarity index 100% rename from tests/OSPFv3_NBMA_adjacencies.pcap rename to src/tests/OSPFv3_NBMA_adjacencies.pcap diff --git a/tests/OSPFv3_broadcast_adjacency.pcap b/src/tests/OSPFv3_broadcast_adjacency.pcap similarity index 100% rename from tests/OSPFv3_broadcast_adjacency.pcap rename to src/tests/OSPFv3_broadcast_adjacency.pcap diff --git a/tests/OSPFv3_multipoint_adjacencies.pcap b/src/tests/OSPFv3_multipoint_adjacencies.pcap similarity index 100% rename from tests/OSPFv3_multipoint_adjacencies.pcap rename to src/tests/OSPFv3_multipoint_adjacencies.pcap diff --git a/tests/OSPFv3_with_AH.pcap b/src/tests/OSPFv3_with_AH.pcap similarity index 100% rename from tests/OSPFv3_with_AH.pcap rename to src/tests/OSPFv3_with_AH.pcap diff --git a/tests/PIM-DM_pruning.pcap b/src/tests/PIM-DM_pruning.pcap similarity index 100% rename from tests/PIM-DM_pruning.pcap rename to src/tests/PIM-DM_pruning.pcap diff --git a/tests/PIM-SM_join_prune.pcap b/src/tests/PIM-SM_join_prune.pcap similarity index 100% rename from tests/PIM-SM_join_prune.pcap rename to src/tests/PIM-SM_join_prune.pcap diff --git a/tests/PIM_register_register-stop.pcap b/src/tests/PIM_register_register-stop.pcap similarity index 100% rename from tests/PIM_register_register-stop.pcap rename to src/tests/PIM_register_register-stop.pcap diff --git a/tests/PIMv2_bootstrap.pcap b/src/tests/PIMv2_bootstrap.pcap similarity index 100% rename from tests/PIMv2_bootstrap.pcap rename to src/tests/PIMv2_bootstrap.pcap diff --git a/tests/PIMv2_hellos.pcap b/src/tests/PIMv2_hellos.pcap similarity index 100% rename from tests/PIMv2_hellos.pcap rename to src/tests/PIMv2_hellos.pcap diff --git a/tests/QinQpacket.out b/src/tests/QinQpacket.out similarity index 100% rename from tests/QinQpacket.out rename to src/tests/QinQpacket.out diff --git a/tests/QinQpacket.pcap b/src/tests/QinQpacket.pcap similarity index 100% rename from tests/QinQpacket.pcap rename to src/tests/QinQpacket.pcap diff --git a/tests/QinQpacketv.out b/src/tests/QinQpacketv.out similarity index 100% rename from tests/QinQpacketv.out rename to src/tests/QinQpacketv.out diff --git a/tests/RADIUS-RFC4675.pcap b/src/tests/RADIUS-RFC4675.pcap similarity index 100% rename from tests/RADIUS-RFC4675.pcap rename to src/tests/RADIUS-RFC4675.pcap diff --git a/tests/RADIUS-RFC5176.pcap b/src/tests/RADIUS-RFC5176.pcap similarity index 100% rename from tests/RADIUS-RFC5176.pcap rename to src/tests/RADIUS-RFC5176.pcap diff --git a/tests/RADIUS-port1700.pcap b/src/tests/RADIUS-port1700.pcap similarity index 100% rename from tests/RADIUS-port1700.pcap rename to src/tests/RADIUS-port1700.pcap diff --git a/tests/RADIUS.pcap b/src/tests/RADIUS.pcap similarity index 100% rename from tests/RADIUS.pcap rename to src/tests/RADIUS.pcap diff --git a/tests/TESTLIST b/src/tests/TESTLIST similarity index 100% rename from tests/TESTLIST rename to src/tests/TESTLIST diff --git a/tests/TESTonce b/src/tests/TESTonce similarity index 100% rename from tests/TESTonce rename to src/tests/TESTonce diff --git a/tests/TESTrun.sh b/src/tests/TESTrun.sh similarity index 100% rename from tests/TESTrun.sh rename to src/tests/TESTrun.sh diff --git a/tests/UDLD.pcap b/src/tests/UDLD.pcap similarity index 100% rename from tests/UDLD.pcap rename to src/tests/UDLD.pcap diff --git a/tests/ahcp-vv.out b/src/tests/ahcp-vv.out similarity index 100% rename from tests/ahcp-vv.out rename to src/tests/ahcp-vv.out diff --git a/tests/ahcp.pcap b/src/tests/ahcp.pcap similarity index 100% rename from tests/ahcp.pcap rename to src/tests/ahcp.pcap diff --git a/tests/aoe_1-v.out b/src/tests/aoe_1-v.out similarity index 100% rename from tests/aoe_1-v.out rename to src/tests/aoe_1-v.out diff --git a/tests/aoe_1.out b/src/tests/aoe_1.out similarity index 100% rename from tests/aoe_1.out rename to src/tests/aoe_1.out diff --git a/tests/babel.pcap b/src/tests/babel.pcap similarity index 100% rename from tests/babel.pcap rename to src/tests/babel.pcap diff --git a/tests/babel1.out b/src/tests/babel1.out similarity index 100% rename from tests/babel1.out rename to src/tests/babel1.out diff --git a/tests/babel1v.out b/src/tests/babel1v.out similarity index 100% rename from tests/babel1v.out rename to src/tests/babel1v.out diff --git a/tests/babel_auth.out b/src/tests/babel_auth.out similarity index 100% rename from tests/babel_auth.out rename to src/tests/babel_auth.out diff --git a/tests/babel_auth.pcap b/src/tests/babel_auth.pcap similarity index 100% rename from tests/babel_auth.pcap rename to src/tests/babel_auth.pcap diff --git a/tests/babel_pad1.out b/src/tests/babel_pad1.out similarity index 100% rename from tests/babel_pad1.out rename to src/tests/babel_pad1.out diff --git a/tests/babel_pad1.pcap b/src/tests/babel_pad1.pcap similarity index 100% rename from tests/babel_pad1.pcap rename to src/tests/babel_pad1.pcap diff --git a/tests/babel_rtt.out b/src/tests/babel_rtt.out similarity index 100% rename from tests/babel_rtt.out rename to src/tests/babel_rtt.out diff --git a/tests/babel_rtt.pcap b/src/tests/babel_rtt.pcap similarity index 100% rename from tests/babel_rtt.pcap rename to src/tests/babel_rtt.pcap diff --git a/tests/bgp-aigp.out b/src/tests/bgp-aigp.out similarity index 100% rename from tests/bgp-aigp.out rename to src/tests/bgp-aigp.out diff --git a/tests/bgp-aigp.pcap b/src/tests/bgp-aigp.pcap similarity index 100% rename from tests/bgp-aigp.pcap rename to src/tests/bgp-aigp.pcap diff --git a/tests/bgp-infinite-loop.pcap b/src/tests/bgp-infinite-loop.pcap similarity index 100% rename from tests/bgp-infinite-loop.pcap rename to src/tests/bgp-infinite-loop.pcap diff --git a/tests/bgp_infloop-v.out b/src/tests/bgp_infloop-v.out similarity index 100% rename from tests/bgp_infloop-v.out rename to src/tests/bgp_infloop-v.out diff --git a/tests/bgp_vpn_attrset.out b/src/tests/bgp_vpn_attrset.out similarity index 100% rename from tests/bgp_vpn_attrset.out rename to src/tests/bgp_vpn_attrset.out diff --git a/tests/bgp_vpn_attrset.pcap b/src/tests/bgp_vpn_attrset.pcap similarity index 100% rename from tests/bgp_vpn_attrset.pcap rename to src/tests/bgp_vpn_attrset.pcap diff --git a/tests/cdp-v.out b/src/tests/cdp-v.out similarity index 100% rename from tests/cdp-v.out rename to src/tests/cdp-v.out diff --git a/tests/chdlc-slarp-short.pcap b/src/tests/chdlc-slarp-short.pcap similarity index 100% rename from tests/chdlc-slarp-short.pcap rename to src/tests/chdlc-slarp-short.pcap diff --git a/tests/chdlc-slarp.pcap b/src/tests/chdlc-slarp.pcap similarity index 100% rename from tests/chdlc-slarp.pcap rename to src/tests/chdlc-slarp.pcap diff --git a/tests/crypto.sh b/src/tests/crypto.sh similarity index 100% rename from tests/crypto.sh rename to src/tests/crypto.sh diff --git a/tests/cve-2014-8767-OLSR.out b/src/tests/cve-2014-8767-OLSR.out similarity index 100% rename from tests/cve-2014-8767-OLSR.out rename to src/tests/cve-2014-8767-OLSR.out diff --git a/tests/cve-2014-8767-OLSR.pcap b/src/tests/cve-2014-8767-OLSR.pcap similarity index 100% rename from tests/cve-2014-8767-OLSR.pcap rename to src/tests/cve-2014-8767-OLSR.pcap diff --git a/tests/cve-2014-8768-Geonet.out b/src/tests/cve-2014-8768-Geonet.out similarity index 100% rename from tests/cve-2014-8768-Geonet.out rename to src/tests/cve-2014-8768-Geonet.out diff --git a/tests/cve-2014-8768-Geonet.pcap b/src/tests/cve-2014-8768-Geonet.pcap similarity index 100% rename from tests/cve-2014-8768-Geonet.pcap rename to src/tests/cve-2014-8768-Geonet.pcap diff --git a/tests/cve-2014-8769-AODV.out b/src/tests/cve-2014-8769-AODV.out similarity index 100% rename from tests/cve-2014-8769-AODV.out rename to src/tests/cve-2014-8769-AODV.out diff --git a/tests/cve-2014-8769-AODV.pcap b/src/tests/cve-2014-8769-AODV.pcap similarity index 100% rename from tests/cve-2014-8769-AODV.pcap rename to src/tests/cve-2014-8769-AODV.pcap diff --git a/tests/cve2015-0261-crash.out b/src/tests/cve2015-0261-crash.out similarity index 100% rename from tests/cve2015-0261-crash.out rename to src/tests/cve2015-0261-crash.out diff --git a/tests/cve2015-0261-crash.pcap b/src/tests/cve2015-0261-crash.pcap similarity index 100% rename from tests/cve2015-0261-crash.pcap rename to src/tests/cve2015-0261-crash.pcap diff --git a/tests/cve2015-0261-ipv6.out b/src/tests/cve2015-0261-ipv6.out similarity index 100% rename from tests/cve2015-0261-ipv6.out rename to src/tests/cve2015-0261-ipv6.out diff --git a/tests/cve2015-0261-ipv6.pcap b/src/tests/cve2015-0261-ipv6.pcap similarity index 100% rename from tests/cve2015-0261-ipv6.pcap rename to src/tests/cve2015-0261-ipv6.pcap diff --git a/tests/dcb_ets.out b/src/tests/dcb_ets.out similarity index 100% rename from tests/dcb_ets.out rename to src/tests/dcb_ets.out diff --git a/tests/dcb_ets.pcap b/src/tests/dcb_ets.pcap similarity index 100% rename from tests/dcb_ets.pcap rename to src/tests/dcb_ets.pcap diff --git a/tests/dcb_pfc.out b/src/tests/dcb_pfc.out similarity index 100% rename from tests/dcb_pfc.out rename to src/tests/dcb_pfc.out diff --git a/tests/dcb_pfc.pcap b/src/tests/dcb_pfc.pcap similarity index 100% rename from tests/dcb_pfc.pcap rename to src/tests/dcb_pfc.pcap diff --git a/tests/dcb_qcn.out b/src/tests/dcb_qcn.out similarity index 100% rename from tests/dcb_qcn.out rename to src/tests/dcb_qcn.out diff --git a/tests/dcb_qcn.pcap b/src/tests/dcb_qcn.pcap similarity index 100% rename from tests/dcb_qcn.pcap rename to src/tests/dcb_qcn.pcap diff --git a/tests/dccp_partial_csum_v4_longer.out b/src/tests/dccp_partial_csum_v4_longer.out similarity index 100% rename from tests/dccp_partial_csum_v4_longer.out rename to src/tests/dccp_partial_csum_v4_longer.out diff --git a/tests/dccp_partial_csum_v4_longer.pcap b/src/tests/dccp_partial_csum_v4_longer.pcap similarity index 100% rename from tests/dccp_partial_csum_v4_longer.pcap rename to src/tests/dccp_partial_csum_v4_longer.pcap diff --git a/tests/dccp_partial_csum_v4_simple.out b/src/tests/dccp_partial_csum_v4_simple.out similarity index 100% rename from tests/dccp_partial_csum_v4_simple.out rename to src/tests/dccp_partial_csum_v4_simple.out diff --git a/tests/dccp_partial_csum_v4_simple.pcap b/src/tests/dccp_partial_csum_v4_simple.pcap similarity index 100% rename from tests/dccp_partial_csum_v4_simple.pcap rename to src/tests/dccp_partial_csum_v4_simple.pcap diff --git a/tests/dccp_partial_csum_v6_longer.out b/src/tests/dccp_partial_csum_v6_longer.out similarity index 100% rename from tests/dccp_partial_csum_v6_longer.out rename to src/tests/dccp_partial_csum_v6_longer.out diff --git a/tests/dccp_partial_csum_v6_longer.pcap b/src/tests/dccp_partial_csum_v6_longer.pcap similarity index 100% rename from tests/dccp_partial_csum_v6_longer.pcap rename to src/tests/dccp_partial_csum_v6_longer.pcap diff --git a/tests/dccp_partial_csum_v6_simple.out b/src/tests/dccp_partial_csum_v6_simple.out similarity index 100% rename from tests/dccp_partial_csum_v6_simple.out rename to src/tests/dccp_partial_csum_v6_simple.out diff --git a/tests/dccp_partial_csum_v6_simple.pcap b/src/tests/dccp_partial_csum_v6_simple.pcap similarity index 100% rename from tests/dccp_partial_csum_v6_simple.pcap rename to src/tests/dccp_partial_csum_v6_simple.pcap diff --git a/tests/decnet.out b/src/tests/decnet.out similarity index 100% rename from tests/decnet.out rename to src/tests/decnet.out diff --git a/tests/dhcp-rfc3004-v.out b/src/tests/dhcp-rfc3004-v.out similarity index 100% rename from tests/dhcp-rfc3004-v.out rename to src/tests/dhcp-rfc3004-v.out diff --git a/tests/dhcp-rfc3004.pcap b/src/tests/dhcp-rfc3004.pcap similarity index 100% rename from tests/dhcp-rfc3004.pcap rename to src/tests/dhcp-rfc3004.pcap diff --git a/tests/dhcp-rfc5859-v.out b/src/tests/dhcp-rfc5859-v.out similarity index 100% rename from tests/dhcp-rfc5859-v.out rename to src/tests/dhcp-rfc5859-v.out diff --git a/tests/dhcp-rfc5859.pcap b/src/tests/dhcp-rfc5859.pcap similarity index 100% rename from tests/dhcp-rfc5859.pcap rename to src/tests/dhcp-rfc5859.pcap diff --git a/tests/dhcpv6-AFTR-Name-RFC6334.out b/src/tests/dhcpv6-AFTR-Name-RFC6334.out similarity index 100% rename from tests/dhcpv6-AFTR-Name-RFC6334.out rename to src/tests/dhcpv6-AFTR-Name-RFC6334.out diff --git a/tests/dhcpv6-AFTR-Name-RFC6334.pcap b/src/tests/dhcpv6-AFTR-Name-RFC6334.pcap similarity index 100% rename from tests/dhcpv6-AFTR-Name-RFC6334.pcap rename to src/tests/dhcpv6-AFTR-Name-RFC6334.pcap diff --git a/tests/dhcpv6-domain-list.out b/src/tests/dhcpv6-domain-list.out similarity index 100% rename from tests/dhcpv6-domain-list.out rename to src/tests/dhcpv6-domain-list.out diff --git a/tests/dhcpv6-domain-list.pcap b/src/tests/dhcpv6-domain-list.pcap similarity index 100% rename from tests/dhcpv6-domain-list.pcap rename to src/tests/dhcpv6-domain-list.pcap diff --git a/tests/dhcpv6-ia-na.out b/src/tests/dhcpv6-ia-na.out similarity index 100% rename from tests/dhcpv6-ia-na.out rename to src/tests/dhcpv6-ia-na.out diff --git a/tests/dhcpv6-ia-na.pcap b/src/tests/dhcpv6-ia-na.pcap similarity index 100% rename from tests/dhcpv6-ia-na.pcap rename to src/tests/dhcpv6-ia-na.pcap diff --git a/tests/dhcpv6-ia-pd.out b/src/tests/dhcpv6-ia-pd.out similarity index 100% rename from tests/dhcpv6-ia-pd.out rename to src/tests/dhcpv6-ia-pd.out diff --git a/tests/dhcpv6-ia-pd.pcap b/src/tests/dhcpv6-ia-pd.pcap similarity index 100% rename from tests/dhcpv6-ia-pd.pcap rename to src/tests/dhcpv6-ia-pd.pcap diff --git a/tests/dhcpv6-ia-ta.out b/src/tests/dhcpv6-ia-ta.out similarity index 100% rename from tests/dhcpv6-ia-ta.out rename to src/tests/dhcpv6-ia-ta.out diff --git a/tests/dhcpv6-ia-ta.pcap b/src/tests/dhcpv6-ia-ta.pcap similarity index 100% rename from tests/dhcpv6-ia-ta.pcap rename to src/tests/dhcpv6-ia-ta.pcap diff --git a/tests/dhcpv6-ntp-server.out b/src/tests/dhcpv6-ntp-server.out similarity index 100% rename from tests/dhcpv6-ntp-server.out rename to src/tests/dhcpv6-ntp-server.out diff --git a/tests/dhcpv6-ntp-server.pcap b/src/tests/dhcpv6-ntp-server.pcap similarity index 100% rename from tests/dhcpv6-ntp-server.pcap rename to src/tests/dhcpv6-ntp-server.pcap diff --git a/tests/dhcpv6-sip-server-d.out b/src/tests/dhcpv6-sip-server-d.out similarity index 100% rename from tests/dhcpv6-sip-server-d.out rename to src/tests/dhcpv6-sip-server-d.out diff --git a/tests/dhcpv6-sip-server-d.pcap b/src/tests/dhcpv6-sip-server-d.pcap similarity index 100% rename from tests/dhcpv6-sip-server-d.pcap rename to src/tests/dhcpv6-sip-server-d.pcap diff --git a/tests/dnssec-vv.out b/src/tests/dnssec-vv.out similarity index 100% rename from tests/dnssec-vv.out rename to src/tests/dnssec-vv.out diff --git a/tests/dnssec.pcap b/src/tests/dnssec.pcap similarity index 100% rename from tests/dnssec.pcap rename to src/tests/dnssec.pcap diff --git a/tests/dtp-v.out b/src/tests/dtp-v.out similarity index 100% rename from tests/dtp-v.out rename to src/tests/dtp-v.out diff --git a/tests/dvmrp.out b/src/tests/dvmrp.out similarity index 100% rename from tests/dvmrp.out rename to src/tests/dvmrp.out diff --git a/tests/e1000g.out b/src/tests/e1000g.out similarity index 100% rename from tests/e1000g.out rename to src/tests/e1000g.out diff --git a/tests/e1000g.pcap b/src/tests/e1000g.pcap similarity index 100% rename from tests/e1000g.pcap rename to src/tests/e1000g.pcap diff --git a/tests/eapon1.gdbinit b/src/tests/eapon1.gdbinit similarity index 100% rename from tests/eapon1.gdbinit rename to src/tests/eapon1.gdbinit diff --git a/tests/eapon1.out b/src/tests/eapon1.out similarity index 100% rename from tests/eapon1.out rename to src/tests/eapon1.out diff --git a/tests/eapon1.pcap b/src/tests/eapon1.pcap similarity index 100% rename from tests/eapon1.pcap rename to src/tests/eapon1.pcap diff --git a/tests/eigrp1-v.out b/src/tests/eigrp1-v.out similarity index 100% rename from tests/eigrp1-v.out rename to src/tests/eigrp1-v.out diff --git a/tests/eigrp2-v.out b/src/tests/eigrp2-v.out similarity index 100% rename from tests/eigrp2-v.out rename to src/tests/eigrp2-v.out diff --git a/tests/eigrp3-v.out b/src/tests/eigrp3-v.out similarity index 100% rename from tests/eigrp3-v.out rename to src/tests/eigrp3-v.out diff --git a/tests/eigrp4-v.out b/src/tests/eigrp4-v.out similarity index 100% rename from tests/eigrp4-v.out rename to src/tests/eigrp4-v.out diff --git a/tests/epgm_zmtp1.pcap b/src/tests/epgm_zmtp1.pcap similarity index 100% rename from tests/epgm_zmtp1.pcap rename to src/tests/epgm_zmtp1.pcap diff --git a/tests/epgm_zmtp1v.out b/src/tests/epgm_zmtp1v.out similarity index 100% rename from tests/epgm_zmtp1v.out rename to src/tests/epgm_zmtp1v.out diff --git a/tests/epgmv.out b/src/tests/epgmv.out similarity index 100% rename from tests/epgmv.out rename to src/tests/epgmv.out diff --git a/tests/esp-secrets.txt b/src/tests/esp-secrets.txt similarity index 100% rename from tests/esp-secrets.txt rename to src/tests/esp-secrets.txt diff --git a/tests/esp0.out b/src/tests/esp0.out similarity index 100% rename from tests/esp0.out rename to src/tests/esp0.out diff --git a/tests/esp1.gdbinit b/src/tests/esp1.gdbinit similarity index 100% rename from tests/esp1.gdbinit rename to src/tests/esp1.gdbinit diff --git a/tests/esp1.out b/src/tests/esp1.out similarity index 100% rename from tests/esp1.out rename to src/tests/esp1.out diff --git a/tests/esp2.gdbinit b/src/tests/esp2.gdbinit similarity index 100% rename from tests/esp2.gdbinit rename to src/tests/esp2.gdbinit diff --git a/tests/esp2.out b/src/tests/esp2.out similarity index 100% rename from tests/esp2.out rename to src/tests/esp2.out diff --git a/tests/esp3.gdbinit b/src/tests/esp3.gdbinit similarity index 100% rename from tests/esp3.gdbinit rename to src/tests/esp3.gdbinit diff --git a/tests/esp4.gdbinit b/src/tests/esp4.gdbinit similarity index 100% rename from tests/esp4.gdbinit rename to src/tests/esp4.gdbinit diff --git a/tests/esp5.gdbinit b/src/tests/esp5.gdbinit similarity index 100% rename from tests/esp5.gdbinit rename to src/tests/esp5.gdbinit diff --git a/tests/esp5.out b/src/tests/esp5.out similarity index 100% rename from tests/esp5.out rename to src/tests/esp5.out diff --git a/tests/espudp1.out b/src/tests/espudp1.out similarity index 100% rename from tests/espudp1.out rename to src/tests/espudp1.out diff --git a/tests/espudp1.pcap b/src/tests/espudp1.pcap similarity index 100% rename from tests/espudp1.pcap rename to src/tests/espudp1.pcap diff --git a/tests/evb.out b/src/tests/evb.out similarity index 100% rename from tests/evb.out rename to src/tests/evb.out diff --git a/tests/evb.pcap b/src/tests/evb.pcap similarity index 100% rename from tests/evb.pcap rename to src/tests/evb.pcap diff --git a/tests/failure-outputs.txt b/src/tests/failure-outputs.txt similarity index 100% rename from tests/failure-outputs.txt rename to src/tests/failure-outputs.txt diff --git a/tests/forces1.out b/src/tests/forces1.out similarity index 100% rename from tests/forces1.out rename to src/tests/forces1.out diff --git a/tests/forces1.pcap b/src/tests/forces1.pcap similarity index 100% rename from tests/forces1.pcap rename to src/tests/forces1.pcap diff --git a/tests/forces1vvv.out b/src/tests/forces1vvv.out similarity index 100% rename from tests/forces1vvv.out rename to src/tests/forces1vvv.out diff --git a/tests/forces1vvvv.out b/src/tests/forces1vvvv.out similarity index 100% rename from tests/forces1vvvv.out rename to src/tests/forces1vvvv.out diff --git a/tests/forces2.pcap b/src/tests/forces2.pcap similarity index 100% rename from tests/forces2.pcap rename to src/tests/forces2.pcap diff --git a/tests/forces2v.out b/src/tests/forces2v.out similarity index 100% rename from tests/forces2v.out rename to src/tests/forces2v.out diff --git a/tests/forces2vv.out b/src/tests/forces2vv.out similarity index 100% rename from tests/forces2vv.out rename to src/tests/forces2vv.out diff --git a/tests/forces2vvv.out b/src/tests/forces2vvv.out similarity index 100% rename from tests/forces2vvv.out rename to src/tests/forces2vvv.out diff --git a/tests/forces3.pcap b/src/tests/forces3.pcap similarity index 100% rename from tests/forces3.pcap rename to src/tests/forces3.pcap diff --git a/tests/forces3vvv.out b/src/tests/forces3vvv.out similarity index 100% rename from tests/forces3vvv.out rename to src/tests/forces3vvv.out diff --git a/tests/geneve-tcp.out b/src/tests/geneve-tcp.out similarity index 100% rename from tests/geneve-tcp.out rename to src/tests/geneve-tcp.out diff --git a/tests/geneve-vni.out b/src/tests/geneve-vni.out similarity index 100% rename from tests/geneve-vni.out rename to src/tests/geneve-vni.out diff --git a/tests/geneve-vv.out b/src/tests/geneve-vv.out similarity index 100% rename from tests/geneve-vv.out rename to src/tests/geneve-vv.out diff --git a/tests/geneve.pcap b/src/tests/geneve.pcap similarity index 100% rename from tests/geneve.pcap rename to src/tests/geneve.pcap diff --git a/tests/geonet_and_calm_fast.out b/src/tests/geonet_and_calm_fast.out similarity index 100% rename from tests/geonet_and_calm_fast.out rename to src/tests/geonet_and_calm_fast.out diff --git a/tests/geonet_and_calm_fast.pcap b/src/tests/geonet_and_calm_fast.pcap similarity index 100% rename from tests/geonet_and_calm_fast.pcap rename to src/tests/geonet_and_calm_fast.pcap diff --git a/tests/hdlc1.out b/src/tests/hdlc1.out similarity index 100% rename from tests/hdlc1.out rename to src/tests/hdlc1.out diff --git a/tests/hdlc2.out b/src/tests/hdlc2.out similarity index 100% rename from tests/hdlc2.out rename to src/tests/hdlc2.out diff --git a/tests/hdlc3.out b/src/tests/hdlc3.out similarity index 100% rename from tests/hdlc3.out rename to src/tests/hdlc3.out diff --git a/tests/hdlc4.out b/src/tests/hdlc4.out similarity index 100% rename from tests/hdlc4.out rename to src/tests/hdlc4.out diff --git a/tests/hdlc_slarp.pcap b/src/tests/hdlc_slarp.pcap similarity index 100% rename from tests/hdlc_slarp.pcap rename to src/tests/hdlc_slarp.pcap diff --git a/tests/hncp.out b/src/tests/hncp.out similarity index 100% rename from tests/hncp.out rename to src/tests/hncp.out diff --git a/tests/hncp.pcap b/src/tests/hncp.pcap similarity index 100% rename from tests/hncp.pcap rename to src/tests/hncp.pcap diff --git a/tests/hsrp_1-v.out b/src/tests/hsrp_1-v.out similarity index 100% rename from tests/hsrp_1-v.out rename to src/tests/hsrp_1-v.out diff --git a/tests/hsrp_1.out b/src/tests/hsrp_1.out similarity index 100% rename from tests/hsrp_1.out rename to src/tests/hsrp_1.out diff --git a/tests/hsrp_2-v.out b/src/tests/hsrp_2-v.out similarity index 100% rename from tests/hsrp_2-v.out rename to src/tests/hsrp_2-v.out diff --git a/tests/hsrp_3-v.out b/src/tests/hsrp_3-v.out similarity index 100% rename from tests/hsrp_3-v.out rename to src/tests/hsrp_3-v.out diff --git a/tests/icmpv6.out b/src/tests/icmpv6.out similarity index 100% rename from tests/icmpv6.out rename to src/tests/icmpv6.out diff --git a/tests/icmpv6.pcap b/src/tests/icmpv6.pcap similarity index 100% rename from tests/icmpv6.pcap rename to src/tests/icmpv6.pcap diff --git a/tests/icmpv6_opt24-v.out b/src/tests/icmpv6_opt24-v.out similarity index 100% rename from tests/icmpv6_opt24-v.out rename to src/tests/icmpv6_opt24-v.out diff --git a/tests/icmpv6_opt24.pcap b/src/tests/icmpv6_opt24.pcap similarity index 100% rename from tests/icmpv6_opt24.pcap rename to src/tests/icmpv6_opt24.pcap diff --git a/tests/ieee802.11_exthdr.out b/src/tests/ieee802.11_exthdr.out similarity index 100% rename from tests/ieee802.11_exthdr.out rename to src/tests/ieee802.11_exthdr.out diff --git a/tests/ieee802.11_exthdr.pcap b/src/tests/ieee802.11_exthdr.pcap similarity index 100% rename from tests/ieee802.11_exthdr.pcap rename to src/tests/ieee802.11_exthdr.pcap diff --git a/tests/ieee802.11_rx-stbc.out b/src/tests/ieee802.11_rx-stbc.out similarity index 100% rename from tests/ieee802.11_rx-stbc.out rename to src/tests/ieee802.11_rx-stbc.out diff --git a/tests/ieee802.11_rx-stbc.pcap b/src/tests/ieee802.11_rx-stbc.pcap similarity index 100% rename from tests/ieee802.11_rx-stbc.pcap rename to src/tests/ieee802.11_rx-stbc.pcap diff --git a/tests/igmpv1.out b/src/tests/igmpv1.out similarity index 100% rename from tests/igmpv1.out rename to src/tests/igmpv1.out diff --git a/tests/igmpv2.out b/src/tests/igmpv2.out similarity index 100% rename from tests/igmpv2.out rename to src/tests/igmpv2.out diff --git a/tests/igmpv3-queries.out b/src/tests/igmpv3-queries.out similarity index 100% rename from tests/igmpv3-queries.out rename to src/tests/igmpv3-queries.out diff --git a/tests/igmpv3-queries.pcap b/src/tests/igmpv3-queries.pcap similarity index 100% rename from tests/igmpv3-queries.pcap rename to src/tests/igmpv3-queries.pcap diff --git a/tests/ikev2four.out b/src/tests/ikev2four.out similarity index 100% rename from tests/ikev2four.out rename to src/tests/ikev2four.out diff --git a/tests/ikev2four.pcap b/src/tests/ikev2four.pcap similarity index 100% rename from tests/ikev2four.pcap rename to src/tests/ikev2four.pcap diff --git a/tests/ikev2fourv.out b/src/tests/ikev2fourv.out similarity index 100% rename from tests/ikev2fourv.out rename to src/tests/ikev2fourv.out diff --git a/tests/ikev2fourv4.out b/src/tests/ikev2fourv4.out similarity index 100% rename from tests/ikev2fourv4.out rename to src/tests/ikev2fourv4.out diff --git a/tests/ikev2pI2-secrets.txt b/src/tests/ikev2pI2-secrets.txt similarity index 100% rename from tests/ikev2pI2-secrets.txt rename to src/tests/ikev2pI2-secrets.txt diff --git a/tests/ikev2pI2.out b/src/tests/ikev2pI2.out similarity index 100% rename from tests/ikev2pI2.out rename to src/tests/ikev2pI2.out diff --git a/tests/ikev2pI2.pcap b/src/tests/ikev2pI2.pcap similarity index 100% rename from tests/ikev2pI2.pcap rename to src/tests/ikev2pI2.pcap diff --git a/tests/ipv6-bad-version.out b/src/tests/ipv6-bad-version.out similarity index 100% rename from tests/ipv6-bad-version.out rename to src/tests/ipv6-bad-version.out diff --git a/tests/ipv6-bad-version.pcap b/src/tests/ipv6-bad-version.pcap similarity index 100% rename from tests/ipv6-bad-version.pcap rename to src/tests/ipv6-bad-version.pcap diff --git a/tests/ipv6-routing-header.out b/src/tests/ipv6-routing-header.out similarity index 100% rename from tests/ipv6-routing-header.out rename to src/tests/ipv6-routing-header.out diff --git a/tests/ipv6-routing-header.pcap b/src/tests/ipv6-routing-header.pcap similarity index 100% rename from tests/ipv6-routing-header.pcap rename to src/tests/ipv6-routing-header.pcap diff --git a/tests/isakmp-delete-segfault.pcap b/src/tests/isakmp-delete-segfault.pcap similarity index 100% rename from tests/isakmp-delete-segfault.pcap rename to src/tests/isakmp-delete-segfault.pcap diff --git a/tests/isakmp-identification-segfault.pcap b/src/tests/isakmp-identification-segfault.pcap similarity index 100% rename from tests/isakmp-identification-segfault.pcap rename to src/tests/isakmp-identification-segfault.pcap diff --git a/tests/isakmp-pointer-loop.pcap b/src/tests/isakmp-pointer-loop.pcap similarity index 100% rename from tests/isakmp-pointer-loop.pcap rename to src/tests/isakmp-pointer-loop.pcap diff --git a/tests/isakmp1.out b/src/tests/isakmp1.out similarity index 100% rename from tests/isakmp1.out rename to src/tests/isakmp1.out diff --git a/tests/isakmp2.out b/src/tests/isakmp2.out similarity index 100% rename from tests/isakmp2.out rename to src/tests/isakmp2.out diff --git a/tests/isakmp3.out b/src/tests/isakmp3.out similarity index 100% rename from tests/isakmp3.out rename to src/tests/isakmp3.out diff --git a/tests/isakmp4.out b/src/tests/isakmp4.out similarity index 100% rename from tests/isakmp4.out rename to src/tests/isakmp4.out diff --git a/tests/isakmp4500.pcap b/src/tests/isakmp4500.pcap similarity index 100% rename from tests/isakmp4500.pcap rename to src/tests/isakmp4500.pcap diff --git a/tests/isakmp5-v.out b/src/tests/isakmp5-v.out similarity index 100% rename from tests/isakmp5-v.out rename to src/tests/isakmp5-v.out diff --git a/tests/isis-infinite-loop.pcap b/src/tests/isis-infinite-loop.pcap similarity index 100% rename from tests/isis-infinite-loop.pcap rename to src/tests/isis-infinite-loop.pcap diff --git a/tests/isis_1-v.out b/src/tests/isis_1-v.out similarity index 100% rename from tests/isis_1-v.out rename to src/tests/isis_1-v.out diff --git a/tests/isis_1.out b/src/tests/isis_1.out similarity index 100% rename from tests/isis_1.out rename to src/tests/isis_1.out diff --git a/tests/isis_2-v.out b/src/tests/isis_2-v.out similarity index 100% rename from tests/isis_2-v.out rename to src/tests/isis_2-v.out diff --git a/tests/isis_3-v.out b/src/tests/isis_3-v.out similarity index 100% rename from tests/isis_3-v.out rename to src/tests/isis_3-v.out diff --git a/tests/isis_4-v.out b/src/tests/isis_4-v.out similarity index 100% rename from tests/isis_4-v.out rename to src/tests/isis_4-v.out diff --git a/tests/isis_infloop-v.out b/src/tests/isis_infloop-v.out similarity index 100% rename from tests/isis_infloop-v.out rename to src/tests/isis_infloop-v.out diff --git a/tests/isis_poi.out b/src/tests/isis_poi.out similarity index 100% rename from tests/isis_poi.out rename to src/tests/isis_poi.out diff --git a/tests/isis_poi.pcap b/src/tests/isis_poi.pcap similarity index 100% rename from tests/isis_poi.pcap rename to src/tests/isis_poi.pcap diff --git a/tests/isis_poi2.out b/src/tests/isis_poi2.out similarity index 100% rename from tests/isis_poi2.out rename to src/tests/isis_poi2.out diff --git a/tests/isis_poi2.pcap b/src/tests/isis_poi2.pcap similarity index 100% rename from tests/isis_poi2.pcap rename to src/tests/isis_poi2.pcap diff --git a/tests/isup.out b/src/tests/isup.out similarity index 100% rename from tests/isup.out rename to src/tests/isup.out diff --git a/tests/isup.pcap b/src/tests/isup.pcap similarity index 100% rename from tests/isup.pcap rename to src/tests/isup.pcap diff --git a/tests/isupvv.out b/src/tests/isupvv.out similarity index 100% rename from tests/isupvv.out rename to src/tests/isupvv.out diff --git a/tests/kday1.out b/src/tests/kday1.out similarity index 100% rename from tests/kday1.out rename to src/tests/kday1.out diff --git a/tests/kday1.pcap b/src/tests/kday1.pcap similarity index 100% rename from tests/kday1.pcap rename to src/tests/kday1.pcap diff --git a/tests/kday2.out b/src/tests/kday2.out similarity index 100% rename from tests/kday2.out rename to src/tests/kday2.out diff --git a/tests/kday2.pcap b/src/tests/kday2.pcap similarity index 100% rename from tests/kday2.pcap rename to src/tests/kday2.pcap diff --git a/tests/kday3.out b/src/tests/kday3.out similarity index 100% rename from tests/kday3.out rename to src/tests/kday3.out diff --git a/tests/kday3.pcap b/src/tests/kday3.pcap similarity index 100% rename from tests/kday3.pcap rename to src/tests/kday3.pcap diff --git a/tests/kday4.out b/src/tests/kday4.out similarity index 100% rename from tests/kday4.out rename to src/tests/kday4.out diff --git a/tests/kday4.pcap b/src/tests/kday4.pcap similarity index 100% rename from tests/kday4.pcap rename to src/tests/kday4.pcap diff --git a/tests/kday5.out b/src/tests/kday5.out similarity index 100% rename from tests/kday5.out rename to src/tests/kday5.out diff --git a/tests/kday5.pcap b/src/tests/kday5.pcap similarity index 100% rename from tests/kday5.pcap rename to src/tests/kday5.pcap diff --git a/tests/kday6.out b/src/tests/kday6.out similarity index 100% rename from tests/kday6.out rename to src/tests/kday6.out diff --git a/tests/kday6.pcap b/src/tests/kday6.pcap similarity index 100% rename from tests/kday6.pcap rename to src/tests/kday6.pcap diff --git a/tests/kday7.out b/src/tests/kday7.out similarity index 100% rename from tests/kday7.out rename to src/tests/kday7.out diff --git a/tests/kday7.pcap b/src/tests/kday7.pcap similarity index 100% rename from tests/kday7.pcap rename to src/tests/kday7.pcap diff --git a/tests/kday8.out b/src/tests/kday8.out similarity index 100% rename from tests/kday8.out rename to src/tests/kday8.out diff --git a/tests/kday8.pcap b/src/tests/kday8.pcap similarity index 100% rename from tests/kday8.pcap rename to src/tests/kday8.pcap diff --git a/tests/lacp-ev.out b/src/tests/lacp-ev.out similarity index 100% rename from tests/lacp-ev.out rename to src/tests/lacp-ev.out diff --git a/tests/ldp-infinite-loop.pcap b/src/tests/ldp-infinite-loop.pcap similarity index 100% rename from tests/ldp-infinite-loop.pcap rename to src/tests/ldp-infinite-loop.pcap diff --git a/tests/ldp_infloop.out b/src/tests/ldp_infloop.out similarity index 100% rename from tests/ldp_infloop.out rename to src/tests/ldp_infloop.out diff --git a/tests/lisp_eid_notify.out b/src/tests/lisp_eid_notify.out similarity index 100% rename from tests/lisp_eid_notify.out rename to src/tests/lisp_eid_notify.out diff --git a/tests/lisp_eid_notify.pcap b/src/tests/lisp_eid_notify.pcap similarity index 100% rename from tests/lisp_eid_notify.pcap rename to src/tests/lisp_eid_notify.pcap diff --git a/tests/lisp_eid_register.out b/src/tests/lisp_eid_register.out similarity index 100% rename from tests/lisp_eid_register.out rename to src/tests/lisp_eid_register.out diff --git a/tests/lisp_eid_register.pcap b/src/tests/lisp_eid_register.pcap similarity index 100% rename from tests/lisp_eid_register.pcap rename to src/tests/lisp_eid_register.pcap diff --git a/tests/lisp_ipv6.out b/src/tests/lisp_ipv6.out similarity index 100% rename from tests/lisp_ipv6.out rename to src/tests/lisp_ipv6.out diff --git a/tests/lisp_ipv6.pcap b/src/tests/lisp_ipv6.pcap similarity index 100% rename from tests/lisp_ipv6.pcap rename to src/tests/lisp_ipv6.pcap diff --git a/tests/lldp_cdp-ev.out b/src/tests/lldp_cdp-ev.out similarity index 100% rename from tests/lldp_cdp-ev.out rename to src/tests/lldp_cdp-ev.out diff --git a/tests/lmp-v.out b/src/tests/lmp-v.out similarity index 100% rename from tests/lmp-v.out rename to src/tests/lmp-v.out diff --git a/tests/lmp-v.sh b/src/tests/lmp-v.sh similarity index 100% rename from tests/lmp-v.sh rename to src/tests/lmp-v.sh diff --git a/tests/lmp.out b/src/tests/lmp.out similarity index 100% rename from tests/lmp.out rename to src/tests/lmp.out diff --git a/tests/lmp.pcap b/src/tests/lmp.pcap similarity index 100% rename from tests/lmp.pcap rename to src/tests/lmp.pcap diff --git a/tests/loopback.out b/src/tests/loopback.out similarity index 100% rename from tests/loopback.out rename to src/tests/loopback.out diff --git a/tests/loopback.pcap b/src/tests/loopback.pcap similarity index 100% rename from tests/loopback.pcap rename to src/tests/loopback.pcap diff --git a/tests/lspping-fec-ldp-v.out b/src/tests/lspping-fec-ldp-v.out similarity index 100% rename from tests/lspping-fec-ldp-v.out rename to src/tests/lspping-fec-ldp-v.out diff --git a/tests/lspping-fec-ldp-vv.out b/src/tests/lspping-fec-ldp-vv.out similarity index 100% rename from tests/lspping-fec-ldp-vv.out rename to src/tests/lspping-fec-ldp-vv.out diff --git a/tests/lspping-fec-ldp.out b/src/tests/lspping-fec-ldp.out similarity index 100% rename from tests/lspping-fec-ldp.out rename to src/tests/lspping-fec-ldp.out diff --git a/tests/lspping-fec-ldp.pcap b/src/tests/lspping-fec-ldp.pcap similarity index 100% rename from tests/lspping-fec-ldp.pcap rename to src/tests/lspping-fec-ldp.pcap diff --git a/tests/lspping-fec-rsvp-v.out b/src/tests/lspping-fec-rsvp-v.out similarity index 100% rename from tests/lspping-fec-rsvp-v.out rename to src/tests/lspping-fec-rsvp-v.out diff --git a/tests/lspping-fec-rsvp-vv.out b/src/tests/lspping-fec-rsvp-vv.out similarity index 100% rename from tests/lspping-fec-rsvp-vv.out rename to src/tests/lspping-fec-rsvp-vv.out diff --git a/tests/lspping-fec-rsvp.out b/src/tests/lspping-fec-rsvp.out similarity index 100% rename from tests/lspping-fec-rsvp.out rename to src/tests/lspping-fec-rsvp.out diff --git a/tests/lspping-fec-rsvp.pcap b/src/tests/lspping-fec-rsvp.pcap similarity index 100% rename from tests/lspping-fec-rsvp.pcap rename to src/tests/lspping-fec-rsvp.pcap diff --git a/tests/medsa-e.out b/src/tests/medsa-e.out similarity index 100% rename from tests/medsa-e.out rename to src/tests/medsa-e.out diff --git a/tests/medsa.out b/src/tests/medsa.out similarity index 100% rename from tests/medsa.out rename to src/tests/medsa.out diff --git a/tests/medsa.pcap b/src/tests/medsa.pcap similarity index 100% rename from tests/medsa.pcap rename to src/tests/medsa.pcap diff --git a/tests/mpbgp-linklocal-nexthop.out b/src/tests/mpbgp-linklocal-nexthop.out similarity index 100% rename from tests/mpbgp-linklocal-nexthop.out rename to src/tests/mpbgp-linklocal-nexthop.out diff --git a/tests/mpbgp-linklocal-nexthop.pcap b/src/tests/mpbgp-linklocal-nexthop.pcap similarity index 100% rename from tests/mpbgp-linklocal-nexthop.pcap rename to src/tests/mpbgp-linklocal-nexthop.pcap diff --git a/tests/mpls-ldp-hello.out b/src/tests/mpls-ldp-hello.out similarity index 100% rename from tests/mpls-ldp-hello.out rename to src/tests/mpls-ldp-hello.out diff --git a/tests/mpls-ldp-hello.pcap b/src/tests/mpls-ldp-hello.pcap similarity index 100% rename from tests/mpls-ldp-hello.pcap rename to src/tests/mpls-ldp-hello.pcap diff --git a/tests/mpls-traceroute-v.out b/src/tests/mpls-traceroute-v.out similarity index 100% rename from tests/mpls-traceroute-v.out rename to src/tests/mpls-traceroute-v.out diff --git a/tests/mpls-traceroute.out b/src/tests/mpls-traceroute.out similarity index 100% rename from tests/mpls-traceroute.out rename to src/tests/mpls-traceroute.out diff --git a/tests/mpls-traceroute.pcap b/src/tests/mpls-traceroute.pcap similarity index 100% rename from tests/mpls-traceroute.pcap rename to src/tests/mpls-traceroute.pcap diff --git a/tests/mptcp-fclose.out b/src/tests/mptcp-fclose.out similarity index 100% rename from tests/mptcp-fclose.out rename to src/tests/mptcp-fclose.out diff --git a/tests/mptcp-fclose.pcap b/src/tests/mptcp-fclose.pcap similarity index 100% rename from tests/mptcp-fclose.pcap rename to src/tests/mptcp-fclose.pcap diff --git a/tests/mptcp.out b/src/tests/mptcp.out similarity index 100% rename from tests/mptcp.out rename to src/tests/mptcp.out diff --git a/tests/mptcp.pcap b/src/tests/mptcp.pcap similarity index 100% rename from tests/mptcp.pcap rename to src/tests/mptcp.pcap diff --git a/tests/mrinfo_query.pcap b/src/tests/mrinfo_query.pcap similarity index 100% rename from tests/mrinfo_query.pcap rename to src/tests/mrinfo_query.pcap diff --git a/tests/msnlb.out b/src/tests/msnlb.out similarity index 100% rename from tests/msnlb.out rename to src/tests/msnlb.out diff --git a/tests/msnlb.pcap b/src/tests/msnlb.pcap similarity index 100% rename from tests/msnlb.pcap rename to src/tests/msnlb.pcap diff --git a/tests/msnlb2.out b/src/tests/msnlb2.out similarity index 100% rename from tests/msnlb2.out rename to src/tests/msnlb2.out diff --git a/tests/msnlb2.pcap b/src/tests/msnlb2.pcap similarity index 100% rename from tests/msnlb2.pcap rename to src/tests/msnlb2.pcap diff --git a/tests/mstp-v.out b/src/tests/mstp-v.out similarity index 100% rename from tests/mstp-v.out rename to src/tests/mstp-v.out diff --git a/tests/mtrace.out b/src/tests/mtrace.out similarity index 100% rename from tests/mtrace.out rename to src/tests/mtrace.out diff --git a/tests/mtrace.pcap b/src/tests/mtrace.pcap similarity index 100% rename from tests/mtrace.pcap rename to src/tests/mtrace.pcap diff --git a/tests/nflog-e.out b/src/tests/nflog-e.out similarity index 100% rename from tests/nflog-e.out rename to src/tests/nflog-e.out diff --git a/tests/nflog-e.sh b/src/tests/nflog-e.sh similarity index 100% rename from tests/nflog-e.sh rename to src/tests/nflog-e.sh diff --git a/tests/nflog.pcap b/src/tests/nflog.pcap similarity index 100% rename from tests/nflog.pcap rename to src/tests/nflog.pcap diff --git a/tests/nsh-over-vxlan-gpe-v.out b/src/tests/nsh-over-vxlan-gpe-v.out similarity index 100% rename from tests/nsh-over-vxlan-gpe-v.out rename to src/tests/nsh-over-vxlan-gpe-v.out diff --git a/tests/nsh-over-vxlan-gpe-vv.out b/src/tests/nsh-over-vxlan-gpe-vv.out similarity index 100% rename from tests/nsh-over-vxlan-gpe-vv.out rename to src/tests/nsh-over-vxlan-gpe-vv.out diff --git a/tests/nsh-over-vxlan-gpe-vvv.out b/src/tests/nsh-over-vxlan-gpe-vvv.out similarity index 100% rename from tests/nsh-over-vxlan-gpe-vvv.out rename to src/tests/nsh-over-vxlan-gpe-vvv.out diff --git a/tests/nsh-over-vxlan-gpe.out b/src/tests/nsh-over-vxlan-gpe.out similarity index 100% rename from tests/nsh-over-vxlan-gpe.out rename to src/tests/nsh-over-vxlan-gpe.out diff --git a/tests/nsh-over-vxlan-gpe.pcap b/src/tests/nsh-over-vxlan-gpe.pcap similarity index 100% rename from tests/nsh-over-vxlan-gpe.pcap rename to src/tests/nsh-over-vxlan-gpe.pcap diff --git a/tests/of10_7050q-v.out b/src/tests/of10_7050q-v.out similarity index 100% rename from tests/of10_7050q-v.out rename to src/tests/of10_7050q-v.out diff --git a/tests/of10_7050q.pcap b/src/tests/of10_7050q.pcap similarity index 100% rename from tests/of10_7050q.pcap rename to src/tests/of10_7050q.pcap diff --git a/tests/of10_7050sx_bsn-vv.out b/src/tests/of10_7050sx_bsn-vv.out similarity index 100% rename from tests/of10_7050sx_bsn-vv.out rename to src/tests/of10_7050sx_bsn-vv.out diff --git a/tests/of10_7050sx_bsn.pcap b/src/tests/of10_7050sx_bsn.pcap similarity index 100% rename from tests/of10_7050sx_bsn.pcap rename to src/tests/of10_7050sx_bsn.pcap diff --git a/tests/of10_p3295-vv.out b/src/tests/of10_p3295-vv.out similarity index 100% rename from tests/of10_p3295-vv.out rename to src/tests/of10_p3295-vv.out diff --git a/tests/of10_p3295.pcap b/src/tests/of10_p3295.pcap similarity index 100% rename from tests/of10_p3295.pcap rename to src/tests/of10_p3295.pcap diff --git a/tests/of10_pf5240-vv.out b/src/tests/of10_pf5240-vv.out similarity index 100% rename from tests/of10_pf5240-vv.out rename to src/tests/of10_pf5240-vv.out diff --git a/tests/of10_pf5240.pcap b/src/tests/of10_pf5240.pcap similarity index 100% rename from tests/of10_pf5240.pcap rename to src/tests/of10_pf5240.pcap diff --git a/tests/of10_s4810-vvvv.out b/src/tests/of10_s4810-vvvv.out similarity index 100% rename from tests/of10_s4810-vvvv.out rename to src/tests/of10_s4810-vvvv.out diff --git a/tests/of10_s4810.pcap b/src/tests/of10_s4810.pcap similarity index 100% rename from tests/of10_s4810.pcap rename to src/tests/of10_s4810.pcap diff --git a/tests/ospf-gmpls.out b/src/tests/ospf-gmpls.out similarity index 100% rename from tests/ospf-gmpls.out rename to src/tests/ospf-gmpls.out diff --git a/tests/ospf-gmpls.pcap b/src/tests/ospf-gmpls.pcap similarity index 100% rename from tests/ospf-gmpls.pcap rename to src/tests/ospf-gmpls.pcap diff --git a/tests/ospf3_ah-vv.out b/src/tests/ospf3_ah-vv.out similarity index 100% rename from tests/ospf3_ah-vv.out rename to src/tests/ospf3_ah-vv.out diff --git a/tests/ospf3_auth-vv.out b/src/tests/ospf3_auth-vv.out similarity index 100% rename from tests/ospf3_auth-vv.out rename to src/tests/ospf3_auth-vv.out diff --git a/tests/ospf3_auth.pcap b/src/tests/ospf3_auth.pcap similarity index 100% rename from tests/ospf3_auth.pcap rename to src/tests/ospf3_auth.pcap diff --git a/tests/ospf3_bc-vv.out b/src/tests/ospf3_bc-vv.out similarity index 100% rename from tests/ospf3_bc-vv.out rename to src/tests/ospf3_bc-vv.out diff --git a/tests/ospf3_mp-vv.out b/src/tests/ospf3_mp-vv.out similarity index 100% rename from tests/ospf3_mp-vv.out rename to src/tests/ospf3_mp-vv.out diff --git a/tests/ospf3_nbma-vv.out b/src/tests/ospf3_nbma-vv.out similarity index 100% rename from tests/ospf3_nbma-vv.out rename to src/tests/ospf3_nbma-vv.out diff --git a/tests/pcap-invalid-version-1.out b/src/tests/pcap-invalid-version-1.out similarity index 100% rename from tests/pcap-invalid-version-1.out rename to src/tests/pcap-invalid-version-1.out diff --git a/tests/pcap-invalid-version-1.pcap b/src/tests/pcap-invalid-version-1.pcap similarity index 100% rename from tests/pcap-invalid-version-1.pcap rename to src/tests/pcap-invalid-version-1.pcap diff --git a/tests/pcap-invalid-version-2.out b/src/tests/pcap-invalid-version-2.out similarity index 100% rename from tests/pcap-invalid-version-2.out rename to src/tests/pcap-invalid-version-2.out diff --git a/tests/pcap-invalid-version-2.pcap b/src/tests/pcap-invalid-version-2.pcap similarity index 100% rename from tests/pcap-invalid-version-2.pcap rename to src/tests/pcap-invalid-version-2.pcap diff --git a/tests/pcap-ng-invalid-vers-1.out b/src/tests/pcap-ng-invalid-vers-1.out similarity index 100% rename from tests/pcap-ng-invalid-vers-1.out rename to src/tests/pcap-ng-invalid-vers-1.out diff --git a/tests/pcap-ng-invalid-vers-1.pcap b/src/tests/pcap-ng-invalid-vers-1.pcap similarity index 100% rename from tests/pcap-ng-invalid-vers-1.pcap rename to src/tests/pcap-ng-invalid-vers-1.pcap diff --git a/tests/pcap-ng-invalid-vers-2.out b/src/tests/pcap-ng-invalid-vers-2.out similarity index 100% rename from tests/pcap-ng-invalid-vers-2.out rename to src/tests/pcap-ng-invalid-vers-2.out diff --git a/tests/pcap-ng-invalid-vers-2.pcap b/src/tests/pcap-ng-invalid-vers-2.pcap similarity index 100% rename from tests/pcap-ng-invalid-vers-2.pcap rename to src/tests/pcap-ng-invalid-vers-2.pcap diff --git a/tests/pgm_zmtp1.pcap b/src/tests/pgm_zmtp1.pcap similarity index 100% rename from tests/pgm_zmtp1.pcap rename to src/tests/pgm_zmtp1.pcap diff --git a/tests/pgm_zmtp1v.out b/src/tests/pgm_zmtp1v.out similarity index 100% rename from tests/pgm_zmtp1v.out rename to src/tests/pgm_zmtp1v.out diff --git a/tests/pgmv.out b/src/tests/pgmv.out similarity index 100% rename from tests/pgmv.out rename to src/tests/pgmv.out diff --git a/tests/pimv2_bootstrap-v.out b/src/tests/pimv2_bootstrap-v.out similarity index 100% rename from tests/pimv2_bootstrap-v.out rename to src/tests/pimv2_bootstrap-v.out diff --git a/tests/pimv2_dm-v.out b/src/tests/pimv2_dm-v.out similarity index 100% rename from tests/pimv2_dm-v.out rename to src/tests/pimv2_dm-v.out diff --git a/tests/pimv2_hellos-v.out b/src/tests/pimv2_hellos-v.out similarity index 100% rename from tests/pimv2_hellos-v.out rename to src/tests/pimv2_hellos-v.out diff --git a/tests/pimv2_register-v.out b/src/tests/pimv2_register-v.out similarity index 100% rename from tests/pimv2_register-v.out rename to src/tests/pimv2_register-v.out diff --git a/tests/pimv2_sm-v.out b/src/tests/pimv2_sm-v.out similarity index 100% rename from tests/pimv2_sm-v.out rename to src/tests/pimv2_sm-v.out diff --git a/tests/pppoe.out b/src/tests/pppoe.out similarity index 100% rename from tests/pppoe.out rename to src/tests/pppoe.out diff --git a/tests/pppoe.pcap b/src/tests/pppoe.pcap similarity index 100% rename from tests/pppoe.pcap rename to src/tests/pppoe.pcap diff --git a/tests/pppoes.out b/src/tests/pppoes.out similarity index 100% rename from tests/pppoes.out rename to src/tests/pppoes.out diff --git a/tests/pppoes.pcap b/src/tests/pppoes.pcap similarity index 100% rename from tests/pppoes.pcap rename to src/tests/pppoes.pcap diff --git a/tests/pppoes_id.out b/src/tests/pppoes_id.out similarity index 100% rename from tests/pppoes_id.out rename to src/tests/pppoes_id.out diff --git a/tests/print-A.out b/src/tests/print-A.out similarity index 100% rename from tests/print-A.out rename to src/tests/print-A.out diff --git a/tests/print-AA.out b/src/tests/print-AA.out similarity index 100% rename from tests/print-AA.out rename to src/tests/print-AA.out diff --git a/tests/print-capX.out b/src/tests/print-capX.out similarity index 100% rename from tests/print-capX.out rename to src/tests/print-capX.out diff --git a/tests/print-capXX.out b/src/tests/print-capXX.out similarity index 100% rename from tests/print-capXX.out rename to src/tests/print-capXX.out diff --git a/tests/print-flags.pcap b/src/tests/print-flags.pcap similarity index 100% rename from tests/print-flags.pcap rename to src/tests/print-flags.pcap diff --git a/tests/print-x.out b/src/tests/print-x.out similarity index 100% rename from tests/print-x.out rename to src/tests/print-x.out diff --git a/tests/print-xx.out b/src/tests/print-xx.out similarity index 100% rename from tests/print-xx.out rename to src/tests/print-xx.out diff --git a/tests/radius-port1700-v.out b/src/tests/radius-port1700-v.out similarity index 100% rename from tests/radius-port1700-v.out rename to src/tests/radius-port1700-v.out diff --git a/tests/radius-rfc4675-v.out b/src/tests/radius-rfc4675-v.out similarity index 100% rename from tests/radius-rfc4675-v.out rename to src/tests/radius-rfc4675-v.out diff --git a/tests/radius-rfc5176-v.out b/src/tests/radius-rfc5176-v.out similarity index 100% rename from tests/radius-rfc5176-v.out rename to src/tests/radius-rfc5176-v.out diff --git a/tests/radius-v.out b/src/tests/radius-v.out similarity index 100% rename from tests/radius-v.out rename to src/tests/radius-v.out diff --git a/tests/resp_1.out b/src/tests/resp_1.out similarity index 100% rename from tests/resp_1.out rename to src/tests/resp_1.out diff --git a/tests/resp_1_benchmark.pcap b/src/tests/resp_1_benchmark.pcap similarity index 100% rename from tests/resp_1_benchmark.pcap rename to src/tests/resp_1_benchmark.pcap diff --git a/tests/resp_2.out b/src/tests/resp_2.out similarity index 100% rename from tests/resp_2.out rename to src/tests/resp_2.out diff --git a/tests/resp_2_inline.pcap b/src/tests/resp_2_inline.pcap similarity index 100% rename from tests/resp_2_inline.pcap rename to src/tests/resp_2_inline.pcap diff --git a/tests/resp_3.out b/src/tests/resp_3.out similarity index 100% rename from tests/resp_3.out rename to src/tests/resp_3.out diff --git a/tests/resp_3_malicious.pcap b/src/tests/resp_3_malicious.pcap similarity index 100% rename from tests/resp_3_malicious.pcap rename to src/tests/resp_3_malicious.pcap diff --git a/tests/ripv1v2.out b/src/tests/ripv1v2.out similarity index 100% rename from tests/ripv1v2.out rename to src/tests/ripv1v2.out diff --git a/tests/ripv1v2.pcap b/src/tests/ripv1v2.pcap similarity index 100% rename from tests/ripv1v2.pcap rename to src/tests/ripv1v2.pcap diff --git a/tests/ripv2_auth.out b/src/tests/ripv2_auth.out similarity index 100% rename from tests/ripv2_auth.out rename to src/tests/ripv2_auth.out diff --git a/tests/ripv2_auth.pcap b/src/tests/ripv2_auth.pcap similarity index 100% rename from tests/ripv2_auth.pcap rename to src/tests/ripv2_auth.pcap diff --git a/tests/rpl-14-dao.pcap b/src/tests/rpl-14-dao.pcap similarity index 100% rename from tests/rpl-14-dao.pcap rename to src/tests/rpl-14-dao.pcap diff --git a/tests/rpl-14-daovvv.out b/src/tests/rpl-14-daovvv.out similarity index 100% rename from tests/rpl-14-daovvv.out rename to src/tests/rpl-14-daovvv.out diff --git a/tests/rpl-19-pickdag.out b/src/tests/rpl-19-pickdag.out similarity index 100% rename from tests/rpl-19-pickdag.out rename to src/tests/rpl-19-pickdag.out diff --git a/tests/rpl-19-pickdag.pcap b/src/tests/rpl-19-pickdag.pcap similarity index 100% rename from tests/rpl-19-pickdag.pcap rename to src/tests/rpl-19-pickdag.pcap diff --git a/tests/rpl-19-pickdagvvv.out b/src/tests/rpl-19-pickdagvvv.out similarity index 100% rename from tests/rpl-19-pickdagvvv.out rename to src/tests/rpl-19-pickdagvvv.out diff --git a/tests/rpl-26-senddaoack.pcap b/src/tests/rpl-26-senddaoack.pcap similarity index 100% rename from tests/rpl-26-senddaoack.pcap rename to src/tests/rpl-26-senddaoack.pcap diff --git a/tests/rpl-26-senddaovv.out b/src/tests/rpl-26-senddaovv.out similarity index 100% rename from tests/rpl-26-senddaovv.out rename to src/tests/rpl-26-senddaovv.out diff --git a/tests/rpvst-v.out b/src/tests/rpvst-v.out similarity index 100% rename from tests/rpvst-v.out rename to src/tests/rpvst-v.out diff --git a/tests/rpvstp-trunk-native-vid5.pcap b/src/tests/rpvstp-trunk-native-vid5.pcap similarity index 100% rename from tests/rpvstp-trunk-native-vid5.pcap rename to src/tests/rpvstp-trunk-native-vid5.pcap diff --git a/tests/rstp-v.out b/src/tests/rstp-v.out similarity index 100% rename from tests/rstp-v.out rename to src/tests/rstp-v.out diff --git a/tests/rsvp-infinite-loop.pcap b/src/tests/rsvp-infinite-loop.pcap similarity index 100% rename from tests/rsvp-infinite-loop.pcap rename to src/tests/rsvp-infinite-loop.pcap diff --git a/tests/rsvp_infloop-v.out b/src/tests/rsvp_infloop-v.out similarity index 100% rename from tests/rsvp_infloop-v.out rename to src/tests/rsvp_infloop-v.out diff --git a/tests/sflow_multiple_counter_30_pdus-nv.out b/src/tests/sflow_multiple_counter_30_pdus-nv.out similarity index 100% rename from tests/sflow_multiple_counter_30_pdus-nv.out rename to src/tests/sflow_multiple_counter_30_pdus-nv.out diff --git a/tests/sflow_multiple_counter_30_pdus.out b/src/tests/sflow_multiple_counter_30_pdus.out similarity index 100% rename from tests/sflow_multiple_counter_30_pdus.out rename to src/tests/sflow_multiple_counter_30_pdus.out diff --git a/tests/sflow_multiple_counter_30_pdus.pcap b/src/tests/sflow_multiple_counter_30_pdus.pcap similarity index 100% rename from tests/sflow_multiple_counter_30_pdus.pcap rename to src/tests/sflow_multiple_counter_30_pdus.pcap diff --git a/tests/spb.out b/src/tests/spb.out similarity index 100% rename from tests/spb.out rename to src/tests/spb.out diff --git a/tests/spb.pcap b/src/tests/spb.pcap similarity index 100% rename from tests/spb.pcap rename to src/tests/spb.pcap diff --git a/tests/spb_bpduv4.out b/src/tests/spb_bpduv4.out similarity index 100% rename from tests/spb_bpduv4.out rename to src/tests/spb_bpduv4.out diff --git a/tests/spb_bpduv4.pcap b/src/tests/spb_bpduv4.pcap similarity index 100% rename from tests/spb_bpduv4.pcap rename to src/tests/spb_bpduv4.pcap diff --git a/tests/stp-v.out b/src/tests/stp-v.out similarity index 100% rename from tests/stp-v.out rename to src/tests/stp-v.out diff --git a/tests/syslog-v.out b/src/tests/syslog-v.out similarity index 100% rename from tests/syslog-v.out rename to src/tests/syslog-v.out diff --git a/tests/syslog_udp.pcap b/src/tests/syslog_udp.pcap similarity index 100% rename from tests/syslog_udp.pcap rename to src/tests/syslog_udp.pcap diff --git a/tests/tfo-5c1fa7f9ae91.pcap b/src/tests/tfo-5c1fa7f9ae91.pcap similarity index 100% rename from tests/tfo-5c1fa7f9ae91.pcap rename to src/tests/tfo-5c1fa7f9ae91.pcap diff --git a/tests/tfo.out b/src/tests/tfo.out similarity index 100% rename from tests/tfo.out rename to src/tests/tfo.out diff --git a/tests/udld-v.out b/src/tests/udld-v.out similarity index 100% rename from tests/udld-v.out rename to src/tests/udld-v.out diff --git a/tests/unaligned-nfs-1.out b/src/tests/unaligned-nfs-1.out similarity index 100% rename from tests/unaligned-nfs-1.out rename to src/tests/unaligned-nfs-1.out diff --git a/tests/unaligned-nfs-1.pcap b/src/tests/unaligned-nfs-1.pcap similarity index 100% rename from tests/unaligned-nfs-1.pcap rename to src/tests/unaligned-nfs-1.pcap diff --git a/tests/vrrp-v.out b/src/tests/vrrp-v.out similarity index 100% rename from tests/vrrp-v.out rename to src/tests/vrrp-v.out diff --git a/tests/vrrp.out b/src/tests/vrrp.out similarity index 100% rename from tests/vrrp.out rename to src/tests/vrrp.out diff --git a/tests/vrrp.pcap b/src/tests/vrrp.pcap similarity index 100% rename from tests/vrrp.pcap rename to src/tests/vrrp.pcap diff --git a/tests/vxlan.out b/src/tests/vxlan.out similarity index 100% rename from tests/vxlan.out rename to src/tests/vxlan.out diff --git a/tests/vxlan.pcap b/src/tests/vxlan.pcap similarity index 100% rename from tests/vxlan.pcap rename to src/tests/vxlan.pcap diff --git a/tests/zmtp1.out b/src/tests/zmtp1.out similarity index 100% rename from tests/zmtp1.out rename to src/tests/zmtp1.out diff --git a/tests/zmtp1.pcap b/src/tests/zmtp1.pcap similarity index 100% rename from tests/zmtp1.pcap rename to src/tests/zmtp1.pcap diff --git a/timeval-operations.h b/src/timeval-operations.h similarity index 100% rename from timeval-operations.h rename to src/timeval-operations.h diff --git a/udp.h b/src/udp.h similarity index 100% rename from udp.h rename to src/udp.h diff --git a/util-print.c b/src/util-print.c similarity index 100% rename from util-print.c rename to src/util-print.c diff --git a/util.c b/src/util.c similarity index 100% rename from util.c rename to src/util.c diff --git a/vfprintf.c b/src/vfprintf.c similarity index 100% rename from vfprintf.c rename to src/vfprintf.c diff --git a/win32/prj/GNUmakefile b/src/win32/prj/GNUmakefile similarity index 100% rename from win32/prj/GNUmakefile rename to src/win32/prj/GNUmakefile diff --git a/win32/prj/WinDump.dsp b/src/win32/prj/WinDump.dsp similarity index 100% rename from win32/prj/WinDump.dsp rename to src/win32/prj/WinDump.dsp diff --git a/win32/prj/WinDump.dsw b/src/win32/prj/WinDump.dsw similarity index 100% rename from win32/prj/WinDump.dsw rename to src/win32/prj/WinDump.dsw