aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp_internal.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 09:37:17 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 22:51:59 +0200
commitb4b135efbf17f81a3faccb488ca35a5086adc618 (patch)
treeeed0e306eba0aaf23e26fe5ebfdbd381b14f6e8e /openbsc/include/openbsc/mgcp_internal.h
parentb4c7b274a1365e896affc1e1cb9a5075e3100e2a (diff)
[mgcp] Count incoming RTP packets from the BTS and remote
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r--openbsc/include/openbsc/mgcp_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index 7ce1732f9..3a2832436 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -57,6 +57,10 @@ struct mgcp_endpoint {
/* backpointer */
struct mgcp_config *cfg;
+
+ /* statistics */
+ unsigned int in_bts;
+ unsigned int in_remote;
};
#define ENDPOINT_NUMBER(endp) abs(endp - endp->cfg->endpoints)