mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-15 15:37:51 -04:00
Fixes
This commit is contained in:
parent
5a841aed38
commit
a6e2285c84
@ -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
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user