aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-12-24 00:06:35 -0500
committerMichael Mann <mmann78@netscape.net>2014-12-28 20:05:29 +0000
commit71c02b20eb798569393da09fc6557c314244e3e8 (patch)
tree8b5108b3b9892fedf2ee345be60a1657f270fa34 /epan/to_str.h
parent8965e90a25a79eaa5569e9de6589f7fc5b3ccb3c (diff)
Create FT_FCWWN field type.
Also, convert the "string" hf_ entries that used tvb_fcwwn_to_str as a string to use proto_tree_add_item with FT_FCWWN type. Change-Id: I4ca77870499fd8239584a70874998b5d194a7167 Reviewed-on: https://code.wireshark.org/review/6036 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index fa43290e0f..0f1ab5b559 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -31,13 +31,14 @@
#include "ws_symbol_export.h"
#include "wmem/wmem.h"
-#define GUID_STR_LEN 37
-#define MAX_IP_STR_LEN 16
-#define MAX_IP6_STR_LEN 40
+#define GUID_STR_LEN 37
+#define MAX_IP_STR_LEN 16
+#define MAX_IP6_STR_LEN 40
#define MAX_ADDR_STR_LEN 256
-#define VINES_ADDR_LEN 6
-#define EUI64_STR_LEN 24
-#define AX25_ADDR_LEN 7
+#define VINES_ADDR_LEN 6
+#define EUI64_STR_LEN 24
+#define AX25_ADDR_LEN 7
+#define FCWWN_ADDR_LEN 8
#ifdef __cplusplus
extern "C" {
@@ -56,7 +57,6 @@ WS_DLL_PUBLIC void address_to_str_buf(const address *addr, gchar *buf, int b
WS_DLL_PUBLIC const gchar* tvb_ether_to_str(tvbuff_t *tvb, const gint offset);
WS_DLL_PUBLIC const gchar* tvb_ip_to_str(tvbuff_t *tvb, const gint offset);
void ip_to_str_buf(const guint8 *ad, gchar *buf, const int buf_len);
-extern gchar* fcwwn_to_str (const guint8 *);
WS_DLL_PUBLIC const gchar* tvb_fc_to_str(tvbuff_t *tvb, const gint offset);
WS_DLL_PUBLIC gchar* tvb_fcwwn_to_str (tvbuff_t *tvb, const gint offset);