diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-03 19:41:42 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-03 19:41:42 +0800 |
commit | 463dc62ae47a803a2df331b1be6f5bc7988f71ba (patch) | |
tree | 5b95b7cd81c554703b17aa9f996d8b1500f93745 /openbsc/include | |
parent | 12eb9b7bd965f4e35da7ae7868fb9579fabc7a0f (diff) |
nat: Provide statistics about amount of different messages.
Provide simple statistics on how many LUs, Paging Responses
etc. we are seeing in the network.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 3abf231cf..bb1b2ac52 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -99,6 +99,10 @@ enum bsc_cfg_ctr { BCFG_CTR_REJECTED_CR, BCFG_CTR_REJECTED_MSG, BCFG_CTR_ILL_PACKET, + BCFG_CTR_CON_TYPE_LU, + BCFG_CTR_CON_CMSERV_RQ, + BCFG_CTR_CON_PAG_RESP, + BCFG_CTR_CON_OTHER, }; /** @@ -296,4 +300,6 @@ struct bsc_nat_acc_lst_entry *bsc_nat_acc_lst_entry_create(struct bsc_nat_acc_ls int bsc_nat_msc_is_connected(struct bsc_nat *nat); +int bsc_conn_type_to_ctr(struct sccp_connections *conn); + #endif |