+#define SERVER_PORT 0xACE
+
+/*
+ * Request format
+ *
+ * tRequestHeader header
+ * tRequestValue params[header.NParams]
+ * tRequestValue retvals[header.NReturn]
+ * uint8_t paramData[SUM(params[].Lengh)];
+ */
+
+typedef struct {
+ uint32_t pid;
+ uint32_t key;
+} tRequestAuthHdr;
+
+typedef struct sRequestValue {
+ /// \see eArgumentTypes
+ uint16_t Type;
+ uint16_t Flags;
+ uint32_t Length;
+} tRequestValue;
+
+typedef struct sRequestHeader {
+ uint32_t ClientID;
+ uint32_t MessageLength;
+ uint16_t CallID; //!< \see eSyscalls
+ uint16_t NParams;
+
+ tRequestValue Params[];
+} __attribute__((packed)) tRequestHeader;
+
+