1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:15:09 +00:00

Kernel: Implement link status in /proc/net/adapters

This commit is contained in:
Conrad Pankoff 2019-08-22 00:52:50 +10:00 committed by Andreas Kling
parent af840af1ce
commit 286bafbb19
4 changed files with 19 additions and 0 deletions

View file

@ -25,6 +25,7 @@ public:
const String& name() const { return m_name; }
MACAddress mac_address() { return m_mac_address; }
IPv4Address ipv4_address() const { return m_ipv4_address; }
virtual bool link_up() { return false; }
void set_ipv4_address(const IPv4Address&);