aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-13 22:34:10 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-13 22:34:10 +0000
commit4dd10c66875f42caa8fafa6b276e29f645bba832 (patch)
tree5fb9c6f76df0e0b83294e1b120d21808cad4d886 /file.h
parent6c01a97497e2ce65b4783661d8466a86832a8cdb (diff)
Add a routine "retap_packet()" that runs through all packets, dissecting
them and running all taps on them, but not reconstructing the packet list. Use that in the IO-stat tap rather than "redissect_packet()"; the latter does more work and redraws the display, neither of which are necessary. Call the filter callback when the Calc field is changed, to redraw the graphs; that change also fixes things so that it's called when the Filter field is changed. Rename the "filter_button" member of an io_stat_graph_t to "filter_field", as it's not the "Filter:" button, it's the text field containing the filter expression. svn path=/trunk/; revision=9659
Diffstat (limited to 'file.h')
-rw-r--r--file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.h b/file.h
index 0342446b00..c8b26aba9a 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.109 2003/12/29 20:03:38 ulfl Exp $
+ * $Id: file.h,v 1.110 2004/01/13 22:33:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -56,6 +56,7 @@ int filter_packets(capture_file *cf, gchar *dfilter);
void reftime_packets(capture_file *);
void colorize_packets(capture_file *);
void redissect_packets(capture_file *cf);
+int retap_packets(capture_file *cf);
int print_packets(capture_file *cf, print_args_t *print_args);
void change_time_formats(capture_file *);