commit | b4b135efbf17f81a3faccb488ca35a5086adc618 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Apr 07 09:37:17 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Apr 07 22:51:59 2010 +0200 |
tree | eed0e306eba0aaf23e26fe5ebfdbd381b14f6e8e | |
parent | b4c7b274a1365e896affc1e1cb9a5075e3100e2a [diff] [blame] |
[mgcp] Count incoming RTP packets from the BTS and remote
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index 7ce1732..3a28324 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -57,6 +57,10 @@ /* backpointer */ struct mgcp_config *cfg; + + /* statistics */ + unsigned int in_bts; + unsigned int in_remote; }; #define ENDPOINT_NUMBER(endp) abs(endp - endp->cfg->endpoints)