3 * $Id: follow.h,v 1.10 2000/08/11 22:18:13 deniel Exp $
5 * Copyright 1998 Mike Hall <mlh@io.com>
7 * Ethereal - Network traffic analyzer
8 * By Gerald Combs <gerald@zing.org>
9 * Copyright 1998 Gerald Combs
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
33 #define MAX_IPADDR_LEN 16
35 extern gboolean incomplete_tcp_stream;
37 typedef struct _tcp_frag {
42 struct _tcp_frag *next;
45 typedef struct _tcp_stream_chunk {
46 guint8 src_addr[MAX_IPADDR_LEN];
51 char* build_follow_filter( packet_info * );
52 void reassemble_tcp( u_long, u_long, const char*, u_long, int,
53 address *, address *, u_int, u_int );
54 void reset_tcp_reassembly( void );
57 guint8 ip_address[2][MAX_IPADDR_LEN];
59 unsigned int bytes_written[2];
63 void follow_tcp_stats(follow_tcp_stats_t* stats);