aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2011-05-08 10:23:53 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2011-05-08 10:23:53 +0000
commit7d317e553b95cf302d3acf3a9966c92c92f44c80 (patch)
tree064056433d1b4da25ce28966c34f0e2a1668feb3 /epan/to_str.h
parent8428b08b1a11bfebd6a6039362eaa528727ac904 (diff)
Add FT_EUI64 Field Type
* Remove proto_tree_add_eui64 function from 802.15.4 Dissector * Replace print_eui64/print_eui64 by eui64_to_str/get_eui64_name * Update Documentation (README.dev) * Add new function in libwireshark.def * Support of encoding for tvb_eui64_to_str * Use FT_EUI64 for ICMPv6, CAPWAP, Zbee ... dissector svn path=/trunk/; revision=37015
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index 9467c4ee4d..fb1cad9982 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -36,6 +36,7 @@
#define MAX_IP6_STR_LEN 40
#define MAX_ADDR_STR_LEN 256
#define VINES_ADDR_LEN 6
+#define EUI64_STR_LEN 24
/*
* These are utility functions which convert various types to strings,
@@ -66,6 +67,8 @@ extern gchar* ipx_addr_to_str(const guint32, const guint8 *);
extern gchar* ipxnet_to_string(const guint8 *ad);
extern gchar* ipxnet_to_str_punct(const guint32 ad, const char punct);
extern gchar* tvb_vines_addr_to_str(tvbuff_t *tvb, const gint offset);
+extern gchar* eui64_to_str(const guint64 ad);
+extern gchar* tvb_eui64_to_str(tvbuff_t *tvb, const gint offset, const guint encoding);
extern gchar* time_secs_to_str(const gint32 time_val);
extern gchar* time_secs_to_str_unsigned(const guint32);
extern gchar* time_msecs_to_str(gint32 time_val);