aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/packet.h b/epan/packet.h
index b3b02cb4d6..31e0dd0eb5 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.34 2001/06/02 08:23:10 guy Exp $
+ * $Id: packet.h,v 1.35 2001/06/29 09:46:54 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -206,6 +206,14 @@ void dissect_init(void);
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.
+ */
+void set_actual_length(tvbuff_t *tvb, packet_info *pinfo, 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
(e.g., when we read in a new capture file, or run a "filter packets"