mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
19 lines
317 B
C
19 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];
|
||
|
};
|