path: root/print.h
diff options
authorGuy Harris <guy@alum.mit.edu>1999-09-12 06:11:51 +0000
committerGuy Harris <guy@alum.mit.edu>1999-09-12 06:11:51 +0000
commit55dff94484c61dce121553db3e0b0a709b7fa89b (patch)
tree54d4019a09a818e5bb4040336fd2a36bd0e9a2f3 /print.h
parent0041a76bfcd5098595c7991001b09665a36943cd (diff)
Add summary-vs-detail radio buttons to the print dialog box; detail
prints the protocol tree, and summary prints the fields in the summary clist, with a header line at the beginning of the printout. Print only packets selected by the current packet filter. Just have "ARP" and "RARP" in the "Protocol" field for ARP packets; whether it's a request or a reply can be seen in the "Info" field. Add to the "Frame" section of the protocol tree the time between the current packet and the previous displayed packet, and the packet number. Have FT_RELATIVE_TIME fields be a "struct timeval", and display them as seconds and fractional seconds (we didn't have any fields of that type, and that type of time fits the delta time above). Add an FT_DOUBLE field type (although we don't yet have anything using it). svn path=/trunk/; revision=666
Diffstat (limited to 'print.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/print.h b/print.h
index e5f302d257..70d019371b 100644
--- a/print.h
+++ b/print.h
@@ -1,7 +1,7 @@
/* print.h
* Definitions for printing packet analysis trees.
- * $Id: print.h,v 1.10 1999/09/01 03:04:12 gram Exp $
+ * $Id: print.h,v 1.11 1999/09/12 06:11:37 guy Exp $
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
@@ -34,7 +34,7 @@ FILE *open_print_dest(int to_file, const char *dest);
void close_print_dest(int to_file, FILE *fh);
void print_preamble(FILE *fh);
void print_finale(FILE *fh);
-void proto_tree_print(int frame_num, GNode *protocol_tree,
+void proto_tree_print(gboolean print_one, GNode *protocol_tree,
const u_char *pd, frame_data *fd, FILE *fh);
#endif /* print.h */