diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-11 22:04:18 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-11 22:04:18 +0000 |
commit | 0c39c03bf544a6968d896818561fd591fdc659e7 (patch) | |
tree | 853ffae2bc0ebc521cbbb8167d96ef24911aea71 /packet.h | |
parent | a74c39f9b1656fc7781e7b7e98f8604ec3e36524 (diff) | |
download | wireshark-0c39c03bf544a6968d896818561fd591fdc659e7.tar.gz wireshark-0c39c03bf544a6968d896818561fd591fdc659e7.tar.bz2 wireshark-0c39c03bf544a6968d896818561fd591fdc659e7.zip |
Convert LLC dissector to use tvbuffs.
Non-tvbuff dissectors create a tvbuff when calling dissect_llc()
Changed name of current_proto to match string in COL_PROTO ("FDDI" instead of "fddi")
Changed short text to be: [Short Frame: %s] where %s is current_proto.
svn path=/trunk/; revision=1943
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* packet.h * Definitions for packet disassembly structures and routines * - * $Id: packet.h,v 1.184 2000/05/11 08:15:59 gram Exp $ + * $Id: packet.h,v 1.185 2000/05/11 22:04:18 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -347,6 +347,7 @@ void init_dissect_rpc(void); */ void dissect_packet(const u_char *, frame_data *, proto_tree *); void dissect_data(const u_char *, int, frame_data *, proto_tree *); +void dissect_data_tvb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); /* These functions are in ethertype.c */ |