aboutsummaryrefslogtreecommitdiffstats
path: root/follow.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-01-23 01:42:45 +0000
committerJörg Mayer <jmayer@loplof.de>2004-01-23 01:42:45 +0000
commitfa9608388fcf1ae5d95d8d157d2fc29f11e30bf0 (patch)
tree55a8a5454be472d0fbeef3bd85cb724eaaeaa2e6 /follow.c
parent70e45ae8067df60b4b3a8bcfb344df0e578b64fc (diff)
Move struct tcp_frag from follow.h to follow.c as it wasn't used anywere
else. Fix a trivial signed/unsigned warning in follow.c by changing tcp_frag.data from guchar* to gchar* svn path=/trunk/; revision=9796
Diffstat (limited to 'follow.c')
-rw-r--r--follow.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/follow.c b/follow.c
index 84e961287a..10dd121e60 100644
--- a/follow.c
+++ b/follow.c
@@ -1,6 +1,6 @@
/* follow.c
*
- * $Id: follow.c,v 1.33 2003/07/06 00:30:40 guy Exp $
+ * $Id: follow.c,v 1.34 2004/01/23 01:42:45 jmayer Exp $
*
* Copyright 1998 Mike Hall <mlh@io.com>
*
@@ -39,6 +39,16 @@
#include <epan/packet.h>
#include "follow.h"
+#define MAX_IPADDR_LEN 16
+
+typedef struct _tcp_frag {
+ gulong seq;
+ gulong len;
+ gulong data_len;
+ gchar *data;
+ struct _tcp_frag *next;
+} tcp_frag;
+
FILE* data_out_file = NULL;
gboolean incomplete_tcp_stream = FALSE;