filter_dlg.h \
find_dlg.h \
firewall_dlg.h \
filter_dlg.h \
find_dlg.h \
firewall_dlg.h \
font_utils.h \
goto_dlg.h \
graph_analysis.h \
font_utils.h \
goto_dlg.h \
graph_analysis.h \
sctp_stat.h \
service_response_time_table.h \
gui_stat_menu.h \
sctp_stat.h \
service_response_time_table.h \
gui_stat_menu.h \
stream_prefs.h \
summary_dlg.h \
supported_protos_dlg.h \
stream_prefs.h \
summary_dlg.h \
supported_protos_dlg.h \
filter_dlg.c \
find_dlg.c \
firewall_dlg.c \
filter_dlg.c \
find_dlg.c \
firewall_dlg.c \
font_utils.c \
goto_dlg.c \
graph_analysis.c \
font_utils.c \
goto_dlg.c \
graph_analysis.c \
sctp_error_dlg.c \
service_response_time_table.c \
simple_dialog.c \
sctp_error_dlg.c \
service_response_time_table.c \
simple_dialog.c \
stream_prefs.c \
summary_dlg.c \
supported_protos_dlg.c \
stream_prefs.c \
summary_dlg.c \
supported_protos_dlg.c \
+/* follow_ssl.c
+ * SSL specific routines for following traffic streams
#include <epan/dissectors/packet-ssl-utils.h>
#endif
#include <epan/dissectors/packet-ssl-utils.h>
#endif
#include "follow_stream.h"
#include "follow_stream.h"
a dissection routine on belongs (this might be the most recently
selected packet, or it might be the last packet in the file). */
void
a dissection routine on belongs (this might be the most recently
selected packet, or it might be the last packet in the file). */
void
-ssl_stream_cb(GtkWidget * w, gpointer data _U_)
+follow_ssl_stream_cb(GtkWidget * w, gpointer data _U_)
{
GtkWidget *filter_te;
gchar *follow_filter;
{
GtkWidget *filter_te;
gchar *follow_filter;
-/* ssl-dlg.h
- * Decode ssl-enrypted conversations, given a keyfile.
+/* follow_ssl.h
+ * SSL specific routines for following traffic streams
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#ifndef SSL_DLG_H_INCLUDED
-#define SSL_DLG_H_INCLUDED
+#ifndef __FOLLOW_SSL_H__
+#define __FOLLOW_SSL_H__
-/* Follow the TCP stream, if any, to which the last packet that we called
+/* Follow the SSL stream, if any, to which the last packet that we called
a dissection routine on belongs (this might be the most recently
selected packet, or it might be the last packet in the file). */
a dissection routine on belongs (this might be the most recently
selected packet, or it might be the last packet in the file). */
-void ssl_stream_cb(GtkWidget * w, gpointer data _U_);
+void follow_ssl_stream_cb(GtkWidget * w, gpointer data _U_);
+
+#endif /* __FOLLOW_SSL_H__ */
-#endif /* SSL_DLG_H_INCLUDED */
+/* follow_tcp.c
+ * TCP specific routines for following traffic streams
#include "color.h"
#include "colors.h"
#include "file.h"
#include "color.h"
#include "colors.h"
#include "file.h"
#include <epan/follow.h>
#include "dlg_utils.h"
#include "file_dlg.h"
#include <epan/follow.h>
#include "dlg_utils.h"
#include "file_dlg.h"
/* Redraw the text in all "Follow TCP Stream" windows. */
void
/* Redraw the text in all "Follow TCP Stream" windows. */
void
+follow_tcp_redraw_all(void)
{
g_list_foreach(follow_infos, follow_redraw, NULL);
}
{
g_list_foreach(follow_infos, follow_redraw, NULL);
}
a dissection routine on belongs (this might be the most recently
selected packet, or it might be the last packet in the file). */
void
a dissection routine on belongs (this might be the most recently
selected packet, or it might be the last packet in the file). */
void
-follow_stream_cb(GtkWidget * w, gpointer data _U_)
+follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
{
GtkWidget *filter_te;
int tmp_fd;
{
GtkWidget *filter_te;
int tmp_fd;
+/* follow_tcp.h
+ * TCP specific routines for following traffic streams
-#ifndef __FOLLOW_DLG_H__
-#define __FOLLOW_DLG_H__
+#ifndef __FOLLOW_TCP_H__
+#define __FOLLOW_TCP_H__
/** @file
* "Follow TCP Stream" dialog box.
/** @file
* "Follow TCP Stream" dialog box.
* @param widget parent widget (unused)
* @param data unused
*/
* @param widget parent widget (unused)
* @param data unused
*/
-extern void follow_stream_cb( GtkWidget *widget, gpointer data);
+extern void follow_tcp_stream_cb( GtkWidget *widget, gpointer data);
/** Redraw the text in all "Follow TCP Stream" windows. */
/** Redraw the text in all "Follow TCP Stream" windows. */
-extern void follow_redraw_all(void);
+extern void follow_tcp_redraw_all(void);
+#endif /* __FOLLOW_TCP_H__ */
#include "packet_list.h"
#include "proto_draw.h"
#include "packet_list.h"
#include "proto_draw.h"
redraw_hex_dump_all();
/* Redraw the "Follow TCP Stream" windows. */
redraw_hex_dump_all();
/* Redraw the "Follow TCP Stream" windows. */
+ follow_tcp_redraw_all();
/* We're no longer using the old fonts; unreference them. */
#if GTK_MAJOR_VERSION < 2
/* We're no longer using the old fonts; unreference them. */
#if GTK_MAJOR_VERSION < 2
#include "find_dlg.h"
#include "packet_list.h"
#include "recent.h"
#include "find_dlg.h"
#include "packet_list.h"
#include "recent.h"
#include "font_utils.h"
#include "about_dlg.h"
#include "help_dlg.h"
#include "font_utils.h"
#include "about_dlg.h"
#include "help_dlg.h"
#include "prefs_dlg.h"
#include "packet_win.h"
#include "print.h"
#include "prefs_dlg.h"
#include "packet_win.h"
#include "print.h"
#include "decode_as_dlg.h"
#include "help_dlg.h"
#include "supported_protos_dlg.h"
#include "decode_as_dlg.h"
#include "help_dlg.h"
#include "supported_protos_dlg.h"
#include "simple_dialog.h"
#include "packet_history.h"
#include "color_filters.h"
#include "simple_dialog.h"
#include "packet_history.h"
#include "color_filters.h"
#include "sctp_stat.h"
#include "firewall_dlg.h"
#include "u3.h"
#include "sctp_stat.h"
#include "firewall_dlg.h"
#include "u3.h"
decode_show_cb, 0, WIRESHARK_STOCK_DECODE_AS),
ITEM_FACTORY_ENTRY("/Analyze/<separator>", NULL, NULL, 0, "<Separator>", NULL),
ITEM_FACTORY_ENTRY("/Analyze/_Follow TCP Stream", NULL,
decode_show_cb, 0, WIRESHARK_STOCK_DECODE_AS),
ITEM_FACTORY_ENTRY("/Analyze/<separator>", NULL, NULL, 0, "<Separator>", NULL),
ITEM_FACTORY_ENTRY("/Analyze/_Follow TCP Stream", NULL,
- follow_stream_cb, 0, NULL, NULL),
+ follow_tcp_stream_cb, 0, NULL, NULL),
ITEM_FACTORY_ENTRY("/Analyze/_Follow SSL Stream", NULL,
ITEM_FACTORY_ENTRY("/Analyze/_Follow SSL Stream", NULL,
- ssl_stream_cb, 0, NULL, NULL),
+ follow_ssl_stream_cb, 0, NULL, NULL),
ITEM_FACTORY_ENTRY("/_Statistics", NULL, NULL, 0, "<Branch>", NULL),
ITEM_FACTORY_STOCK_ENTRY("/Statistics/_Summary", NULL, summary_open_cb, 0, GTK_STOCK_PROPERTIES),
ITEM_FACTORY_ENTRY("/Statistics/_Protocol Hierarchy", NULL,
ITEM_FACTORY_ENTRY("/_Statistics", NULL, NULL, 0, "<Branch>", NULL),
ITEM_FACTORY_STOCK_ENTRY("/Statistics/_Summary", NULL, summary_open_cb, 0, GTK_STOCK_PROPERTIES),
ITEM_FACTORY_ENTRY("/Statistics/_Protocol Hierarchy", NULL,
ITEM_FACTORY_ENTRY("/SCTP/Prepare Filter for this Association", NULL, sctp_set_assoc_filter,
0, NULL,NULL),
ITEM_FACTORY_ENTRY("/SCTP/Prepare Filter for this Association", NULL, sctp_set_assoc_filter,
0, NULL,NULL),
- ITEM_FACTORY_ENTRY("/Follow TCP Stream", NULL, follow_stream_cb,
+ ITEM_FACTORY_ENTRY("/Follow TCP Stream", NULL, follow_tcp_stream_cb,
- ITEM_FACTORY_ENTRY("/Follow SSL Stream", NULL, ssl_stream_cb,
+ ITEM_FACTORY_ENTRY("/Follow SSL Stream", NULL, follow_ssl_stream_cb,
0, NULL, NULL),
ITEM_FACTORY_ENTRY("/<separator>", NULL, NULL, 0, "<Separator>", NULL),
0, NULL, NULL),
ITEM_FACTORY_ENTRY("/<separator>", NULL, NULL, 0, "<Separator>", NULL),
ITEM_FACTORY_ENTRY("/Prepare a Filter/... o_r not Selected", NULL, match_selected_ptree_cb,
MATCH_SELECTED_OR_NOT, NULL, NULL),
ITEM_FACTORY_ENTRY("/Prepare a Filter/... o_r not Selected", NULL, match_selected_ptree_cb,
MATCH_SELECTED_OR_NOT, NULL, NULL),
- ITEM_FACTORY_ENTRY("/Follow TCP Stream", NULL, follow_stream_cb,
+ ITEM_FACTORY_ENTRY("/Follow TCP Stream", NULL, follow_tcp_stream_cb,
- ITEM_FACTORY_ENTRY("/Follow SSL Stream", NULL, ssl_stream_cb,
+ ITEM_FACTORY_ENTRY("/Follow SSL Stream", NULL, follow_ssl_stream_cb,
0, NULL, NULL),
ITEM_FACTORY_ENTRY("/<separator>", NULL, NULL, 0, "<Separator>", NULL),
0, NULL, NULL),
ITEM_FACTORY_ENTRY("/<separator>", NULL, NULL, 0, "<Separator>", NULL),
#include "print.h"
#include <epan/prefs.h>
#include "compat_macros.h"
#include "print.h"
#include <epan/prefs.h>
#include "compat_macros.h"
#include "packet_list.h"
#define SAMPLE_MARKED_TEXT "Sample marked packet text\n"
#include "packet_list.h"
#define SAMPLE_MARKED_TEXT "Sample marked packet text\n"
void
stream_prefs_apply(GtkWidget *w _U_)
{
void
stream_prefs_apply(GtkWidget *w _U_)
{
+ follow_tcp_redraw_all();
packet_list_update_marked_frames();
}
packet_list_update_marked_frames();
}