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
commit 286bafbb19
Notes: sideshowbarker 2024-07-19 12:34:39 +09:00
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&);