ctdb-protocol: Allocate SRVID range for ctdb client
authorAmitay Isaacs <amitay@gmail.com>
Thu, 1 Jun 2017 06:43:55 +0000 (16:43 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 7 Jun 2017 14:05:26 +0000 (16:05 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/protocol/protocol.h

index d405ea32f7143dc91f50f7d3de14bf55c1ee59d9..60e20b4a7c0173dff5f10eb4b17184dfefa2e681 100644 (file)
@@ -209,11 +209,17 @@ struct ctdb_call {
  */
 #define CTDB_SRVID_TOOL_RANGE  0xCE00000000000000LL
 
+/* A range of ports reserved by client (top 8 bits)
+ * All ports matching the 8 top bits are reserved for exclusive use by
+ * CTDB client code
+ */
+#define CTDB_SRVID_CLIENT_RANGE  0xBE00000000000000LL
+
 /* Range of ports reserved for test applications (top 8 bits)
  * All ports matching the 8 top bits are reserved for exclusive use by
  * test applications
  */
-#define CTDB_SRVID_TEST_RANGE  0xBE00000000000000LL
+#define CTDB_SRVID_TEST_RANGE  0xAE00000000000000LL
 
 
 enum ctdb_controls {CTDB_CONTROL_PROCESS_EXISTS          = 0,