summaryrefslogtreecommitdiff
path: root/ui/tap-tcp-stream.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-09-12 21:37:47 +0000
committerGerald Combs <gerald@wireshark.org>2013-09-12 21:37:47 +0000
commit07c3d057b8a2a1184734e2f516a0576441c171f2 (patch)
treef9e38bfae949887a662ade2692300d4fc8b0e33f /ui/tap-tcp-stream.h
parent467f128306df3ff058c702b39f3941026f61813f (diff)
downloadwireshark-07c3d057b8a2a1184734e2f516a0576441c171f2.tar.gz
Add previous/next stream navigation to the TCP stream graph dialog.
Add get_tcp_stream_count() to the TCP dissector and modify graph_segment_list_get() to allow matching based solely on a stream. Use text instead of icons for the mouse click behavior buttons. Remove their PNG resources since we aren't using them any more. Fix setting the cursor in the graph widget. svn path=/trunk/; revision=51989
Diffstat (limited to 'ui/tap-tcp-stream.h')
-rw-r--r--ui/tap-tcp-stream.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/ui/tap-tcp-stream.h b/ui/tap-tcp-stream.h
index 1aba3c842d..cbbd4fe245 100644
--- a/ui/tap-tcp-stream.h
+++ b/ui/tap-tcp-stream.h
@@ -77,7 +77,18 @@ struct tcp_graph {
struct segment *segments;
};
-void graph_segment_list_get(capture_file *, struct tcp_graph *, gboolean stream_known );
+/** Fill in the segment list for a TCP graph
+ *
+ * @param cf Capture file to scan
+ * @param tg TCP graph. A valid stream must be set. If either the source or
+ * destination address types are AT_NONE the address and port
+ * information will be filled in using the first packet in the
+ * specified stream.
+ * @param stream_known If FALSE, session information will be filled in using
+ * the currently selected packet. If FALSE, session information will
+ * be matched against tg.
+ */
+void graph_segment_list_get(capture_file *cf, struct tcp_graph *tg, gboolean stream_known );
void graph_segment_list_free(struct tcp_graph * );
/* for compare_headers() */