mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
Kernel: Add a way to look up NetworkAdapters by IPv4 address.
This commit is contained in:
parent
c6a2012fe9
commit
8e667747f0
3 changed files with 36 additions and 13 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
class NetworkAdapter {
|
||||
public:
|
||||
static NetworkAdapter* from_ipv4_address(const IPv4Address&);
|
||||
virtual ~NetworkAdapter();
|
||||
|
||||
virtual const char* class_name() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue