Most (all?) the network message structures are located in: https://github.com/ceph/ceph/tree/master/src/messages On Jan 9, 2014, at 7:44 AM, Bruce Lee <lwldcr@xxxxxxxxx> wrote: > Hi all, > I am new here and glad to see you guys. > Thanks for your hard work for providing a more stable, powerful,functional ceph. > I was reading the source code of Ceph-0.72.2, and I've got a question: > what is the data packet format of Ceph?Or how are the packets packaged? > > We know that typical tcp packets look like this: > TCP pseudo-header for checksum computation (IPv4) > Bit offset 0–3 4–7 8–15 16–31 > 0 Source address > 32 Destination address > 64 Zeros Protocol TCP length > 96 Source port Destination port > 128 Sequence number > 160 Acknowledgement number > 192 Data offset Reserved Flags Window > 224 Checksum Urgent pointer > 256 Options (optional) > 256/288+ > Data > Is data transfered by ceph also like this? > Also I want to know where are the data structure defined, please tell me. > Thanks. > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com