aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-28 16:31:06 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-29 00:31:37 +0000
commit9067ee8f5a9d986efdc2fb7da9cd8f39017af129 (patch)
tree8a962e93c3904ef417ae8e5183e814d9d733fbf1 /asn1
parent0c156fec93e31a8d80653e0288925acf2275111e (diff)
Rename new_stat_tap_ui to stat_tap_table_ui.
A "new" statistics tap UI is a statistics tap UI where the statistics are maintained as tables and common code handles the tables; what matters is the tables, not that it's "new". Change-Id: I7a0e63cfac98c24cd5e7dce973b9a0cc5b6a03ba Reviewed-on: https://code.wireshark.org/review/12897 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'asn1')
-rw-r--r--asn1/ansi_map/packet-ansi_map-template.c6
-rw-r--r--asn1/camel/packet-camel-template.c6
-rw-r--r--asn1/gsm_map/packet-gsm_map-template.c6
-rw-r--r--asn1/h225/packet-h225-template.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/asn1/ansi_map/packet-ansi_map-template.c b/asn1/ansi_map/packet-ansi_map-template.c
index 5657372442..1c8bb8ceeb 100644
--- a/asn1/ansi_map/packet-ansi_map-template.c
+++ b/asn1/ansi_map/packet-ansi_map-template.c
@@ -4459,7 +4459,7 @@ static stat_tap_table_item stat_fields[] = {{TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "
{TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "Count", " %d "}, {TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "Total Bytes", " %d "},
{TABLE_ITEM_FLOAT, TAP_ALIGN_RIGHT, "Avg Bytes", " %8.2f "}};
-static void ansi_map_stat_init(new_stat_tap_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
+static void ansi_map_stat_init(stat_tap_table_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
{
int num_fields = sizeof(stat_fields)/sizeof(stat_tap_table_item);
stat_tap_table* table = new_stat_tap_init_table("ANSI MAP Operation Statistics", num_fields, 0, "ansi_map.op_code", gui_callback, gui_data);
@@ -5434,7 +5434,7 @@ void proto_register_ansi_map(void) {
};
/* TAP STAT INFO */
- static new_stat_tap_ui stat_table = {
+ static stat_tap_table_ui stat_table = {
REGISTER_STAT_GROUP_TELEPHONY_ANSI,
"Map Operation Statistics",
"ansi_map",
@@ -5490,7 +5490,7 @@ void proto_register_ansi_map(void) {
register_init_routine(&ansi_map_init);
register_cleanup_routine(&ansi_map_cleanup);
- register_new_stat_tap_ui(&stat_table);
+ register_stat_tap_table_ui(&stat_table);
}
/*
diff --git a/asn1/camel/packet-camel-template.c b/asn1/camel/packet-camel-template.c
index 532f6fd196..18409bc836 100644
--- a/asn1/camel/packet-camel-template.c
+++ b/asn1/camel/packet-camel-template.c
@@ -1220,7 +1220,7 @@ typedef enum
static stat_tap_table_item camel_stat_fields[] = {{TABLE_ITEM_STRING, TAP_ALIGN_LEFT, "Message Type or Reason", "%-25s"}, {TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "Count", "%d"}};
-static void camel_stat_init(new_stat_tap_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
+static void camel_stat_init(stat_tap_table_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
{
int num_fields = sizeof(camel_stat_fields)/sizeof(stat_tap_table_item);
stat_tap_table* table = new_stat_tap_init_table("CAMEL Message Counters", num_fields, 0, NULL, gui_callback, gui_data);
@@ -1532,7 +1532,7 @@ void proto_register_camel(void) {
{ PARAM_FILTER, "filter", "Filter", NULL, TRUE }
};
- static new_stat_tap_ui camel_stat_table = {
+ static stat_tap_table_ui camel_stat_table = {
REGISTER_STAT_GROUP_TELEPHONY_GSM,
"CAMEL Messages and Response Status",
PSNAME,
@@ -1604,7 +1604,7 @@ void proto_register_camel(void) {
camel_tap=register_tap(PSNAME);
register_srt_table(proto_camel, PSNAME, 1, camelstat_packet, camelstat_init, NULL);
- register_new_stat_tap_ui(&camel_stat_table);
+ register_stat_tap_table_ui(&camel_stat_table);
}
/*
diff --git a/asn1/gsm_map/packet-gsm_map-template.c b/asn1/gsm_map/packet-gsm_map-template.c
index cc715b6d75..40aa00a1d8 100644
--- a/asn1/gsm_map/packet-gsm_map-template.c
+++ b/asn1/gsm_map/packet-gsm_map-template.c
@@ -2485,7 +2485,7 @@ static stat_tap_table_item gsm_map_stat_fields[] = {
{TABLE_ITEM_FLOAT, TAP_ALIGN_RIGHT, "Avg Bytes", "%d"},
};
-static void gsm_map_stat_init(new_stat_tap_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
+static void gsm_map_stat_init(stat_tap_table_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
{
int num_fields = sizeof(gsm_map_stat_fields)/sizeof(stat_tap_table_item);
stat_tap_table* table;
@@ -3104,7 +3104,7 @@ void proto_register_gsm_map(void) {
{ PARAM_FILTER, "filter", "Filter", NULL, TRUE }
};
- static new_stat_tap_ui gsm_map_stat_table = {
+ static stat_tap_table_ui gsm_map_stat_table = {
REGISTER_STAT_GROUP_TELEPHONY_GSM,
"MAP Operation",
"gsm_map",
@@ -3163,7 +3163,7 @@ void proto_register_gsm_map(void) {
"When enabled, dissector will use the non 3GPP standard extensions from Ericsson (that can override the standard ones)",
&pref_ericsson_proprietary_ext);
- register_new_stat_tap_ui(&gsm_map_stat_table);
+ register_stat_tap_table_ui(&gsm_map_stat_table);
}
/*
diff --git a/asn1/h225/packet-h225-template.c b/asn1/h225/packet-h225-template.c
index 87b275dd59..7535663275 100644
--- a/asn1/h225/packet-h225-template.c
+++ b/asn1/h225/packet-h225-template.c
@@ -482,7 +482,7 @@ static guint facility_reason_idx[FACILITY_REASONS];
static guint other_idx;
-static void h225_stat_init(new_stat_tap_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
+static void h225_stat_init(stat_tap_table_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
{
int num_fields = sizeof(h225_stat_fields)/sizeof(stat_tap_table_item);
stat_tap_table* table = new_stat_tap_init_table("H.225 Messages and Message Reasons", num_fields, 0, NULL, gui_callback, gui_data);
@@ -861,7 +861,7 @@ void proto_register_h225(void) {
{ PARAM_FILTER, "filter", "Filter", NULL, TRUE }
};
- static new_stat_tap_ui h225_stat_table = {
+ static stat_tap_table_ui h225_stat_table = {
REGISTER_STAT_GROUP_TELEPHONY,
"H.225",
PFNAME,
@@ -924,7 +924,7 @@ void proto_register_h225(void) {
register_rtd_table(proto_h225_ras, PFNAME, NUM_RAS_STATS, 1, ras_message_category, h225rassrt_packet, NULL);
- register_new_stat_tap_ui(&h225_stat_table);
+ register_stat_tap_table_ui(&h225_stat_table);
oid_add_from_string("Version 1","0.0.8.2250.0.1");
oid_add_from_string("Version 2","0.0.8.2250.0.2");