diff options
Diffstat (limited to 'include/linux/ceph/messenger.h')
-rw-r--r-- | include/linux/ceph/messenger.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index 40ae58e3e9db..d9d396c16503 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
@@ -42,6 +42,10 @@ struct ceph_connection_operations { | |||
42 | struct ceph_msg * (*alloc_msg) (struct ceph_connection *con, | 42 | struct ceph_msg * (*alloc_msg) (struct ceph_connection *con, |
43 | struct ceph_msg_header *hdr, | 43 | struct ceph_msg_header *hdr, |
44 | int *skip); | 44 | int *skip); |
45 | int (*sign_message) (struct ceph_connection *con, struct ceph_msg *msg); | ||
46 | |||
47 | int (*check_message_signature) (struct ceph_connection *con, | ||
48 | struct ceph_msg *msg); | ||
45 | }; | 49 | }; |
46 | 50 | ||
47 | /* use format string %s%d */ | 51 | /* use format string %s%d */ |
@@ -142,7 +146,10 @@ struct ceph_msg_data_cursor { | |||
142 | */ | 146 | */ |
143 | struct ceph_msg { | 147 | struct ceph_msg { |
144 | struct ceph_msg_header hdr; /* header */ | 148 | struct ceph_msg_header hdr; /* header */ |
145 | struct ceph_msg_footer footer; /* footer */ | 149 | union { |
150 | struct ceph_msg_footer footer; /* footer */ | ||
151 | struct ceph_msg_footer_old old_footer; /* old format footer */ | ||
152 | }; | ||
146 | struct kvec front; /* unaligned blobs of message */ | 153 | struct kvec front; /* unaligned blobs of message */ |
147 | struct ceph_buffer *middle; | 154 | struct ceph_buffer *middle; |
148 | 155 | ||