diff options
author | Gerald Combs <gerald@wireshark.org> | 1998-09-27 22:12:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1998-09-27 22:12:47 +0000 |
commit | 2e7e493198543e3fdb4b404763b02a2ad22d180e (patch) | |
tree | 01aa8a843d84f24a66f7bd9af00e105efe1ffcdc /follow.c | |
parent | 385699d4310480e19aecf08dcff23e792667747a (diff) | |
download | wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.tar.gz wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.tar.bz2 wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.zip |
Merged in a _huge_ patch from Guy Harris. It adds a time stap column,
generalizes the column printing code, adds a "frame" tree item to
the tree view, and fixes a bunch of miscellaneous coding bugs.
svn path=/trunk/; revision=31
Diffstat (limited to 'follow.c')
-rw-r--r-- | follow.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* follow.c * - * $Id: follow.c,v 1.1 1998/09/17 03:12:26 gerald Exp $ + * $Id: follow.c,v 1.2 1998/09/27 22:12:25 gerald Exp $ * * Copyright 1998 Mike Hall <mlh@io.com> * @@ -29,6 +29,7 @@ #include <string.h> #include <unistd.h> +#include "ethereal.h" #include "packet.h" #include "follow.h" @@ -62,7 +63,7 @@ static u_long seq[2]; static u_long src[2] = { 0, 0 }; void -reassemble_tcp( u_long sequence, u_long length, char* data, int synflag, u_long srcx ) { +reassemble_tcp( u_long sequence, u_long length, const char* data, int synflag, u_long srcx ) { int src_index, j, first = 0; u_long newseq; tcp_frag *tmp_frag; @@ -191,7 +192,7 @@ reset_tcp_reassembly() { } void -write_packet_data( u_char* data, int length ) { +write_packet_data( const u_char* data, int length ) { fwrite( data, 1, length, data_out_file ); } |