Note that wiring the current longest string in a column into
[obnox/wireshark/wip.git] / follow.h
1 /* follow.h
2  *
3  * $Id: follow.h,v 1.2 1998/09/27 22:12:26 gerald Exp $
4  *
5  * Copyright 1998 Mike Hall <mlh@io.com>
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@zing.org>
9  * Copyright 1998 Gerald Combs
10  *
11  * 
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.
16  * 
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.
21  * 
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.
25  *
26  */
27
28 #ifndef __FOLLOW_H__
29 #define __FOLLOW_H__
30
31 #include "packet.h"
32
33 typedef struct _tcp_frag {
34   u_long              seq;
35   u_long              len;
36   u_char             *data;
37   struct _tcp_frag   *next;
38 } tcp_frag;
39
40 char* build_follow_filter( packet_info * );
41 void reassemble_tcp( u_long, u_long, const char*, int, u_long );
42 int check_fragments( int );
43 void  reset_tcp_reassembly( void );
44 void write_packet_data( const u_char *, int );
45
46 #endif