1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

define and reserve a range of ctdb message ports for use by nfs and iscsi servers

(This used to be ctdb commit 84a44ac8ee74dd7af15e378c6cafbedb95feec60)
This commit is contained in:
Ronnie Sahlberg 2010-09-13 15:06:43 +10:00
parent 65382a59d1
commit 09a08b0da3

View File

@ -135,6 +135,18 @@ struct ctdb_call_info {
*/
#define CTDB_SRVID_SAMBA_NOTIFY 0xFE00000000000000LL
/* A range of ports reserved for a CTDB NFS server (top 32 bits)
* All ports matching the 32 top bits are reserved for exclusive use by
* NFS server
*/
#define CTDB_SRVID_NFSD_RANGE 0xFE01000000000000LL
/* A range of ports reserved for a CTDB ISCSI server (top 32 bits)
* All ports matching the 32 top bits are reserved for exclusive use by
* ISCSI server
*/
#define CTDB_SRVID_ISCSID_RANGE 0xFE02000000000000LL
/* used on the domain socket, send a pdu to the local daemon */
#define CTDB_CURRENT_NODE 0xF0000001
/* send a broadcast to all nodes in the cluster, active or not */