aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcp.h
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2008-09-30 12:24:27 +0000
committerSake Blok <sake@euronet.nl>2008-09-30 12:24:27 +0000
commita550fb9d78fd141019fdbede43134ed6951bd380 (patch)
tree284df4404ca7cef629c2a676a065cb8b18fb12cf /epan/dissectors/packet-tcp.h
parent8b1a8faf1b2d41301e3fa2e2a1c3f0eee953dd0a (diff)
Make the index from the conversation-struct available as field
"tcp.stream", this will make it possible to sort packets by tcp stream, filter tcp streams exactly, etc. It is also the preparation for a fix for bug 1447 svn path=/trunk/; revision=26305
Diffstat (limited to 'epan/dissectors/packet-tcp.h')
-rw-r--r--epan/dissectors/packet-tcp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h
index 8d43b6210e..a261fb0ec3 100644
--- a/epan/dissectors/packet-tcp.h
+++ b/epan/dissectors/packet-tcp.h
@@ -24,6 +24,10 @@
#ifndef __PACKET_TCP_H__
#define __PACKET_TCP_H__
+#ifndef __CONVERSATION_H__
+#include "epan/conversation.h"
+#endif
+
/* TCP flags */
#define TH_FIN 0x01
#define TH_SYN 0x02
@@ -228,7 +232,8 @@ extern void dissect_tcp_payload(tvbuff_t *tvb, packet_info *pinfo, int offset,
proto_tree *tcp_tree,
struct tcp_analysis *tcpd);
-extern struct tcp_analysis *get_tcp_conversation_data(packet_info *pinfo);
+extern struct tcp_analysis *get_tcp_conversation_data(conversation_t *conv,
+ packet_info *pinfo);
extern gboolean decode_tcp_ports(tvbuff_t *, int, packet_info *, proto_tree *, int, int, struct tcp_analysis *);