aboutsummaryrefslogtreecommitdiffstats
path: root/epan/address.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-11-17 02:57:22 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-11-17 02:57:22 +0000
commit37d4ccff56398d5bfbf9418887baf3271b9fd5df (patch)
tree0094725ccf69105e588019c1c56baf5a035902b1 /epan/address.h
parent3595bb02933691d19b163548c5cd0e246d67df70 (diff)
From Slava via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5335 :
This patch adds to Wireshark the ability to dissect Infiniband SDP (Socket Direct Protocol) and CM MADs traffic. It also contains various other bug-fixes and enhancements. SDP traffic can be identified automatically (analyzing SDP CM MADs) or manually. SDP, or Sockets Direct Protocol, is a protocol developed by the Infiniband Trade Association which enables existing socket-based applications to transparently utilize the Infiniband capabilities. This patch is submitted on behalf of Mellanox Technologies Ltd. svn path=/trunk/; revision=34918
Diffstat (limited to 'epan/address.h')
-rw-r--r--epan/address.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/epan/address.h b/epan/address.h
index 06cf42354d..e89bbe0681 100644
--- a/epan/address.h
+++ b/epan/address.h
@@ -7,17 +7,17 @@
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -26,6 +26,7 @@
#ifndef __ADDRESS_H__
#define __ADDRESS_H__
+#include <string.h> /* for memcmp */
#include "emem.h"
#ifdef __cplusplus
@@ -53,7 +54,8 @@ typedef enum {
AT_EUI64, /* IEEE EUI-64 */
AT_URI, /* URI/URL/URN */
AT_TIPC, /* TIPC Address Zone,Subnetwork,Processor */
- AT_USB /* USB Device address
+ AT_IB, /* Infiniband GID/LID */
+ AT_USB /* USB Device address
* (0xffffffff represents the host) */
} address_type;
@@ -150,7 +152,8 @@ typedef enum {
PT_IDP, /* XNS IDP sockets */
PT_TIPC, /* TIPC PORT */
PT_USB, /* USB endpoint 0xffff means the host */
- PT_I2C
+ PT_I2C,
+ PT_IBQP /* Infiniband QP number */
} port_type;
/* Types of circuit IDs Wireshark knows about. */