diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-19 19:13:03 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-19 19:13:03 +0200 |
| commit | aad2c069563a3e7318b575216db6deb313445f2c (patch) | |
| tree | 2ba42b767473bebdca9d2538d120f0b4d82194e4 /Kernel/NetworkKit/IPCEP.hxx | |
| parent | c0428f8e5feba9573e572a1a1b3c66cfa1f29108 (diff) | |
MHR-23: Fix run_format.sh, inl files needs to be formated as well.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Kernel/NetworkKit/IPCEP.hxx')
| -rw-r--r-- | Kernel/NetworkKit/IPCEP.hxx | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Kernel/NetworkKit/IPCEP.hxx b/Kernel/NetworkKit/IPCEP.hxx index 5c34d47e..6b30ec04 100644 --- a/Kernel/NetworkKit/IPCEP.hxx +++ b/Kernel/NetworkKit/IPCEP.hxx @@ -1,8 +1,9 @@ /* ------------------------------------------- - Copyright SoftwareLabs. + Copyright SoftwareLabs. - File: IPCEP.hxx, Purpose: Common IPC protocol. + File: IPCEP.hxx. + Purpose: IPC protocol. ------------------------------------------- */ @@ -12,16 +13,16 @@ #include <NewKit/Defines.hpp> #include <NewKit/String.hpp> -/// @brief Common IPC Endpoint Protocol (Common IPC for short). +/// @brief IPC Endpoint Protocol (IPCEP for short). /// IA separator. -#define kRemoteSeparator "." +#define cRemoteSeparator "." /// Interchange address, consists of domain:namespace. -#define kRemoteInvalid "00.00.00.00:0000" -#define kRemoteBitWidth 96 /* 96-bit address space. */ +#define cRemoteInvalid "00.00.00.00:0000" +#define cRemoteBitWidth (96) /* 96-bit address space. */ -#define kRemoteHeaderMagic 0xFEEDFACE +#define cRemoteHeaderMagic (0x4950434550) namespace NewOS { @@ -36,14 +37,14 @@ namespace NewOS enum { - kIPCEPLittleEndian = 0, - kIPCEPBigEndian = 1 + eIPCEPLittleEndian = 0, + eIPCEPBigEndian = 1 }; /// @brief IPCEP connection header typedef struct IPCEPConnectionHeader { - UInt32 IpcHeader; // kRemoteHeaderMagic + UInt32 IpcHeader; // cRemoteHeaderMagic UInt8 IpcEndianess; // 0 : LE, 1 : BE SizeT IpcPacketSize; IPCEPAddressType IpcFrom; |
