NeKernel dev
Loading...
Searching...
No Matches
MAC.h
Go to the documentation of this file.
1/* ========================================
2
3 Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
4
5======================================== */
6
7#pragma once
8
9#include <NeKit/Array.h>
10#include <NeKit/Config.h>
11#include <NeKit/KString.h>
12
13#define kMACAddrLen (32U)
14
15namespace Kernel {
16class MacAddressGetter;
17
20class MacAddressGetter final {
21 public:
22 MacAddressGetter() = default;
23 ~MacAddressGetter() = default;
24
26
27 public:
29
30 private:
32};
33
34} // namespace Kernel
#define NE_COPY_DEFAULT(KLASS)
Definition Detail.h:17
Definition Array.h:15
Array< UInt8, kMACAddrLen > & AsBytes()
Definition MACAddressGetter.cc:10
Array< UInt8, kMACAddrLen > fMacAddress
Definition MAC.h:31
UPS inline definitions.
Definition Device.h:12