Ulf Wetzker
437911eacd
Added Doxygen documentation and fixed arrangement
2015-04-09 19:51:05 +02:00
Ulf Wetzker
2d89f1548d
Added channel map type
2015-04-09 19:39:55 +02:00
Ulf Wetzker
7d7aae5929
Made rsn_information() a const member function to make Dot11ManagementFrame immutable
2015-04-08 14:45:56 +02:00
blazeable
4bfec7b358
Ensure HAVE_CXX11 is checked when defining TINS_IS_CXX11
...
Include config.h in cxxstd.h
2015-04-06 23:43:48 +02:00
Matias Fontanini
3478c7b09a
Don't define Sniffer callback traits when using VS.
2015-04-06 09:33:30 -07:00
Matias Fontanini
a326463160
Add one integer field for all flags on TCP.
2015-04-05 11:53:12 -07:00
Matias Fontanini
40a8354125
Fix Dot11/RSNInformation big endian issues.
2015-04-02 22:59:47 -07:00
Matias Fontanini
021f596cf0
Remove enable_if_t.
2015-04-02 21:58:41 -07:00
Ulf Wetzker
d6d2434482
Fixed field name corresponding to IEEE 802.11-2012 (8.4.1.4 Capability Information field)
2015-03-31 16:37:28 +02:00
Matias Fontanini
811270760a
Don't define enable_if_t, since it's not really necessary.
2015-03-29 15:47:44 -07:00
Matias Fontanini
9efd00956f
Fix BaseSniffer::sniff_loop documentation.
2015-03-20 21:21:38 -07:00
Matias Fontanini
b56be87315
Remove include/tins/config.h.
2015-03-07 09:30:44 -08:00
Matias Fontanini
c67f7ba2e8
Merge pull request #57 from rioderelfte/include-guard
...
add an include guard to config.h
2015-03-07 09:24:34 -08:00
Matias Fontanini
aad0c511a8
Merge pull request #51 from EricMCornelius/master
...
Use type_traits to enable Packet& sniff_loop callback variant in C++11
2015-03-06 09:42:25 -08:00
Harald Unander
8c74bada85
Rearranged and updated RadioTap fields for big endian
2015-03-06 14:19:30 +01:00
Florian Sowade
8a51050f0b
add an include guard to config.h
2015-03-05 12:41:34 +01:00
Eric Cornelius
4be9719195
Make sure we can still compile old loop signatures without c++11 enabled
2015-03-05 03:25:41 -05:00
Matias Fontanini
fa4a074e2f
Add missing RadioTap fields.
2015-03-04 21:27:47 -08:00
Eric Cornelius
c304dc08c4
Eliminate unnecessary explicit template parameter specification
2015-02-25 11:04:42 -05:00
Eric Cornelius
87207a8091
Support both move and reference overloads for the loop handler
2015-02-25 10:56:11 -05:00
Ulf Wetzker
93a46366a0
Fixed type for _dbm_signal and _dbm_noise
2015-02-09 14:30:34 +01:00
Ulf Wetzker
179e0722f5
Fixed name in RadioTap present bitmap for field dbm_TX_power
2015-02-09 14:13:07 +01:00
Ulf Wetzker
d640eebb99
Add Exception for fields that are not present in RadioTap frames.
2015-02-09 13:23:03 +01: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
Eric Cornelius
2587dd6cb0
Use type_traits to enable Packet& sniff_loop callback variant in C++11 builds
2015-02-04 21:44:50 -05:00
Matias Fontanini
65607b0eb5
Fixed PKTAP next layer interpretation.
2014-12-21 10:51:18 -08:00
Matias Fontanini
a4c67e5acd
Added PKTAP header.
2014-12-21 10:18:59 -08:00
Matias Fontanini
3d832cc48e
Replaced calls to PDU::rfind_pdu to find_pdu on TCPStreamFollower.
2014-11-13 22:07:31 -08:00
Matias Fontanini
3a38d36a60
Fixed invalid parsing of RadioTap ext flag field.
2014-11-06 21:44:59 -08:00
Matias Fontanini
c4609fedd6
Added Loopback::matches_response.
2014-10-25 00:23:52 -05:00
Matias Fontanini
64fac4f255
Added NetworkInterface::is_loopback.
2014-10-19 09:13:28 -03:00
Matias Fontanini
9ee90755d1
Moved headers to include/tins.
2014-10-17 12:14:00 -03:00
Matias Fontanini
e7435d3974
BaseSniffer::get_pcap_handle is now public.
2014-10-17 12:03:18 -03:00
Matias Fontanini
3ad96422b9
Added correct parsing of PPPoE session packets.
2014-09-24 09:15:20 -03:00
Matias Fontanini
1bc9bd1504
Fixed compiler warning on SnifferIterator.
2014-09-21 10:58:38 -03:00
Matias Fontanini
ad5e0614d4
Added constructors to RawPDU.
2014-09-19 08:55:23 -03:00
Matias Fontanini
74cca6a483
Improved documentation on several classes.
2014-09-14 14:13:25 -03:00
Matias Fontanini
b532753a16
Fixed network naming on Windows.
2014-09-07 23:48:37 -03:00
Matias Fontanini
9d4bdce7a9
NetworkInterface::name now works on Windows.
2014-09-07 16:40:50 -03:00
Matias Fontanini
050214a5dc
Updated documentation on several classes.
2014-09-02 23:46:27 -03:00
Matias Fontanini
4d8658ca54
Merge pull request #33 from mfontanini/sniffer-config-object
...
Sniffer config object
2014-08-31 18:44:02 -03:00
Matias Fontanini
b6fdba0077
The timeout Sniffer option is set to 1000 by default.
2014-08-31 18:34:52 -03:00
Matias Fontanini
83ced826d0
Fixed using pcap_compile on a not-yet activated pcap handle.
2014-08-30 23:54:18 -03:00
Matias Fontanini
d820b0d19d
Added documentation for SnifferConfiguration.
2014-08-30 23:35:05 -03:00
Matias Fontanini
a7a4105cf8
Added OfflinePacketFilter class.
2014-08-30 23:01:46 -03:00
Santiago Alessandri
2b6a079980
Added back the original constructors of the Sniffer and FileSniffer to keep compatibility. Tagged them as deprecated, though.
...
Changed the default if_mask to 0 as PCAP_NETMASK_UNKNOWN is still not present in all versions of pcap.
Snap length is always set and it's default value is of 65535 not 0.
2014-08-30 17:29:30 -07:00
Matias Fontanini
07be8e244c
Renamed NOEXCEPT macro to TINS_NOEXCEPT.
2014-08-30 14:30:47 -03:00
Matias Fontanini
9d2a60ef43
Added DataLinkType class.
2014-08-30 14:28:29 -03:00
Santiago Alessandri
49f451ecd1
Changed the name to SnifferConfiguration, it sounds better.
2014-08-29 16:35:13 -07:00