aboutsummaryrefslogtreecommitdiffstats
path: root/packet-isis-clv.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-06-19 08:33:50 +0000
committerGuy Harris <guy@alum.mit.edu>2000-06-19 08:33:50 +0000
commit1cca166630e9885cf3fcce3b49e467a782245814 (patch)
tree23ca178d800579c582a5f7e201496f6913affdbe /packet-isis-clv.h
parent02fd86777e687b4a4ae95ecfe8500ab0397df1d3 (diff)
Make the "isis_hello.source_id" an FT_BYTES field rather than an
FT_ETHER field; the ISIS spec doesn't say it's necessarily a 6-byte Ethernet address (and, if it's FT_BYTES, you can test it in a filter much the same way you test an Ethernet address). Make "isis_hello.lan_id" an FT_BYTES field rather than an FT_STRING field - it's an array of bytes, not a character string. Don't require that "system ID" fields be 6 octets; use the size value from the ISIS PDU header. (This means that PDUs containing "system ID" fields can't be described as C structures; dissect them by stepping the offset instead.) svn path=/trunk/; revision=2080
Diffstat (limited to 'packet-isis-clv.h')
-rw-r--r--packet-isis-clv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-isis-clv.h b/packet-isis-clv.h
index a604364f2f..44873af48e 100644
--- a/packet-isis-clv.h
+++ b/packet-isis-clv.h
@@ -1,7 +1,7 @@
/* packet-isis-clv.h
* Declares for common clv decoding functions.
*
- * $Id: packet-isis-clv.h,v 1.1 1999/12/15 04:34:17 guy Exp $
+ * $Id: packet-isis-clv.h,v 1.2 2000/06/19 08:33:48 guy Exp $
* Stuart Stanley <stuarts@mxmail.net>
*
* Ethereal - Network traffic analyzer
@@ -36,7 +36,7 @@ typedef struct {
char *tree_text; /* text for fold out */
gint *tree_id; /* id for add_item */
void (*dissect)(const u_char *pd, int offset, guint length,
- frame_data *fd, proto_tree *tree );
+ int id_length, frame_data *fd, proto_tree *tree );
} isis_clv_handle_t;
/*
@@ -44,8 +44,8 @@ typedef struct {
* are only valid from with isis decodes.
*/
extern void isis_dissect_clvs(const isis_clv_handle_t *opts, int len,
- const u_char *pd, int offset, frame_data *fd, proto_tree *tree,
- int unknown_ett_handle );
+ int id_length, const u_char *pd, int offset, frame_data *fd,
+ proto_tree *tree, int unknown_ett_handle );
extern void isis_dissect_area_address_clv(const u_char *pd, int offset,
guint length, frame_data *fd, proto_tree *tree );
extern void isis_dissect_metric(proto_tree *tree, int offset, guint8 value,