mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 03:12:07 -05:00
17 lines
362 B
C
17 lines
362 B
C
|
#pragma once
|
||
|
|
||
|
#include <Kernel/NetworkAdapter.h>
|
||
|
|
||
|
class LoopbackAdapter final : public NetworkAdapter {
|
||
|
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();
|
||
|
};
|