aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
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 09:37:17 +0200
commitcb1937a4c53c723c8757117d074c3be29936b872 (patch)
treece1683ce5cb18312b2dc55a56849b6c362a27657 /openbsc/include
parent3cfd5d6a022da3e33cec282bed1a3b653743e488 (diff)
[mgcp] Count incoming RTP packets from the BTS and remote
Diffstat (limited to 'openbsc/include')
-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)