summaryrefslogtreecommitdiff
path: root/Kernel/Net/NetworkAdapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Net/NetworkAdapter.h')
-rw-r--r--Kernel/Net/NetworkAdapter.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/Kernel/Net/NetworkAdapter.h b/Kernel/Net/NetworkAdapter.h
index 3a7d0755c7..fd24d7ca41 100644
--- a/Kernel/Net/NetworkAdapter.h
+++ b/Kernel/Net/NetworkAdapter.h
@@ -3,19 +3,23 @@
#include <AK/ByteBuffer.h>
#include <AK/SinglyLinkedList.h>
#include <AK/Types.h>
-#include <Kernel/Net/MACAddress.h>
-#include <Kernel/Net/IPv4.h>
+#include <Kernel/Alarm.h>
#include <Kernel/Net/ARP.h>
#include <Kernel/Net/ICMP.h>
-#include <Kernel/Alarm.h>
+#include <Kernel/Net/IPv4.h>
+#include <Kernel/Net/MACAddress.h>
class NetworkAdapter;
class PacketQueueAlarm final : public Alarm {
public:
- PacketQueueAlarm(NetworkAdapter& adapter) : m_adapter(adapter) { }
- virtual ~PacketQueueAlarm() override { }
+ PacketQueueAlarm(NetworkAdapter& adapter)
+ : m_adapter(adapter)
+ {
+ }
+ virtual ~PacketQueueAlarm() override {}
virtual bool is_ringing() const override;
+
private:
NetworkAdapter& m_adapter;
};