#ifndef CEPH_MSGR_H
#define CEPH_MSGR_H
#define CEPH_MON_PORT …
#define CEPH_BANNER …
#define CEPH_BANNER_LEN …
#define CEPH_BANNER_MAX_LEN …
#define CEPH_BANNER_V2 …
#define CEPH_BANNER_V2_LEN …
#define CEPH_BANNER_V2_PREFIX_LEN …
#define CEPH_MSGR2_INCARNATION_1 …
#define DEFINE_MSGR2_FEATURE(bit, incarnation, name) …
#define HAVE_MSGR2_FEATURE(x, name) …
DEFINE_MSGR2_FEATURE( 0, 1, REVISION_1)
#define CEPH_MSGR2_SUPPORTED_FEATURES …
#define CEPH_MSGR2_REQUIRED_FEATURES …
ceph_seq_t;
static inline __s32 ceph_seq_cmp(__u32 a, __u32 b)
{ … }
struct ceph_entity_name { … } __attribute__ ((packed));
#define CEPH_ENTITY_TYPE_MON …
#define CEPH_ENTITY_TYPE_MDS …
#define CEPH_ENTITY_TYPE_OSD …
#define CEPH_ENTITY_TYPE_CLIENT …
#define CEPH_ENTITY_TYPE_AUTH …
#define CEPH_ENTITY_TYPE_ANY …
extern const char *ceph_entity_type_name(int type);
struct ceph_entity_addr { … } __attribute__ ((packed));
static inline bool ceph_addr_equal_no_type(const struct ceph_entity_addr *lhs,
const struct ceph_entity_addr *rhs)
{ … }
struct ceph_entity_inst { … } __attribute__ ((packed));
#define CEPH_MSGR_TAG_READY …
#define CEPH_MSGR_TAG_RESETSESSION …
#define CEPH_MSGR_TAG_WAIT …
#define CEPH_MSGR_TAG_RETRY_SESSION …
#define CEPH_MSGR_TAG_RETRY_GLOBAL …
#define CEPH_MSGR_TAG_CLOSE …
#define CEPH_MSGR_TAG_MSG …
#define CEPH_MSGR_TAG_ACK …
#define CEPH_MSGR_TAG_KEEPALIVE …
#define CEPH_MSGR_TAG_BADPROTOVER …
#define CEPH_MSGR_TAG_BADAUTHORIZER …
#define CEPH_MSGR_TAG_FEATURES …
#define CEPH_MSGR_TAG_SEQ …
#define CEPH_MSGR_TAG_KEEPALIVE2 …
#define CEPH_MSGR_TAG_KEEPALIVE2_ACK …
#define CEPH_MSGR_TAG_CHALLENGE_AUTHORIZER …
struct ceph_msg_connect { … } __attribute__ ((packed));
struct ceph_msg_connect_reply { … } __attribute__ ((packed));
#define CEPH_MSG_CONNECT_LOSSY …
struct ceph_msg_header_old { … } __attribute__ ((packed));
struct ceph_msg_header { … } __attribute__ ((packed));
struct ceph_msg_header2 { … } __attribute__ ((packed));
#define CEPH_MSG_PRIO_LOW …
#define CEPH_MSG_PRIO_DEFAULT …
#define CEPH_MSG_PRIO_HIGH …
#define CEPH_MSG_PRIO_HIGHEST …
struct ceph_msg_footer_old { … } __attribute__ ((packed));
struct ceph_msg_footer { … } __attribute__ ((packed));
#define CEPH_MSG_FOOTER_COMPLETE …
#define CEPH_MSG_FOOTER_NOCRC …
#define CEPH_MSG_FOOTER_SIGNED …
#endif