1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-26 03:51:35 +01:00

Remove useless includes

This commit is contained in:
Matias Fontanini
2017-04-30 17:34:02 -07:00
parent a9747a349a
commit 19ae1f366b
21 changed files with 43 additions and 58 deletions

View File

@@ -30,11 +30,9 @@
#include <cstring>
#include <algorithm>
#include "arp.h"
#include "ip.h"
#include "ethernetII.h"
#include "rawpdu.h"
#include "constants.h"
#include "network_interface.h"
#include "exceptions.h"
#include "memory_helpers.h"
@@ -58,7 +56,7 @@ ARP::ARP(ipaddress_type target_ip,
hw_addr_format((uint16_t)Constants::ARP::ETHER);
prot_addr_format((uint16_t)Constants::Ethernet::IP);
hw_addr_length(Tins::EthernetII::address_type::address_size);
prot_addr_length(Tins::IP::address_type::address_size);
prot_addr_length(4 /* IP address size */);
sender_ip_addr(sender_ip);
target_ip_addr(target_ip);
sender_hw_addr(sender_hw);