diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-02-07 08:56:39 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-02-07 08:56:39 +0000 |
commit | c765d211e9ea563224ac30474b666e68d43651bb (patch) | |
tree | 16c697b8f45b04f87c1c27584192fd76ff7a748c /gtk | |
parent | bc04baef424c0dd1cb25ae1a6d17d1bae1f629c8 (diff) | |
download | wireshark-c765d211e9ea563224ac30474b666e68d43651bb.tar.gz wireshark-c765d211e9ea563224ac30474b666e68d43651bb.tar.bz2 wireshark-c765d211e9ea563224ac30474b666e68d43651bb.zip |
From Alejandro Vaquero :
Find attached a patch for "Voip analysis" to get the LRQ/LCF/LRJ messages included in the H323 calls for Gatekeeper to Gatekeeper configurations
svn path=/trunk/; revision=13336
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/voip_calls.h | 3 | ||||
-rw-r--r-- | gtk/voip_calls_dlg.c | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gtk/voip_calls.h b/gtk/voip_calls.h index 6bbcbefe5e..ec8fdc3f14 100644 --- a/gtk/voip_calls.h +++ b/gtk/voip_calls.h @@ -104,6 +104,7 @@ typedef struct _h323_calls_info { gboolean is_h245Tunneling; gint32 q931_crv; gint32 q931_crv2; + guint requestSeqNum; } h323_calls_info_t; /* defines a voip call */ @@ -128,7 +129,7 @@ typedef struct _voip_calls_info { /* struct holding all information of the tap */ typedef struct _voip_calls_tapinfo { - int ncalls; /* number of calls in the list */ + int ncalls; /* number of call */ GList* strinfo_list; /* list with all calls */ int npackets; /* total number of packets of all calls */ voip_calls_info_t* filter_calls_fwd; /* used as filter in some tap modes */ diff --git a/gtk/voip_calls_dlg.c b/gtk/voip_calls_dlg.c index 0097e78d7a..af7de06fad 100644 --- a/gtk/voip_calls_dlg.c +++ b/gtk/voip_calls_dlg.c @@ -154,7 +154,7 @@ static void add_to_clist(voip_calls_info_t* strinfo) /* Update the status label with the number of total messages */ g_snprintf(label_text, 256, "Total: Calls: %d Start packets: %d Completed calls: %d Rejected calls: %d", - voip_calls_get_info()->ncalls, + g_list_length(voip_calls_get_info()->strinfo_list), voip_calls_get_info()->start_packets, voip_calls_get_info()->completed_calls, voip_calls_get_info()->rejected_calls); @@ -604,19 +604,20 @@ static void voip_calls_dlg_create (void) void voip_calls_dlg_update(GList *list) { gchar label_text[256]; - +guint foo; if (voip_calls_dlg != NULL) { gtk_clist_clear(GTK_CLIST(clist)); calls_nb = 0; calls_ns = 0; g_snprintf(label_text, 256, "Total: Calls: %d Start packets: %d Completed calls: %d Rejected calls: %d", - voip_calls_get_info()->ncalls, + g_list_length(voip_calls_get_info()->strinfo_list), voip_calls_get_info()->start_packets, voip_calls_get_info()->completed_calls, voip_calls_get_info()->rejected_calls); gtk_label_set(GTK_LABEL(status_label), label_text); + foo= g_list_length(list); list = g_list_first(list); while (list) { |