mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
Kernel: A bunch of hacking towards initial Ethernet support.
This commit is contained in:
parent
4641ee49b5
commit
97664fad60
8 changed files with 239 additions and 5 deletions
|
@ -10,6 +10,8 @@ public:
|
|||
virtual const char* class_name() const = 0;
|
||||
MACAddress mac_address() { return m_mac_address; }
|
||||
|
||||
virtual void send(const byte*, int) = 0;
|
||||
|
||||
protected:
|
||||
NetworkAdapter();
|
||||
void set_mac_address(const MACAddress& mac_address) { m_mac_address = mac_address; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue