1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-24 19:21:35 +01:00
Commit Graph

24 Commits

Author SHA1 Message Date
Matias Fontanini
55be59ee15 Done some minor fixes. 2012-08-09 23:39:32 -03:00
Matias Fontanini
91af0f9cc2 EthernetII, IEEE802_3 and Dot11(and subclasses) now use NetworkInterface and HWAddress. 2012-08-09 12:00:29 -03:00
Matias Fontanini
e64eb11f1c HWAddress class is working. EthernetII now uses this classes instead of raw uint8_t* 2012-08-07 16:12:40 -03:00
Matias Fontanini
c5fce38c3a Refactored several classes. 2012-08-03 13:08:24 -03:00
Matias Fontanini
e6ccdcd75e Fixed/added copy constructor to IP/TCP/UDP/ARP/EthernetII PDUs. 2012-03-24 01:27:22 -03:00
Matias Fontanini
9c2293b2aa Fixed bug in EthernetII::ADDR_SIZE definition. 2011-09-19 01:00:59 -03:00
Santiago Alessandri
8b7f016278 Added test for EthernetII PDU 2011-09-15 12:01:45 -03:00
Matias Fontanini
4d8fb5a4e5 Modified IP, ARP, ICMP and EthernetII's clone_packet. 2011-09-15 09:17:35 -03:00
Matias Fontanini
abe73f185f Added constants header. 2011-09-12 12:01:17 -03:00
Matias Fontanini
3178c217b3 Added copy constructor and copy assignment operator to all PDUs. 2011-09-03 18:58:57 -03:00
Matias Fontanini
fdcefd2132 Added PDU::clone_pdu. 2011-09-03 00:13:31 -03:00
Matias Fontanini
7ccae0c994 Fixed exception syntax error.. 2011-08-24 00:00:24 -03:00
Matias Fontanini
3f239b8022 Added SNAP. Couldn't test it yet. 2011-08-21 16:29:10 -03:00
Matias Fontanini
83476fd195 Normalized EthernetII source and destination addresses getters/setters. 2011-08-19 11:44:04 -03:00
Matias Fontanini
03aa49428c Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2011-08-19 10:13:57 -03:00
Matias Fontanini
3e2168f6fc Added DHCP and BootP constructors from uint8_t buffer. Normalized IP destination and source address getters/setters. 2011-08-19 10:13:35 -03:00
Santiago Alessandri
4fa5607fed Fixed merge conflics 2011-08-19 09:43:49 -03:00
Santiago Alessandri
33931365c7 Renamed some names from EthernetII PDU 2011-08-19 09:41:45 -03:00
Matias Fontanini
18750fe18a Added Sniffer class. Added a constructor to eery PDU subclass which creates an instance of the PDU from a byte array. 2011-08-18 20:36:55 -03:00
Matias Fontanini
e587d18796 Documented many header files. Done some minor code refactoring over PDU::clone_packet. 2011-08-16 20:53:55 -03:00
Santiago Alessandri
cb647d1642 Added wrappers to build ARP requests and replies. Defined BROADCAST in EthernetII 2011-08-16 13:21:25 -03:00
matias
a489eab8b9 Added PacketSender::recv_l2. Ethernet packets can now expect a response packet. ARP response is working now. 2011-08-16 00:36:59 -03:00
Santiago Alessandri
49712c34be Removed Debug printing code 2011-08-15 19:18:07 -03:00
Santiago Alessandri
6e801011c2 Added enum to identify PDU type. ARP is being sent but not well implemented 2011-08-15 19:14:31 -03:00