1
Fork 0
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:
Andreas Kling 2019-03-10 20:59:23 +01:00
parent 4641ee49b5
commit 97664fad60
8 changed files with 239 additions and 5 deletions

View file

@ -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; }