diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-11-29 05:16:15 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-11-29 05:16:15 +0000 |
commit | d673500082461b67f57914dca6176447f73f6c27 (patch) | |
tree | 5469fa22c76501813519d37f54fc09a373e07c8c /packet-fddi.h | |
parent | d6d2a9ccc99fadfb5a0fd6b1c9052bf6c2bcdb54 (diff) | |
download | wireshark-d673500082461b67f57914dca6176447f73f6c27.tar.gz wireshark-d673500082461b67f57914dca6176447f73f6c27.tar.bz2 wireshark-d673500082461b67f57914dca6176447f73f6c27.zip |
Wrap the dissect_fddi() call (with a 4th argument) with
dissect_fddi_not_bitswapped() and dissect_fddi_bitswapped(), both of which
use the standard 3-argument tvbuffified-dissector argument list.
Add a dissector table called "wtap_encap" which is used to call dissectors
from dissect_frame(). The switch() statement from this top-level dissector
is removed.
The link-layer dissectors register themselves with the "wtap_encap"
dissector table. The dissectors are now static where possible.
svn path=/trunk/; revision=2708
Diffstat (limited to 'packet-fddi.h')
-rw-r--r-- | packet-fddi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-fddi.h b/packet-fddi.h index 4f48f5c157..d66dda91d0 100644 --- a/packet-fddi.h +++ b/packet-fddi.h @@ -1,6 +1,6 @@ /* packet-fddi.h * - * $Id: packet-fddi.h,v 1.3 2000/08/11 13:34:13 deniel Exp $ + * $Id: packet-fddi.h,v 1.4 2000/11/29 05:16:15 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -26,6 +26,5 @@ #define __PACKET_FDDI_H__ void capture_fddi(const u_char *, packet_counts *); -void dissect_fddi(tvbuff_t*, packet_info*, proto_tree*, gboolean bitswapped); #endif |