diff options
author | Amitay Isaacs <amitay@gmail.com> | 2017-06-01 16:43:55 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2017-06-07 16:05:26 +0200 |
commit | 7630e0088aac608a12014e470dc50709f93b84a3 (patch) | |
tree | 629f0be4d95fb21232fea5c8fffd42363f38abee /ctdb/protocol/protocol.h | |
parent | 6894158103f77d1905edd3ebcc09e00695b12f5d (diff) | |
download | samba-7630e0088aac608a12014e470dc50709f93b84a3.tar.gz |
ctdb-protocol: Allocate SRVID range for ctdb client
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/protocol/protocol.h')
-rw-r--r-- | ctdb/protocol/protocol.h | 8 |
1 files changed, 7 insertions, 1 deletions
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, |