HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / dissectors / packet-infiniband.h
blob7a0e92b59582bb949dae86abf29a46f0fd6540c8
1 /* packet-infiniband.h
2 * Routines for Infiniband/ERF Dissection
3 * Copyright 2008 Endace Technology Limited
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * Modified 2010 by Mellanox Technologies Ltd.
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef __PACKET_INFINIBAND_H_
28 #define __PACKET_INFINIBAND_H_
30 #define MAD_DATA_SIZE 232 /* size of data field a MAD payload carries */
31 #define GID_SIZE 16 /* size of GID = 128bit (same as IPv6) */
33 /* infiniband-specific information for conversations */
34 typedef struct {
35 guint64 service_id; /* service id specified when the (RC) channel was set-up */
36 } conversation_infiniband_data;
38 #endif