summaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 018a8e5..82ba119 100644
--- a/src/net.h
+++ b/src/net.h
@@ -12,6 +12,11 @@
* followed by payload
*/
+// Some fixed packet indizes (to improve readability)
+#define INDEX_TYPE 0
+#define INDEX_LEN 1
+#define INDEX_PAYLOAD 2
+
typedef enum
{
// Specify message type identifier here