Matias Fontanini
a6817528bc
Use absolute include paths
...
Fixes #250
2017-09-21 20:48:57 -07:00
Matias Fontanini
a9747a349a
Move seq_compare into its own header file
2017-04-30 16:52:59 -07:00
Matias Fontanini
fe38bba477
Move is_dot3 into details/pdu_helpers.h
2017-04-30 16:46:28 -07:00
Matias Fontanini
a20f9d3e81
Move internals' PDU helpers into their own files
2017-04-30 13:49:50 -07:00
Matias Fontanini
6e1d1d3dc4
Move ICMP extension helpers into their own file
2017-04-30 10:53:21 -07:00
Matias Fontanini
95626a867e
Move helpers for address types in internals.h to their own header
2017-04-30 10:21:26 -07:00
Matias Fontanini
c072ffe421
Move functions to parse /proc/net/routes into utils.cpp
2017-04-30 10:13:58 -07:00
Matias Fontanini
0cda2287a8
Move Internals::byte_array into crypto.cpp
2017-04-30 09:53:11 -07:00
Matias Fontanini
6bfc0c84f0
Move sniffer callback traits into detail/type_traits.h
2017-04-30 09:45:06 -07:00
Matias Fontanini
a3e863942b
Move type traits into a separate file
2017-04-30 09:36:50 -07:00
Matias Fontanini
f88cf9b025
Don't include heavy STL headers like <algorithm> in header files
...
This provides a considerable compilation time reduction and most
of these were just using std::copy/fill which can be replaced by
memcpy/memset, as all of their uses were applied to POD types
2017-04-30 09:28:00 -07:00
Matias Fontanini
c06787ca22
Update license date to 2017
2017-04-29 09:56:26 -07:00
Matias Fontanini
799ba2b4b6
Allow disabling pcap packet capture
2017-03-21 19:04:33 -07:00
Matias Fontanini
3773443fc8
Allow masking IPv4/6 and HW addresses
2016-03-19 15:44:55 -07:00
stubbfel
d70536f9ab
add first_address_from_mask in internals and call them from addressrange::from_mask
2016-03-16 22:28:21 +01:00
Matias Fontanini
4dcef0f15d
Add Utils::route6_entries
2016-03-06 19:18:33 -08:00
Matias Fontanini
17da10d76e
Add extract_metadata to main PDU classes
2016-02-20 22:19:12 -08:00
Matias Fontanini
116eb9f1c1
Add initial ACK tracking code
2016-02-13 20:24:15 -08:00
Matias Fontanini
fb4e5086fd
Update copyright notice
2016-01-31 20:03:49 -08:00
Matias Fontanini
0cf3dd3342
Move utils.h implementations to utils.cpp
2016-01-24 14:13:34 -08:00
Matias Fontanini
d84f10cf08
Code cleanup and use same syntax on the entire project
...
Initial code cleanup
More code cleanup
Cleanup more code
Cleanup Dot11 code
Fix OSX build issue
Cleanup examples
Fix ref and pointer declaration syntax
Fix braces
2016-01-09 10:01:58 -08:00
Matias Fontanini
13c05fbdb1
Add input memory stream class and port some PDUs to use it
2015-12-24 15:21:07 -08:00
Matias Fontanini
6d90b0ce32
Add extensions for ICMPv6
2015-12-21 12:33:52 -08:00
Matias Fontanini
3478c7b09a
Don't define Sniffer callback traits when using VS.
2015-04-06 09:33:30 -07:00
Matias Fontanini
021f596cf0
Remove enable_if_t.
2015-04-02 21:58:41 -07:00
Matias Fontanini
811270760a
Don't define enable_if_t, since it's not really necessary.
2015-03-29 15:47:44 -07:00
Eric Cornelius
87207a8091
Support both move and reference overloads for the loop handler
2015-02-25 10:56:11 -05:00
Eric Cornelius
184328ea95
Move packet into callback to avoid unnecessary clone, fix forward_iterator value type, and update comments
2015-02-06 10:24:43 -05:00
Eric Cornelius
eb0b7c9091
Generalize the accepts_type trait a bit, and move to internals.h, rename the _invoke_functor function, and templatize it to avoid need to depend on Packet defintion
2015-02-05 00:45:13 -05:00
Matias Fontanini
65607b0eb5
Fixed PKTAP next layer interpretation.
2014-12-21 10:51:18 -08:00
Matias Fontanini
9ee90755d1
Moved headers to include/tins.
2014-10-17 12:14:00 -03:00