1
Fork 0
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:
Andreas Kling 2019-03-12 13:30:36 +01:00
parent c6a2012fe9
commit 8e667747f0
3 changed files with 36 additions and 13 deletions

View file

@ -10,6 +10,7 @@
class NetworkAdapter {
public:
static NetworkAdapter* from_ipv4_address(const IPv4Address&);
virtual ~NetworkAdapter();
virtual const char* class_name() const = 0;