summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cluster/ctdb/include')
-rw-r--r--source4/cluster/ctdb/include/ctdb_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/cluster/ctdb/include/ctdb_private.h b/source4/cluster/ctdb/include/ctdb_private.h
index 66a9a6e244..9c93466e19 100644
--- a/source4/cluster/ctdb/include/ctdb_private.h
+++ b/source4/cluster/ctdb/include/ctdb_private.h
@@ -155,11 +155,16 @@ enum ctdb_operation {
CTDB_REQ_MESSAGE = 6
};
+#define CTDB_MAGIC 0x43544442 /* CTDB */
+#define CTDB_VERSION 1
+
/*
packet structures
*/
struct ctdb_req_header {
uint32_t length;
+ uint32_t ctdb_magic;
+ uint32_t ctdb_version;
uint32_t operation;
uint32_t destnode;
uint32_t srcnode;