Matias Fontanini
a6817528bc
Use absolute include paths
...
Fixes #250
2017-09-21 20:48:57 -07:00
Matias Fontanini
ecfed8db44
Add support for XChannel field on RadioTap
2017-06-03 09:17:29 -07:00
Matias Fontanini
fe6e575158
Add missing radiotap parsing fields
2017-06-03 08:55:08 -07:00
Matias Fontanini
52be4b0e8a
Keep current flags as member in RadioTapParser
2017-05-29 20:48:05 -07:00
Matias Fontanini
e1571e19a8
Use RadioTapParser/Writer in RadioTap
2017-05-25 07:56:23 -07:00
Matias Fontanini
a5766a19c2
Remove useless includes
2017-05-13 10:43:29 -07:00
Matias Fontanini
500ef1088b
Move frequency (channel) utils into their own file
2017-04-30 12:06:42 -07:00
Matias Fontanini
589adba798
Move checksum utils into their own file
2017-04-30 11:59:02 -07:00
Matias Fontanini
c06787ca22
Update license date to 2017
2017-04-29 09:56:26 -07:00
Matias Fontanini
15a353c123
Remove parent parameter from write_serialization
...
This is no longer needed as each PDU knows its parent PDU already
2017-04-29 09:53: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
6b7bc76603
Forward NetworkInterface argument when calling PacketSender::send_l2
2016-05-08 20:46:11 -07:00
Matias Fontanini
64b84fa91d
Prefix HAVE_ config.h macros with TINS_
2016-02-20 09:10:48 -08:00
Matias Fontanini
4b0976571e
Fix invalid FCS serialization offset on RadioTap
2016-02-02 22:43:28 -08:00
Matias Fontanini
fb4e5086fd
Update copyright notice
2016-01-31 20:03:49 -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
38239be472
Remove unused cassert header inclusions
2015-12-27 04:38:31 -08:00
Matias Fontanini
02e2b278de
Add OutputMemoryStream and port most classes to use it
2015-12-26 06:30:00 -08:00
Matias Fontanini
9750f46c6d
Port all PDUs to use InputMemoryStream on constructors from buffer
2015-12-25 06:30:27 -08:00
Matias Fontanini
0a2fdfcd42
Fix compilation errors on android.
2015-06-07 15:25:57 -07:00
Matias Fontanini
c42cd0114f
Fix compilation warnings on Windows x64.
2015-05-17 17:30:54 -07:00
Matias Fontanini
a607ab380c
Replace WIN32 macro with _WIN32.
2015-05-02 16:25:59 -07:00
Matias Fontanini
62260ab93b
Fix more compilation warnings on Windows.
2015-04-25 18:54:43 -07:00
Matias Fontanini
c108f6e4e6
Fix compilation warnings on Windows.
2015-04-25 18:44:38 -07:00
Matias Fontanini
fa4a074e2f
Add missing RadioTap fields.
2015-03-04 21:27:47 -08:00
Ulf Wetzker
93a46366a0
Fixed type for _dbm_signal and _dbm_noise
2015-02-09 14:30:34 +01:00
Ulf Wetzker
d640eebb99
Add Exception for fields that are not present in RadioTap frames.
2015-02-09 13:23:03 +01:00
Matias Fontanini
3a38d36a60
Fixed invalid parsing of RadioTap ext flag field.
2014-11-06 21:44:59 -08:00
Christian Hammerl
52b0ee7ceb
fix armv5 alignment issues
2014-07-31 15:49:52 +00:00
Matias Fontanini
2dff95700f
Updated copyright notice.
2014-07-13 11:04:29 -03:00
Matias Fontanini
0acf388277
Removed 'no newline at end of file' warnings.
2014-02-10 18:21:46 -03:00
Matias Fontanini
9962381fc7
Added the --disable-dot11 configure switch.
2013-11-09 14:41:08 -03:00
Matias Fontanini
a507355e27
Added tins_cast as a replacement for dynamic_cast when using it on PDU classes.
2013-10-18 09:28:43 -03:00
Matias Fontanini
c4e6a7c0d6
Fixed some compilation errors/warnings and bugs when using Big Endian architectures.
2013-09-24 00:34:14 -03:00
Matias Fontanini
2414edd1e7
Fixed a bug in PPI and Dot1Q triggered when constructing from buffer/serializing. Done some documentation fixes.
2013-09-22 19:37:02 -03:00
Matias Fontanini
de0ec914cc
Fixed bug in RadioTap. The flags field was being used even if it was not present.
2013-09-04 16:34:24 -03:00
Matias Fontanini
ec8374be60
Split dot11.h and dot11.cpp into several files.
2013-05-31 22:16:56 -03:00
Matias Fontanini
ddf47365c1
RadioTap now calculates its size always while serializing. Added 2 missing RadioTap fields as well.
2013-05-30 18:14:11 -03:00
Piotr Haber
28c8d393d6
do not parse Dot11 frame if FCS is wrong
...
Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com >
2013-05-23 17:54:17 -03:00
Matias Fontanini
5064a9255b
Fixed BSD notice. Updated AUTHORS file.
2013-04-23 20:33:00 -03:00
Matias Fontanini
bf604339f0
Removed the PDU* parameter in several PDU's constructors.
2013-04-23 20:03:08 -03:00
Matias Fontanini
fdfb8b0dea
Fixed compilation issues triggered in GNU/kFreeBSD.
2013-04-22 23:48:53 -03:00
Matias Fontanini
66ff604580
assert() is only called when TINS_DEBUG is defined.
2013-04-22 18:45:56 -03:00
Matias Fontanini
7da8de6ea7
Added another test case for RadioTap's constructor from buffer.
2013-04-22 12:53:01 -03:00
Matias Fontanini
d1b64ec48e
PDU::matches_response is now const.
2013-04-21 20:03:47 -03:00
Matias Fontanini
97f049580b
Link layer PDUs no longer contain a NetworkInterface.
2013-04-21 18:50:08 -03:00
Matias Fontanini
3fd1b3d37d
Added malformed_packet exception. Every class except Dot11* use it.
2013-04-18 00:12:20 -03:00
Matias Fontanini
804ea411fc
Fixed bug in RadioTap when using FCS at the end.
2013-04-16 13:45:30 -03:00
Piotr Haber
9bcfd07896
fix radiotap header parsing
...
Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com >
2013-04-16 13:37:31 -03:00
Matias Fontanini
dfc0498b70
DNS, RadioTap and Dot1Q work when using PacketSender::send_recv.
2013-03-26 14:54:24 -03:00