1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

ctdb-protocol: Allocate SRVID range for ctdb client

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2017-06-01 16:43:55 +10:00 committed by Martin Schwenke
parent 6894158103
commit 7630e0088a

View 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,