diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-01-31 16:16:48 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-02-26 09:08:47 +0000 |
commit | 6efd2c732a1e5203d29d50f19c32b666c1ebdc6c (patch) | |
tree | 2795246dd3677fcaf62169c14c6371f178267cb3 /epan/dissectors/packet-iwarp-ddp-rdmap.h | |
parent | 98cc3d61dccece289a15b710b8f2e37b910d7374 (diff) |
packet-iwarp-ddp-rdmap: pass struct rdmapinfo with opcode to the subdissectors
Change-Id: I51bb8a3047bbc16d55d0c089fe869c7534d4c0b5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/355
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-iwarp-ddp-rdmap.h')
-rw-r--r-- | epan/dissectors/packet-iwarp-ddp-rdmap.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/epan/dissectors/packet-iwarp-ddp-rdmap.h b/epan/dissectors/packet-iwarp-ddp-rdmap.h new file mode 100644 index 0000000000..1db74ff12b --- /dev/null +++ b/epan/dissectors/packet-iwarp-ddp-rdmap.h @@ -0,0 +1,46 @@ +/* packet-iwarp-ddp-rdmap.c + * Routines for Direct Data Placement (DDP) and + * Remote Direct Memory Access Protocol (RDMAP) dissection + * According to IETF RFC 5041 and RFC 5040 + * Copyright 2008, Yves Geissbuehler <yves.geissbuehler@gmx.net> + * Copyright 2008, Philip Frey <frey.philip@gmail.com> + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +#ifndef __PACKET_IWARP_DDP_RDMAP_H_ +#define __PACKET_IWARP_DDP_RDMAP_H_ + +/* RDMA messages */ +#define RDMA_WRITE 0x00 +#define RDMA_READ_REQUEST 0x01 +#define RDMA_READ_RESPONSE 0x02 +#define RDMA_SEND 0x03 +#define RDMA_SEND_INVALIDATE 0x04 +#define RDMA_SEND_SE 0x05 +#define RDMA_SEND_SE_INVALIDATE 0x06 +#define RDMA_TERMINATE 0x07 + +struct rdmapinfo { + guint8 opcode; +}; + +#endif /* __PACKET_IWARP_DDP_RDMAP_H_ */ |