aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-02-18 23:51:55 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-02-18 23:51:55 +0000
commitce0b5eadeb7b9d3d76953797a6c5f9557c9005fa (patch)
tree7b55a5cf8df1e890f729f2bf2a75756883f1c6a9 /packet-tcp.h
parent3c503f134c838f8a37bc297d98811a51e638871e (diff)
Add support for reassembling RPC-over-TCP fragments, and do that in both
RPC and NDMP. Show the RPC-over-TCP fragment header as a tree with bitfields below it. Add a routine to show a reported bounds error as an "Unreassembled Packet" or a "Malformed Packet" depending on whether "pinfo->fragmented" is set, and have NBNS and RPC use that. Add "ett_ndmp_file_stats" to the list of ett_ values to be initialized (it wasn't in that list, and wasn't getting initialized). When freeing up various hash tables and memory chunks in the RPC dissector, zero out the pointers to them, just to make sure we don't try to free them again. Always destroy the TCP segment key and address memory chunks in "tcp_desegment_init()", regardless of whether TCP desegmentation is enabled - we don't *allocate* them if TCP desegmentation isn't enabled, but we should free them even if it's not enabled. Also, when we free them, set the pointers to them to null, so we don't double-free them. Supply to subdissectors called from the TCP dissector the sequence number of the first byte handed to the sub dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4753 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tcp.h')
-rw-r--r--packet-tcp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-tcp.h b/packet-tcp.h
index e8ae0f8f72..5e4c34184b 100644
--- a/packet-tcp.h
+++ b/packet-tcp.h
@@ -1,6 +1,6 @@
/* packet-tcp.h
*
- * $Id: packet-tcp.h,v 1.8 2001/10/01 08:29:35 guy Exp $
+ * $Id: packet-tcp.h,v 1.9 2002/02/18 23:51:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -28,8 +28,9 @@
* Private data passed from the TCP dissector to subdissectors.
*/
struct tcpinfo {
+ guint32 seq; /* Sequence number of first byte in the data */
gboolean is_reassembled; /* This is reassembled data. */
- gboolean urgent; /* TRUE if "urgent_pointer is valid */
+ gboolean urgent; /* TRUE if "urgent_pointer" is valid */
guint16 urgent_pointer; /* Urgent pointer value for the current packet. */
};