From: Amitay Isaacs Date: Thu, 1 Jun 2017 06:43:55 +0000 (+1000) Subject: ctdb-protocol: Allocate SRVID range for ctdb client X-Git-Tag: ldb-1.1.31~148 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=7630e0088aac608a12014e470dc50709f93b84a3 ctdb-protocol: Allocate SRVID range for ctdb client Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/protocol/protocol.h b/ctdb/protocol/protocol.h index d405ea32f71..60e20b4a7c0 100644 --- a/ctdb/protocol/protocol.h +++ b/ctdb/protocol/protocol.h @@ -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,