mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
27f699ef0c
These types can be picked up by including <AK/Types.h>: * u8, u16, u32, u64 (unsigned) * i8, i16, i32, i64 (signed)
18 lines
384 B
C++
18 lines
384 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 u8*, int) override;
|
|
virtual const char* class_name() const override { return "LoopbackAdapter"; }
|
|
|
|
private:
|
|
LoopbackAdapter();
|
|
};
|