diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-08-02 16:54:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-08-02 16:54:43 +0000 |
commit | 835111692f4a1313deb4d699a376e4496f8eabb2 (patch) | |
tree | 450e1533309ed244373923da34cafe84adca7b1c /epan/proto.h | |
parent | 89e6169fc56576893c9ffedc0541994b73521c0d (diff) |
From Richard Stearn: support for AX.25, including support for
LINKTYPE_AX25.
svn path=/trunk/; revision=44211
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h index 91e4d04f92..5412125279 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1039,6 +1039,18 @@ extern proto_item * proto_tree_add_ipv6_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const guint8* value_ptr, const char *format, ...) G_GNUC_PRINTF(7,8); +/** Add a FT_AX25 to a proto_tree. + @param tree the tree to append this item to + @param hfindex field index + @param tvb the tv buffer of the current data + @param start start of data in tvb + @param length length of data in tvb + @param value data to display + @return the newly created item */ +extern proto_item * +proto_tree_add_ax25(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, + gint length, const guint8* value); + /** Add a FT_ETHER to a proto_tree. @param tree the tree to append this item to @param hfindex field index |