* Fixed some bugs noticed by rereading the whole implementation

* Added checksum generation and checking

The data itself is now checksummed too (unlike R5 where only the header gets a checksum). This might be a performance problem for larger messages. Opinions?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16482 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2006-02-20 22:05:39 +00:00
parent d2350b2881
commit 5b62df9d36
2 changed files with 39 additions and 11 deletions
+3
View File
@@ -63,6 +63,9 @@ struct BMessage::message_header {
ssize_t fields_available;
ssize_t data_available;
uint32 fields_checksum;
uint32 data_checksum;
int32 target;
int32 current_specifier;
area_id shared_area;