diff options
Diffstat (limited to 'epan/dissectors/packet-iwarp-ddp-rdmap.h')
-rw-r--r-- | epan/dissectors/packet-iwarp-ddp-rdmap.h | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/epan/dissectors/packet-iwarp-ddp-rdmap.h b/epan/dissectors/packet-iwarp-ddp-rdmap.h index e3151e2646..3abcf2a633 100644 --- a/epan/dissectors/packet-iwarp-ddp-rdmap.h +++ b/epan/dissectors/packet-iwarp-ddp-rdmap.h @@ -24,8 +24,33 @@ #define RDMA_SEND_SE_INVALIDATE 0x06 #define RDMA_TERMINATE 0x07 -struct rdmapinfo { - guint8 opcode; -}; +/* Read request info */ +typedef struct rdmap_request { + guint32 sink_stag; + guint64 sink_toffset; + guint32 source_stag; + guint64 source_toffset; + guint32 message_size; +} rdmap_request_t; + +typedef struct rdmapinfo { + guint8 opcode; + gboolean last_flag; + gboolean is_tagged; + union { + /* Tagged Buffer Model */ + struct { + guint32 steering_tag; + guint64 tagged_offset; + }; + /* Untagged Buffer Model */ + struct { + guint32 queue_number; + guint32 message_seq_num; + guint32 message_offset; + }; + }; + rdmap_request_t *read_request; +} rdmap_info_t; #endif /* __PACKET_IWARP_DDP_RDMAP_H_ */ |