aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'packet-tcp.h')
-rw-r--r--packet-tcp.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/packet-tcp.h b/packet-tcp.h
index 6cdba3dfe8..552a575a95 100644
--- a/packet-tcp.h
+++ b/packet-tcp.h
@@ -1,11 +1,10 @@
/* packet-tcp.h
*
- * $Id: packet-tcp.h,v 1.6 2000/11/18 10:38:25 guy Exp $
+ * $Id: packet-tcp.h,v 1.7 2001/09/30 23:14:43 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
- *
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -25,8 +24,14 @@
#ifndef __PACKET_TCP_H__
#define __PACKET_TCP_H__
-/* Urgent pointer value for the current packet. */
-extern guint16 tcp_urgent_pointer;
+/*
+ * Private data passed from the TCP dissector to subdissectors.
+ */
+struct tcpinfo {
+ gboolean is_reassembled; /* This is reassembled data. */
+ guint16 urgent_pointer; /* Urgent pointer value for the current packet. */
+};
+
extern void decode_tcp_ports(tvbuff_t *, int, packet_info *,
proto_tree *, int, int);