Matias Fontanini
799ba2b4b6
Allow disabling pcap packet capture
2017-03-21 19:04:33 -07:00
Kyle Fazzari
a71a3d29ff
Fix -Wextra compiler warnings. ( #184 )
...
* Fix -Wextra compiler warnings.
Fix #183 .
Signed-off-by: Kyle Fazzari <github@status.e4ward.com >
* Comment out unused parameters.
This is done everywhere possible instead of using Internals::unused().
Note that this involved moving some implementations into the
corresponding .cpp file.
Signed-off-by: Kyle Fazzari <github@status.e4ward.com >
* Fix warnings in tests as well.
Signed-off-by: Kyle Fazzari <github@status.e4ward.com >
* Leave IPv4Reassembler alone, it's growing.
Signed-off-by: Kyle Fazzari <github@status.e4ward.com >
2017-01-25 13:26:11 -08:00
Matias Fontanini
a61a361eb1
Add check for noexcept when checking C++11 features
2016-10-23 11:34:10 -07:00
Matias Fontanini
fdc6ccdf5c
Only enable TCP stream's custom data if boost.any is found
2016-09-27 21:46:38 -07:00
Vikas Kumar
9260f9374a
Variable Boost_INCLUDE_DIRS incorrectly used in cmake file ( #158 )
...
`s/Boost_INCLUDE_DIRS/${Boost_INCLUDE_DIRS}/ inside `INCLUDE_DIRECTORIES`
2016-08-13 13:41:25 -07:00
Sergey Kovalevich
2ccf50db3e
Allow including libtins using add_subdirectory via CMake
2016-07-20 09:12:48 -07:00
ps790
e843ee7117
Added cmake compiling support for MinGW ( #155 )
...
* Added cmake compiling support for MinGW
These modificaitons allow to build Libtins on Windows with cmake directly by running
cmake ../ -DPCAP_ROOT_DIR="PATH_TO_WpdPack" -DLIBTINS_ENABLE_WPA2=0 -DLIBTINS_BUILD_SHARED=0 -G "MinGW Makefiles"
* Update CMakeLists.txt
2016-06-24 18:00:09 -07:00
Matias Fontanini
8d52d73968
Allow disabling TCPIP classes
2016-04-02 09:35:42 -07:00
Matias Fontanini
331bc57b44
Update version
2016-03-05 16:07:11 -08:00
Matias Fontanini
186d23c920
Set OPENSSL_* variables to empty string if not found
2016-02-28 08:51:44 -08:00
Matias Fontanini
1681981fe8
Add WPA2Decrypter callback interface
2016-02-28 08:01:04 -08:00
Matias Fontanini
3e84b07a01
Set MACOSX_RPATH to ON
2016-02-27 07:57:07 -08:00
Matias Fontanini
b087c964d4
Don't fail configuration if openssl is missing
2016-02-27 07:50:56 -08:00
Matias Fontanini
6d6eb9c5d7
Add uninstall target
2016-02-20 09:19:42 -08:00
Matias Fontanini
64b84fa91d
Prefix HAVE_ config.h macros with TINS_
2016-02-20 09:10:48 -08:00
Matias Fontanini
b326546229
Add checks for std::chrono and std::function
2016-02-18 20:52:18 -08:00
Matias Fontanini
5c22cc7985
Use compiler intrinsics to swap bytes
2016-02-18 20:35:37 -08:00
Matias Fontanini
bd31b3648f
Change CheckCXX11Features into CheckCXXFeatures
2016-02-18 20:11:36 -08:00
Matias Fontanini
0e5d7d7ae0
Use C++11 mode by default
2016-02-17 21:04:28 -08:00
Matias Fontanini
116eb9f1c1
Add initial ACK tracking code
2016-02-13 20:24:15 -08:00
Matias Fontanini
785ee7b47b
Use ExternalProject_Add rather than including the gtest directory
2016-02-09 20:35:15 -08:00
Matias Fontanini
0cf3dd3342
Move utils.h implementations to utils.cpp
2016-01-24 14:13:34 -08:00
Matias Fontanini
2b7714500c
Include examples before src to avoid duplicate tins target issue
2015-12-31 14:43:30 -08:00
Matias Fontanini
c4a2fed112
Don't define TINS_STATIC in config.h
2015-12-29 07:43:46 -08:00
Matias Fontanini
53e2c58f0b
Remove special clang on OSX case when building gtest
2015-12-29 06:11:03 -08:00
Matias Fontanini
7a2ae6b7d5
Export classes on Windows shared lib builds
...
Fixes #120
2015-12-28 06:28:52 -08:00
Matias Fontanini
a607ab380c
Replace WIN32 macro with _WIN32.
2015-05-02 16:25:59 -07:00
Matias Fontanini
a7a63483df
Fix gtest compilation issues on OSX.
2015-04-25 19:39:22 -07:00
Matias Fontanini
c108f6e4e6
Fix compilation warnings on Windows.
2015-04-25 18:44:38 -07:00
Matias Fontanini
5c8fdd2b6c
Build googletest using /MD on Windows.
2015-04-25 17:44:56 -07:00
Matias Fontanini
34bf1f23f7
Improve tests CMake build files.
2015-04-25 17:26:02 -07:00
Matias Fontanini
0dcbe6ffbe
Prefix googletest directory with CMake source dir.
2015-04-23 19:45:32 -07:00
Matias Fontanini
745ebfb904
Only include googletest if the git submodule has been fetched.
2015-04-23 19:43:00 -07:00
Matias Fontanini
c5b9afaf83
Add google test as git submodule.
2015-04-23 19:39:58 -07:00
Matias Fontanini
830da2488b
Update project version to 3.3.
2015-04-19 13:54:37 -07:00
Matias Fontanini
213b812520
Use pcap_sendpacket by default on Windows.
2015-04-18 19:52:25 -07:00
Matias Fontanini
96fc1a3749
Use pcap_sendpacket to send packets if this mode is enabled.
2015-04-18 17:46:14 -07:00
Carlos Miguel Jenkins Perez
8415f41722
Re-added support for pkg-config.
2014-11-19 20:35:30 -06:00
Matias Fontanini
9ee90755d1
Moved headers to include/tins.
2014-10-17 12:14:00 -03:00
Matias Fontanini
9bda470f9d
Completely removed autotools build system.
...
Also cleaned up the project's root, moving some files
into subdirectories.
2014-09-07 00:47:27 -03:00
Matias Fontanini
8b2f6a7fb2
Updated version to 3.2.
2014-09-04 23:04:36 -03:00
Matias Fontanini
57be666de1
Added documentation generation through the build system.
2014-09-04 22:44:10 -03:00
Matias Fontanini
e7e66808a4
Updated files for release.
2014-08-24 21:40:22 -03:00
Matias Fontanini
2beebd6df3
Fix invalid lib name.
2014-08-24 20:07:30 -03:00
Matias Fontanini
0e967b4d30
Removed unnecessary check for CXX11_COMPILER_FLAGS.
2014-08-24 18:44:53 -03:00
Matias Fontanini
f5b0603799
CMake compilation now works on Windows.
2014-08-24 18:06:58 -03:00
Matias Fontanini
443974335a
Added examples to CMake build system.
2014-08-23 23:12:19 -03:00
Matias Fontanini
2c2df752d0
Added tests to CMake build system.
2014-08-23 18:50:00 -03:00
Matias Fontanini
3a02bd0a3f
Fix build system issues.
2014-08-23 13:05:51 -03:00
Santiago Alessandri
fb7dbed58a
First approach towards moving to CMake
2014-08-22 11:03:16 -07:00