summaryrefslogtreecommitdiff
path: root/src/arp.cpp
AgeCommit message (Collapse)Author
2017-09-21Use absolute include pathsMatias Fontanini
Fixes #250
2017-04-30Remove inclusion of algorithm almost everywhereMatias Fontanini
2017-04-30Remove useless includesMatias 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-02-20Add extract_metadata to main PDU classesMatias 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
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
2014-07-13Updated copyright notice.Matias Fontanini
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-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-03-24Marked PDU::clone_packet as deprecated.Matias Fontanini
2012-10-19PacketSender now throws on error. Fixed the documentation on several header ↵Matias Fontanini
files.
2012-10-07libtins now uses a BSD license.Matias Fontanini
2012-10-07Removed the useless PDU::flag member. Added a PDU concatenation operator.Matias Fontanini
2012-09-05Improved compile time using forward declarations and removing useless includes.Matias Fontanini
2012-09-03Moved endianness change functions to endianness.h.Matias Fontanini
2012-08-27RAII'd some code. Everything(hopefully) uses IPv4Address now.Matias Fontanini
2012-08-16Fixed some bugs in Dot11 and DNS. Most of the code uses host_to_be and ↵Matias Fontanini
be_to_host.
2012-08-15Started fixing endianess issues.Matias Fontanini
2012-08-09EthernetII, IEEE802_3 and Dot11(and subclasses) now use NetworkInterface and ↵Matias Fontanini
HWAddress.
2012-08-07ARP now uses HWAddress. Utils have been updated as well.Matias Fontanini
2012-08-03Refactored several classes.Matias Fontanini
2012-08-02Fixed some bugs, added some tests.Matias Fontanini
2012-05-15Modified classes to use the IPv4Address class.Matias Fontanini
2012-05-03Added IPv4Address class.Matias Fontanini
2012-03-24Fixed/added copy constructor to IP/TCP/UDP/ARP/EthernetII PDUs.Matias Fontanini
2011-09-22Started utils test. cChanged IP formatSantiago Alessandri
2011-09-15Modified IP, ARP, ICMP and EthernetII's clone_packet.Matias Fontanini
2011-09-12Added constants header.Matias Fontanini
2011-09-08Removed copy constructor from several PDUs.Matias Fontanini
2011-09-03Added copy constructor and copy assignment operator to all PDUs.Matias Fontanini
2011-08-24Fixed exception syntax error..Matias Fontanini
2011-08-19Added DHCP and BootP constructors from uint8_t buffer. Normalized IP ↵Matias Fontanini
destination and source address getters/setters.
2011-08-18Added Sniffer class. Added a constructor to eery PDU subclass which creates ↵Matias Fontanini
an instance of the PDU from a byte array.
2011-08-18Added some arguments to ARP::ARP.Matias Fontanini
2011-08-18Added some getters and setter to ARP and refactored some methodsSantiago Alessandri
2011-08-17Fixed endianess in ARP PDU. Getters and Setters use little endianSantiago Alessandri
2011-08-16Documented many header files. Done some minor code refactoring over ↵Matias Fontanini
PDU::clone_packet.
2011-08-16Utils::resolve_hwaddr is not working.Matias Fontanini
2011-08-16Added wrappers to build ARP requests and replies. Defined BROADCAST in ↵Santiago Alessandri
EthernetII