2008-03-14 17:47:53 +00:00
|
|
|
/* packet-infiniband.h
|
|
|
|
* Routines for Infiniband/ERF Dissection
|
2009-02-22 10:52:05 +00:00
|
|
|
* Copyright 2008 Endace Technology Limited
|
2008-03-14 17:47:53 +00:00
|
|
|
*
|
2008-03-14 19:48:49 +00:00
|
|
|
* $Id$
|
|
|
|
*
|
2009-02-22 10:52:05 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
2008-03-14 17:47:53 +00:00
|
|
|
*
|
2010-05-03 17:51:01 +00:00
|
|
|
* Modified 2010 by Mellanox Technologies Ltd.
|
|
|
|
*
|
2008-03-14 17:47:53 +00:00
|
|
|
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
#ifndef __PACKET_INFINIBAND_H_
|
|
|
|
#define __PACKET_INFINIBAND_H_
|
|
|
|
|
2010-05-03 17:58:22 +00:00
|
|
|
#define MAD_DATA_SIZE 232 /* size of data field a MAD payload carries */
|
2010-11-17 02:57:22 +00:00
|
|
|
#define GID_SIZE 16 /* size of GID = 128bit (same as IPv6) */
|
2010-05-03 17:58:22 +00:00
|
|
|
|
2010-11-17 02:57:22 +00:00
|
|
|
/* infiniband-specific information for conversations */
|
|
|
|
typedef struct {
|
|
|
|
guint64 service_id; /* service id specified when the (RC) channel was set-up */
|
|
|
|
} conversation_infiniband_data;
|
2010-08-16 05:48:40 +00:00
|
|
|
|
2008-03-14 17:47:53 +00:00
|
|
|
#endif
|