summaryrefslogtreecommitdiff
path: root/gtk/conversations_tcpip.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-07-20 20:56:53 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-07-20 20:56:53 +0000
commite083ac3514cc04c93f229c221e11d55c647eeb4a (patch)
tree9d615e4f562d9d194e93e6633687d3be92aba5a4 /gtk/conversations_tcpip.c
parent9127c0350c190a077bec09dc79b93d1097c69190 (diff)
downloadwireshark-e083ac3514cc04c93f229c221e11d55c647eeb4a.tar.gz
some more renaming of the conversation tables things
svn path=/trunk/; revision=11448
Diffstat (limited to 'gtk/conversations_tcpip.c')
-rw-r--r--gtk/conversations_tcpip.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/conversations_tcpip.c b/gtk/conversations_tcpip.c
index 603e266b41..c8a37f7c28 100644
--- a/gtk/conversations_tcpip.c
+++ b/gtk/conversations_tcpip.c
@@ -41,11 +41,11 @@
static int
-tcpip_talkers_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, void *vip)
+tcpip_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, void *vip)
{
struct tcpheader *tcphdr=vip;
- add_ett_table_data((conversations_table *)pct, &tcphdr->ip_src, &tcphdr->ip_dst, tcphdr->th_sport, tcphdr->th_dport, 1, pinfo->fd->pkt_len, SAT_NONE, PT_TCP);
+ add_conversation_table_data((conversations_table *)pct, &tcphdr->ip_src, &tcphdr->ip_dst, tcphdr->th_sport, tcphdr->th_dport, 1, pinfo->fd->pkt_len, SAT_NONE, PT_TCP);
return 1;
}
@@ -53,7 +53,7 @@ tcpip_talkers_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, voi
static void
-gtk_tcpip_talkers_init(char *optarg)
+tcpip_conversation_init(char *optarg)
{
char *filter=NULL;
@@ -63,26 +63,26 @@ gtk_tcpip_talkers_init(char *optarg)
filter=NULL;
}
- init_ett_table(FALSE, "TCP", "tcp", filter, (void *)tcpip_talkers_packet);
+ init_conversation_table(FALSE, "TCP", "tcp", filter, (void *)tcpip_conversation_packet);
}
static void
-gtk_tcpip_endpoints_cb(GtkWidget *w _U_, gpointer d _U_)
+tcpip_conversation_cb(GtkWidget *w _U_, gpointer d _U_)
{
- gtk_tcpip_talkers_init("conv,tcp");
+ tcpip_conversation_init("conv,tcp");
}
void
-register_tap_listener_tcpip_talkers(void)
+register_tap_listener_tcpip_conversation(void)
{
- register_ethereal_tap("conv,tcp", gtk_tcpip_talkers_init);
+ register_ethereal_tap("conv,tcp", tcpip_conversation_init);
register_tap_menu_item("TCP (IPv4 & IPv6)", REGISTER_TAP_GROUP_CONVERSATION_LIST,
- gtk_tcpip_endpoints_cb, NULL, NULL, NULL);
+ tcpip_conversation_cb, NULL, NULL, NULL);
- register_ett_table(FALSE, "TCP", "tcp", NULL /*filter*/, (void *)tcpip_talkers_packet);
+ register_conversation_table(FALSE, "TCP", "tcp", NULL /*filter*/, (void *)tcpip_conversation_packet);
}