Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-iwarp-ddp-rdmap.h
1
/* packet-iwarp-ddp-rdmap.c
2
* Routines for Direct Data Placement (DDP) and
3
* Remote Direct Memory Access Protocol (RDMAP) dissection
4
* According to IETF RFC 5041 and RFC 5040
5
* Copyright 2008, Yves Geissbuehler <
[email protected]
>
6
* Copyright 2008, Philip Frey <
[email protected]
>
7
*
8
* Wireshark - Network traffic analyzer
9
* By Gerald Combs <
[email protected]
>
10
* Copyright 1998 Gerald Combs
11
*
12
* SPDX-License-Identifier: GPL-2.0-or-later
13
*/
14
#ifndef __PACKET_IWARP_DDP_RDMAP_H_
15
#define __PACKET_IWARP_DDP_RDMAP_H_
16
17
/* RDMA messages */
18
#define RDMA_WRITE 0x00
19
#define RDMA_READ_REQUEST 0x01
20
#define RDMA_READ_RESPONSE 0x02
21
#define RDMA_SEND 0x03
22
#define RDMA_SEND_INVALIDATE 0x04
23
#define RDMA_SEND_SE 0x05
24
#define RDMA_SEND_SE_INVALIDATE 0x06
25
#define RDMA_TERMINATE 0x07
26
27
/* Read request info */
28
typedef
struct
rdmap_request
{
29
uint32_t sink_stag;
30
uint64_t sink_toffset;
31
uint32_t source_stag;
32
uint64_t source_toffset;
33
uint32_t message_size;
34
}
rdmap_request_t
;
35
36
typedef
struct
rdmapinfo
{
37
uint8_t opcode;
38
bool
last_flag;
39
bool
is_tagged;
40
union
{
41
/* Tagged Buffer Model */
42
struct
{
43
uint32_t steering_tag;
44
uint64_t tagged_offset;
45
};
46
/* Untagged Buffer Model */
47
struct
{
48
uint32_t queue_number;
49
uint32_t message_seq_num;
50
uint32_t message_offset;
51
};
52
};
53
rdmap_request_t
*read_request;
54
}
rdmap_info_t
;
55
56
#endif
/* __PACKET_IWARP_DDP_RDMAP_H_ */
rdmap_request
Definition
packet-iwarp-ddp-rdmap.h:28
rdmapinfo
Definition
packet-iwarp-ddp-rdmap.h:36
Generated by
1.9.8