diff options
| -rw-r--r-- | dev/Kernel/NetworkKit/IP.h | 10 | ||||
| -rw-r--r-- | dev/Kernel/src/Network/IPAddr.cc | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/dev/Kernel/NetworkKit/IP.h b/dev/Kernel/NetworkKit/IP.h index 0beae91e..4a552d87 100644 --- a/dev/Kernel/NetworkKit/IP.h +++ b/dev/Kernel/NetworkKit/IP.h @@ -27,15 +27,15 @@ namespace NeOS RawIPAddress(const RawIPAddress&) = default; public: - char* Address(); + Char* Address(); - char& operator[](const Size& index); + Char& operator[](const Size& index); - bool operator==(const RawIPAddress& ipv6); - bool operator!=(const RawIPAddress& ipv6); + BOOL operator==(const RawIPAddress& ipv6); + BOOL operator!=(const RawIPAddress& ipv6); private: - char fAddr[4]; + Char fAddr[4]; friend IPFactory; // it is the one creating these addresses, thus this // is why the constructors are private. diff --git a/dev/Kernel/src/Network/IPAddr.cc b/dev/Kernel/src/Network/IPAddr.cc index 1f9da6b9..6f523086 100644 --- a/dev/Kernel/src/Network/IPAddr.cc +++ b/dev/Kernel/src/Network/IPAddr.cc @@ -9,7 +9,7 @@ namespace NeOS { - char* RawIPAddress::Address() + Char* RawIPAddress::Address() { return fAddr; } @@ -19,7 +19,7 @@ namespace NeOS rt_copy_memory(bytes, fAddr, 4); } - bool RawIPAddress::operator==(const RawIPAddress& ipv4) + BOOL RawIPAddress::operator==(const RawIPAddress& ipv4) { for (Size index = 0; index < 4; ++index) { @@ -30,7 +30,7 @@ namespace NeOS return true; } - bool RawIPAddress::operator!=(const RawIPAddress& ipv4) + BOOL RawIPAddress::operator!=(const RawIPAddress& ipv4) { for (Size index = 0; index < 4; ++index) { @@ -41,7 +41,7 @@ namespace NeOS return true; } - char& RawIPAddress::operator[](const Size& index) + Char& RawIPAddress::operator[](const Size& index) { kout << "[RawIPAddress::operator[]] Fetching Index...\r"; |
