Complete interface

This commit is contained in:
Baptiste Wicht 2016-07-09 13:42:16 +02:00
parent edf3cd8b8a
commit 3fc42ad203

View File

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