summaryrefslogtreecommitdiff
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-17 00:51:21 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-17 00:51:21 +0000
commitd92a1cd8e1f58a1ec46793f9052aa893a279e523 (patch)
tree6c3672ed6745221c5a874b342129457a1135f49d /epan/packet.h
parentac5a603cb77582b38948307a505e480352b7b75d (diff)
downloadwireshark-d92a1cd8e1f58a1ec46793f9052aa893a279e523.tar.gz
With the tvbuffication of all dissectors, the "packet_info" structure no
longer contains length fields, so there's no need to pass a "packet_info *" argument to "set_actual_length()". svn path=/trunk/; revision=4748
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/epan/packet.h b/epan/packet.h
index 59f421df38..24e01afc0a 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.50 2002/02/06 22:19:04 guy Exp $
+ * $Id: packet.h,v 1.51 2002/02/17 00:51:21 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -205,13 +205,10 @@ extern void dissect_init(void);
extern void dissect_cleanup(void);
/*
- * Given a tvbuff, a packet_info *, and a length from a packet header,
- * adjust the length of the tvbuff, and the "len" and "captured_len"
- * members of the "packet_info" structure, to reflect the specified
- * length.
+ * Given a tvbuff, and a length from a packet header, adjust the length
+ * of the tvbuff to reflect the specified length.
*/
-extern void set_actual_length(tvbuff_t *tvb, packet_info *pinfo,
- guint specified_len);
+extern void set_actual_length(tvbuff_t *tvb, guint specified_len);
/* Allow protocols to register "init" routines, which are called before
we make a pass through a capture file and dissect all its packets