summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/Network
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 13:05:28 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 13:05:28 +0100
commit84cc6ff6f43b48383248282743efc514946db641 (patch)
treefa7f9099b87e235ba122d17b6a3b39234cd39883 /Private/Source/Network
parent3d798c5fc738768493df925d1f5d72256f2dec4e (diff)
Kernel: :boom: breaking changes, Update API and the HCORE based
macros, rename HCore to NewOS. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/Source/Network')
-rw-r--r--Private/Source/Network/IP.cxx4
-rw-r--r--Private/Source/Network/NetworkDevice.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/Private/Source/Network/IP.cxx b/Private/Source/Network/IP.cxx
index c903dc95..04e5247d 100644
--- a/Private/Source/Network/IP.cxx
+++ b/Private/Source/Network/IP.cxx
@@ -7,7 +7,7 @@
#include <NetworkKit/IP.hpp>
#include <NewKit/Utils.hpp>
-namespace HCore {
+namespace NewOS {
char* RawIPAddress::Address() { return m_Addr; }
RawIPAddress::RawIPAddress(char bytes[4]) { rt_copy_memory(bytes, m_Addr, 4); }
@@ -91,4 +91,4 @@ bool IPFactory::IpCheckVersion4(const char* ip) {
return true;
}
-} // namespace HCore
+} // namespace NewOS
diff --git a/Private/Source/Network/NetworkDevice.cxx b/Private/Source/Network/NetworkDevice.cxx
index f43ef335..da0e2bb5 100644
--- a/Private/Source/Network/NetworkDevice.cxx
+++ b/Private/Source/Network/NetworkDevice.cxx
@@ -6,6 +6,6 @@
#include <NetworkKit/NetworkDevice.hpp>
-namespace HCore {
+namespace NewOS {
const char *NetworkDevice::Name() const { return "NetworkDevice"; }
-} // namespace HCore
+} // namespace NewOS