Introduce CHUNK_SIZE_BYTES in muxi.h.

Plus a style fix.

Change-Id: Id94df6c91a96598cb022c813e0981f542aebe982
This commit is contained in:
Urvang Joshi
2012-05-10 13:05:05 +05:30
parent 14757f8ae2
commit c579a71012
3 changed files with 6 additions and 6 deletions

View File

@ -87,6 +87,7 @@ typedef enum {
// Maximum chunk payload (data) size such that adding the header and padding
// won't overflow an uint32.
#define MAX_CHUNK_PAYLOAD (~0U - CHUNK_HEADER_SIZE - 1)
#define CHUNK_SIZE_BYTES 4
#define NIL_TAG 0x00000000u // To signal void chunk.