Go to the documentation of this file.
8 #define CEPH_MON_PORT 6789
15 #define CEPH_PORT_FIRST 6789
16 #define CEPH_PORT_START 6800
17 #define CEPH_PORT_LAST 6900
24 #define CEPH_BANNER "ceph v027"
25 #define CEPH_BANNER_MAX_LEN 30
49 #define CEPH_ENTITY_TYPE_MON 0x01
50 #define CEPH_ENTITY_TYPE_MDS 0x02
51 #define CEPH_ENTITY_TYPE_OSD 0x04
52 #define CEPH_ENTITY_TYPE_CLIENT 0x08
53 #define CEPH_ENTITY_TYPE_AUTH 0x20
55 #define CEPH_ENTITY_TYPE_ANY 0xFF
75 #define CEPH_MSGR_TAG_READY 1
76 #define CEPH_MSGR_TAG_RESETSESSION 2
77 #define CEPH_MSGR_TAG_WAIT 3
79 #define CEPH_MSGR_TAG_RETRY_SESSION 4
81 #define CEPH_MSGR_TAG_RETRY_GLOBAL 5
83 #define CEPH_MSGR_TAG_CLOSE 6
84 #define CEPH_MSGR_TAG_MSG 7
85 #define CEPH_MSGR_TAG_ACK 8
86 #define CEPH_MSGR_TAG_KEEPALIVE 9
87 #define CEPH_MSGR_TAG_BADPROTOVER 10
88 #define CEPH_MSGR_TAG_BADAUTHORIZER 11
89 #define CEPH_MSGR_TAG_FEATURES 12
116 #define CEPH_MSG_CONNECT_LOSSY 1
158 #define CEPH_MSG_PRIO_LOW 64
159 #define CEPH_MSG_PRIO_DEFAULT 127
160 #define CEPH_MSG_PRIO_HIGH 196
161 #define CEPH_MSG_PRIO_HIGHEST 255
171 #define CEPH_MSG_FOOTER_COMPLETE (1<<0)
172 #define CEPH_MSG_FOOTER_NOCRC (1<<1)