mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
18 lines
386 B
C++
18 lines
386 B
C++
#pragma once
|
|
|
|
#include <Kernel/Net/NetworkAdapter.h>
|
|
|
|
class LoopbackAdapter final : public NetworkAdapter {
|
|
AK_MAKE_ETERNAL
|
|
public:
|
|
static LoopbackAdapter& the();
|
|
|
|
virtual ~LoopbackAdapter() override;
|
|
|
|
virtual void send_raw(const byte*, int) override;
|
|
virtual const char* class_name() const override { return "LoopbackAdapter"; }
|
|
|
|
private:
|
|
LoopbackAdapter();
|
|
};
|