summaryrefslogtreecommitdiff
path: root/src/ethernetII.cpp
AgeCommit message (Collapse)Author
2018-12-01Fix Dot1Q serialization for non-qinq packets (#319)Saxon Parker
2018-10-09Fix serialization for QinQ (#316)Teodoro Vargas
* Add QinQ Frame * Fix serialization for QinQ
2017-10-24Fix minor typo in comment. (#261)Alex Collins
2017-09-21Use absolute include pathsMatias Fontanini
Fixes #250
2017-05-13Use custom exceptions everywhereMatias Fontanini
2017-05-08Fix more build issues on appveyorMatias Fontanini
2017-04-30Remove inclusion of algorithm almost everywhereMatias Fontanini
2017-04-30Remove useless includesMatias Fontanini
2017-04-30Move is_dot3 into details/pdu_helpers.hMatias Fontanini
2017-04-30Move internals' PDU helpers into their own filesMatias Fontanini
2017-04-29Update license date to 2017Matias Fontanini
2017-04-29Remove parent parameter from write_serializationMatias Fontanini
This is no longer needed as each PDU knows its parent PDU already
2017-01-25Fix -Wextra compiler warnings. (#184)Kyle Fazzari
* 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>
2016-09-27Set EthernetII payload type to UNKNOWN if no inner_pduMatias Fontanini
2016-05-08Forward NetworkInterface argument when calling PacketSender::send_l2Matias Fontanini
2016-02-20Add extract_metadata to main PDU classesMatias Fontanini
2016-02-20Prefix HAVE_ config.h macros with TINS_Matias Fontanini
2016-01-31Update copyright noticeMatias Fontanini
2016-01-09Code cleanup and use same syntax on the entire projectMatias Fontanini
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-01Correctly serialize PPPoE session packetsMatias Fontanini
2015-12-27Remove unused cassert header inclusionsMatias Fontanini
2015-12-26Add OutputMemoryStream and port most classes to use itMatias Fontanini
2015-12-24Add input memory stream class and port some PDUs to use itMatias Fontanini
2015-11-27Don't set Ethernet type if inner PDU type is unknownMatias Fontanini
Fixes #116
2015-05-02Replace WIN32 macro with _WIN32.Matias Fontanini
2015-04-18Don't allow receiving l2 packets on windows.Matias Fontanini
2015-04-18Fix more precompiler conditionals.Matias Fontanini
2015-04-18Remove some WIN32-guarded code.Matias Fontanini
2015-04-18Use pcap_sendpacket to send packets if this mode is enabled.Matias Fontanini
2014-08-07Fixed bug in EthernetII when changing its inner PDU.Matias Fontanini
2014-07-13Updated copyright notice.Matias Fontanini
2013-10-06Modified some examples fixed some doxygen documentation.Matias Fontanini
2013-07-14Replaced tabs for spaces in the previous commitSantiago Alessandri
2013-07-12Fixed issue related with EthernetII protocol.Santiago Alessandri
The Ethernet II protocol forces a minimum length of 60 bytes. It is necessary to add a trailer for padding of null-bytes when the inner_pdu's size does not meet the requirement. Also EthernetII packets received were being incorrectly parsed due to the existance of this padding. The issue has been solved and several tests were added. All tests successfully pass.
2013-04-23Fixed BSD notice. Updated AUTHORS file.Matias Fontanini
2013-04-23Removed the PDU* parameter in several PDU's constructors.Matias Fontanini
2013-04-22Fixed compilation issues triggered in GNU/kFreeBSD.Matias Fontanini
2013-04-22assert() is only called when TINS_DEBUG is defined.Matias Fontanini
2013-04-21PDU::matches_response is now const.Matias Fontanini
2013-04-21Removed deprecated methods/types.Matias Fontanini
2013-04-21Link layer PDUs no longer contain a NetworkInterface.Matias Fontanini
2013-04-18Added malformed_packet exception. Every class except Dot11* use it.Matias Fontanini
2013-04-02Implemented matches_response on several PDUs. Added some test cases.Matias Fontanini
2013-03-26DNS, RadioTap and Dot1Q work when using PacketSender::send_recv.Matias Fontanini
2013-03-26Dot3::matches_response now works as expected.Matias Fontanini
2013-03-24Marked PDU::clone_packet as deprecated.Matias Fontanini
2013-01-16Added SLL pseudo protocol header.Matias Fontanini
2012-12-02libtins compiles and runs under windows. Packets apparently can't be sent yet.Matias Fontanini
2012-11-28Link layer protocols can now be sent on BSD.Matias Fontanini
2012-11-28Ported almost everything to BSD. Utils::route_entries and sending link layer ↵Matias Fontanini
PDUs still don't work.