summaryrefslogtreecommitdiff
path: root/include/external
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2024-05-09 07:43:38 +0000
committersongyanchao <[email protected]>2024-05-15 02:06:26 +0000
commit5602c112f97e74233fe488cd64f05a3457daa187 (patch)
tree4fe9002053215161f0ca11ebddae9206278a28ab /include/external
parent4465a1ce74f4a6109bacff3e475a55f3ea1990d7 (diff)
🧪 test(DPISDN-42): Add test case for link aware injector node.
Add test case for link aware injector node.
Diffstat (limited to 'include/external')
-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 3925647..b5e1065 100644
--- a/include/external/marsio.h
+++ b/include/external/marsio.h
@@ -100,21 +100,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
};