This commit is contained in:
Baptiste Wicht 2016-07-09 13:43:36 +02:00
parent 5a841aed38
commit a6e2285c84
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ static_assert(sizeof(header) == 14, "The size of the Ethernet header is 14 bytes
void decode(packet& packet);
packet prepare_packet(size_t size, size_t destination, ether_type type);
packet finalize_packet(size_t size, size_t destination, ether_type type);
void finalize_packet(packet& p);
} // end of ethernet namespace

View File

@ -106,6 +106,6 @@ network::ethernet::packet network::ethernet::prepare_packet(size_t size, size_t
return p;
}
packet finalize_packet(size_t size, size_t destination, ether_type type){
void network::ethernet::finalize_packet(packet& p){
//TODO Send the packet
}