aboutsummaryrefslogtreecommitdiffstats
path: root/epan/address.h
diff options
context:
space:
mode:
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. */