diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-06-19 08:33:50 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-06-19 08:33:50 +0000 |
commit | 9c1e894d57f3b46a9018efdc722f46c5ac4222a6 (patch) | |
tree | 23ca178d800579c582a5f7e201496f6913affdbe /packet-isis-clv.h | |
parent | d4594920345b810c81390821ba8454f8a60e3016 (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.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2080 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-isis-clv.h')
-rw-r--r-- | packet-isis-clv.h | 8 |
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, |