summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/external/marsio.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/external/marsio.h b/include/external/marsio.h
index 4ed5025..712d39f 100644
--- a/include/external/marsio.h
+++ b/include/external/marsio.h
@@ -99,21 +99,21 @@ enum mr_timestamp_type
enum mr_buff_metadata_type
{
- /* Rehash Index */
+ /* Rehash Index, uint32_t (4bytes) */
MR_BUFF_REHASH_INDEX = 0,
- /* VLAN TCI */
+ /* VLAN TCI, uint16_t (2bytes) */
MR_BUFF_METADATA_VLAN_TCI = 1,
- /* dispatch ctx */
+ /* dispatch ctx, > 28bytes */
MR_BUFF_ROUTE_CTX = 2,
- /* session id */
+ /* session id, uint64_t (8bytes) */
MR_BUFF_SESSION_ID = 3,
- /* dir, internal->external or external->internal */
+ /* dir, internal->external or external->internal, unsigned int (4bytes) */
MR_BUFF_DIR = 4,
- /* payload offset */
+ /* payload offset, uint16_t (2bytes) */
MR_BUFF_PAYLOAD_OFFSET = 5,
- /* link id */
+ /* link id, uint16_t (2bytes) */
MR_BUFF_LINK_ID = 6,
- /* user 0 */
+ /* user 0, uint16_t (2bytes) */
MR_BUFF_USER_0 = 254
};