#include <epan/stat_cmd_args.h>
#include <epan/dissectors/packet-bssap.h>
#include <epan/dissectors/packet-gsm_a_common.h>
-#include "register.h"
typedef struct _gsm_a_stat_t {
printf("Message (ID)Type Number\n");
i = 0;
- while (gsm_a_sacch_msg_rr_strings[i].strptr)
+ while (gsm_a_rr_short_pd_msg_strings[i].strptr)
{
- if (stat_p->sacch_rr_message_type[gsm_a_sacch_msg_rr_strings[i].value] > 0)
+ if (stat_p->sacch_rr_message_type[gsm_a_rr_short_pd_msg_strings[i].value] > 0)
{
printf("0x%02x %-50s%d\n",
- gsm_a_sacch_msg_rr_strings[i].value,
- gsm_a_sacch_msg_rr_strings[i].strptr,
- stat_p->sacch_rr_message_type[gsm_a_sacch_msg_rr_strings[i].value]);
+ gsm_a_rr_short_pd_msg_strings[i].value,
+ gsm_a_rr_short_pd_msg_strings[i].strptr,
+ stat_p->sacch_rr_message_type[gsm_a_rr_short_pd_msg_strings[i].value]);
}
i++;
memset(stat_p, 0, sizeof(gsm_a_stat_t));
err_p =
- register_tap_listener("gsm_a", stat_p, NULL,
+ register_tap_listener("gsm_a", stat_p, NULL, 0,
NULL,
gsm_a_stat_packet,
gsm_a_stat_draw);