mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 19:15:06 +00:00
18 lines
317 B
C++
18 lines
317 B
C++
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
class NetworkAdapter {
|
|
public:
|
|
virtual ~NetworkAdapter();
|
|
|
|
virtual const char* class_name() const = 0;
|
|
const byte* mac_address() { return m_mac_address; }
|
|
|
|
protected:
|
|
NetworkAdapter();
|
|
void set_mac_address(const byte*);
|
|
|
|
private:
|
|
byte m_mac_address[6];
|
|
};
|